/* =================================
   INDEX PAGE RESPONSIVE STYLES
   ================================= */

@media (max-width: 1200px) {
    .container {
        height: 550px;
    }
    
    .searchBox {
        width: 350px;
    }
    
    .container {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .form img {
        left: 15px;
    }

    nav {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    nav ul li {
        width: auto;
        padding: 10px 15px;
        font-size: 14px;
    }

    .namelist {
        width: auto;
    }

    .namelist2 {
        width: auto;
    }

    .form {
        margin: 0 auto;
    }

    .searchBox {
        width: 300px;
        margin: 5px auto;
        font-size: 16px;
    }

    .searchButton {
        position: static;
        width: 80px;
        margin: 5px auto;
    }

    #theme {
        margin: 10px auto;
    }

    .containers {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .container {
        height: 500px;
        margin: 20px auto;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    nav ul li {
        font-size: 12px;
        padding: 8px 10px;
    }

    .searchBox {
        width: 250px;
        font-size: 14px;
        height: 40px;
    }

    .searchButton {
        width: 70px;
        height: 40px;
        font-size: 14px;
    }

    .searchButton p {
        font-size: 12px;
    }

    #theme {
        width: 120px;
        height: 30px;
        font-size: 12px;
    }

    .container {
        height: 450px;
        font-size: 1.2rem;
    }

    .template-text {
        width: 180px;
        height: 35px;
        font-size: 12px;
    }

    .info {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        padding: 5px;
    }

    .searchBox {
        width: 200px;
        font-size: 12px;
        height: 35px;
        padding-left: 40px;
    }

    .form img {
        left: 7px;
        top: 12px;
        width: 25px;
        height: 25px;
    }

    .searchButton {
        width: 60px;
        height: 35px;
        font-size: 12px;
    }

    .searchButton p {
        font-size: 10px;
    }

    #theme {
        width: 100px;
        height: 25px;
        font-size: 10px;
    }

    .container {
        height: 400px;
        margin: 10px auto;
        font-size: 1rem;
    }

    .template-text {
        width: 150px;
        height: 30px;
        font-size: 10px;
        padding-top: 8px;
    }

    .info {
        font-size: 10px;
    }

    .country-details {
        font-size: 12px;
    }
}

/* =================================
   ABOUT PAGE RESPONSIVE STYLES
   ================================= */

@media (max-width: 992px) {
    .about-section {
        margin: 20px auto;
        padding: 30px;
        max-width: 90%;
    }

    .about-section h2 {
        font-size: 20px;
    }

    .about-section h3 {
        font-size: 16px;
    }

    .about-section p {
        font-size: 14px;
    }
    
    .about-section {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 20px;
        margin: 15px auto;
    }

    .about-section h2 {
        font-size: 18px;
    }

    .about-section h3 {
        font-size: 14px;
    }

    .about-section p {
        font-size: 12px;
        line-height: 30px;
    }

    .about-section {
        line-height: 30px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 15px;
        margin: 10px auto;
        border-radius: 15px;
    }

    .about-section h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .about-section h3 {
        font-size: 12px;
        margin-top: 15px;
    }

    .about-section p {
        font-size: 11px;
        line-height: 25px;
        margin-top: 15px;
    }

    .about-section ul {
        margin-left: 15px;
    }

    .about-section {
        line-height: 25px;
        font-size: 1rem;
    }
}

/* =================================
   FEEDBACK PAGE RESPONSIVE STYLES
   ================================= */

@media (max-width: 992px) {
    textarea {
        width: 70%;
        margin-left: 15%;
        font-size: 16px;
    }

    .submit {
        width: 10%;
        margin-left: 45%;
    }
    
    .container {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    textarea {
        width: 80%;
        margin-left: 10%;
        font-size: 14px;
        height: 150px;
    }

    .submit {
        width: 12%;
        height: 40px;
        margin-left: 44%;
        font-size: 14px;
    }

    .container h1 {
        font-size: 18px;
    }
    
    .container {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    textarea {
        width: 90%;
        margin-left: 5%;
        font-size: 12px;
        height: 120px;
        padding: 8px;
    }

    .submit {
        width: 20%;
        height: 40px;
        margin-left: 40%;
        font-size: 12px;
    }

    .container h1 {
        font-size: 16px;
        margin: 15px 0;
    }
    
    .container {
        font-size: 1rem;
    }
}
