/* ================= APP ================= */

main {
    padding: 60px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: url('../assets/images/country-location-bg.png'), var(--color-yellow);
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--color-dark);
}

/* ================ LOGO SECTION ================ */

#logo-image {
    width: 200px;
    height: auto;
}

/* ================ STORE SELECTION SECTION ================ */

#country-selection-section {
    text-align: center;
    margin: 5vw 0px;
}

#country-selection-title {
    font-family: var(--font-title);
    font-size: clamp(1rem, 5vw, 4rem);
    margin-bottom: 5vw;
}

form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#country-selection {
    border: none;
    outline: none;
    width: 40%;
    padding: 24px 32px;
    border-radius: 24px;
    font-family: var(--font-main-medium);
    font-size: var(--font-size-lg);
    color: var(--color-dark);

    appearance: none;
    background-image: url("../assets/icons/arrow.png");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 24px;
}

.country-list {
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-list span {
    font-size: 2rem;
}

.country-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-main-bold);
    font-size: var(--font-size-lg);
    color: var(--color-dark);
}



.country-flag#SN-flag {
    transform: translateY(-30px);
}


#CI-label {
    transform: translateY(-50px);
}
#SN-label {
    transform: translateY(30px);
}


#proceed-button {
    background-color: var(--color-dark);
    color: var(--color-white);
    border: none;
    outline: none;
    padding: 24px 32px;
    border-radius: 24px;
    font-family: var(--font-main-medium);
    font-size: var(--font-size-lg);
    cursor: pointer;
    margin-left: 24px;
}

#proceed-button:hover {
    background-color: #505050;
}

/* ================ ILLUSTRATION SECTION ================ */

#illustration-section {
    text-align: right;
}

#kebab-illustration {
    width: 30vw;
}

@media (max-width: 768px) {

    main {
        gap: 20px;
        padding: 16px;
    }
    #logo-image {
        display: block;
        width: 250px;
        height: auto;
        margin: auto;
    }

    .country-list {
        flex-direction: column;
        max-height: none;
    }

    .country-flag {
        width: 140px;
        margin: 16px 0px;
    }

    .country-list span {
        font-size: 1.2em;
    }

    .country-flag#SN-flag {
        transform: translateY(0px);
    }

    #CI-label {
        transform: translateY(-30px);
    }
    #SN-label {
        transform: translateY(30px);
    }


}