* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/*img {
    display: block;
    max-width: 100%;
}

body {
    min-height: 100vh;
    position: relative;
}
*/

.spa-info-popup {
    font-size: 30px;
    color: #000;
    font-family: ClarinsRegular, Clarins, 'Microsoft Jhenghei';
}

.overlay {
    position: fixed;
    inset: 0;
    background: hsla(240, 0%, 0%, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    visibility: hidden;
    opacity: 0;
    transition: all 500ms ease;
}

.modal {
    width: 600px;
    max-width: 100%;
    min-height: 300px;
    background: white;
    color: hsl(44, 0%, 40%);
    padding: 2rem;
    display: flex;
    align-items: center;
    position: relative;
    transform: translateY(-100px);
    transition: 350ms ease;
}




.modalContent {

    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.modalContent img {
    width: 40%;
    min-width: 200px;
}

.modalInfo {
    width: 100%;
    padding: 0 0 0 2rem;
}

.modalInfo h3 {
    font-size: 2rem;
    line-height: 100%;
    color: hsl(44, 0%, 26%);
    text-transform: uppercase;
    margin-bottom: 0.83rem;
}

.form {
    margin-top: 1rem;
    display: flex;
}

input {
    padding: 0.8rem 0.8rem;
    border: none;
    background: hsl(33, 0%, 95%);
    color: hsl(33, 0%, 55%)
}

input:focus,
input:focus+button {
    outline: 2px solid rgb(108, 99, 255);
    ;
}

button {
    border: none;
    padding: 0.5rem 1rem;
    background: rgb(108, 99, 255);
    color: white;
}

#close {
    position: absolute;
    top: 0rem;
    right: 1rem;
    font-size: 25px;
}


#close:hover {
    cursor: pointer;
}

h1 {
    color: white;
}


@media screen and (max-width:600px) {
    .modalContent {
        flex-direction: columne;
        align-items: center;
        justify-content: center;
    }

    .modalContent img {
        width: 50%;
        margin-bottom: 1rem;
    }

    .modalInfo {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0;
    }

    .form {
        justify-content: center;
    }
}

/*RESPONSIVE*/
@media (max-width: 480px) {
    .spa-info-popup {
        font-size: 20px;
        color: #000;
        font-family: ClarinsRegular, Clarins, 'Microsoft Jhenghei';
    }
}