/*
 - Multimedia Project 1
 - Degree Program: MultiMediaTechnology / Salzburg University of Applied Sciences
 - Author: Kimberly Ledesma
 - Year: 2026
 */
 
.scroll-container {
    border: 45px solid transparent;
    border-image-source: url(../images/paper.png);
    border-image-slice: 25% fill;
    border-image-repeat: stretch;
    padding: 20px;
    box-sizing: border-box;
    color: #2b1d0e;
    width: 80vw;
    max-width: 800px;
    min-width: 280px;
    margin: 0 auto;
}

.scroll-container h2 {
    font-size: 1.6rem;
    text-align: center;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.4);
}

.scroll-container h3 {
    font-size: 1.2rem;
}

.scroll-form {
    display: flex;
    flex-direction: column;
    gap: .05rem;
}

.scroll-form label {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    font-weight: bold;
}

.scroll-form input {
    padding: 0.4rem;
    border: 2px solid #5a3b1e;
    background-color: rgba(255, 248, 230, 0.7);
    color: #2b1d0e;
    outline: none;
    border-radius: 8px;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.scroll-form button {
    background-color: #7a4e2a;
    width: auto;
    min-width: 120px;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-family: 'Marko One';
    font-size: 1rem;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.1s ease, background 0.2s ease;
}

.scroll-form button:hover {
    background-color: #8b5a2b;
    transform: translateY(-2px);
}

.cancel-btn {
    padding: 8px 14px;
    font-family: 'Marko One';
    color: #fff;
    transition: transform 0.1s ease, background 0.2s ease;
}

.cancel-btn:hover {
    color: #5a3b1e;
    transform: translateY(-2px);
}

@media (max-width: 768px){
    .scroll-container {
        border-image-slice: 25% fill;
    }

    .scroll-form button {
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .scroll-container {
        border-image-slice: 30% fill;
    }

    .scroll-form button {
        padding: 4px 8px;
        font-size: 0.95rem;
    }

    .scroll-container h2 {
        font-size: 1.4rem;
    }

    .scroll-container label {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .scroll-form button {
        padding: 4px 10px;
        font-size: 0.9rem;
    }

    .scroll-container h2 {
        font-size: 1.1rem;
    }

    .scroll-container h3 {
        font-size: 1rem;
    }

    .scroll-container label {
        font-size: 0.95rem;
    }

    .scroll-container {
        border-image-slice: 35% fill;
    }
    
    .button-row {
        gap: 5px;
    }
}