.main {
    padding: 20vh 0;
    display: flex;
    justify-content: space-around;
    height: 60vh;
    /* height: 90%; */
}

#separator {
    height: 100%;
    width: 1px;
    background-color: #FFAEAA;
}

.recap, .loginOrComment {
    width: 49%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    font-family: 'Abril Fatface';
    font-size: 3vw;
    font-weight: 400;
    margin: 1rem 0 1rem 0;
}

.loginOrComment a {
    text-decoration: none;
}

.recapData {
    position: relative;
    margin: 1.5vh 0;
    height: 8vh;
    width: 25vw;
    padding-left: 1vw;
    background: #FDF4EB;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 2;
    border: 1.5px solid #000;
}

.recapData::before {
    content: '';
    position: absolute;
    right: 0px; 
    top: 50%;
    width: 1vw;
    height: 1vw;
    z-index: 20;
    background: inherit;
    border-left: 1.5px solid #000;
    border-bottom: 1.5px solid #000;
    transform: translate(50%, -50%) rotate(45deg);
}

.recapData p, .recapData a {
    margin: 0;
    color: black;
}

.servName {
    font-size: 2.2vh;
    font-weight: 700;
}

.priceAndDur {
    font-size: 1.8vh;
    font-weight: 600;
}

.loginBtn {
    font-size: 2.8vh;
    font-weight: 200;
}

h3 {
    color: #FFAEAA;
    margin-top: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

textarea {
    width: 30vw;
    height: 25vh;
    resize: none;
    outline: none;
    font-family: 'Raleway';
    padding: 7px;
    text-decoration: none;
}

.submit-button {
    padding: 1.2vh 3.5vw 1.2vh 3.5vw;
    margin-top: 5vh;
    color: white;
    font-family: 'Raleway';
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    background-color: #A3CCCE;
    outline: none;
    border: none;
    cursor: pointer;
}

.care {
    margin-top: 3vh;
}

/* .loginRecap::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: calc(100% - 2px);
    margin: 1px;
    background: #A3CCCE;
    transition: all 0.3s ease-in-out;
    z-index: 1;
    height: 8vh;
    display: flex;
    align-items: center;
}

.loginRecap:hover::after {
    width: calc(100% - 2px);
} */

#geocoder {
    width: 90% !important;
    height: 5vh;
    margin-bottom: 2vh;
}

.mapboxgl-ctrl-geocoder {
    max-width: none !important;
    width: 100% !important;
    height: 5vh;
}

.popup-content input {
    height: 5vh;
    width: 100% !important;
    font-family: 'Raleway';
}

.mapboxgl-ctrl-geocoder--icon {
    display: none !important;
}

#cross {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.popup-content button {
    margin: 5px;
}

#error {
    color: red;
    font-size: 1vw;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .main {
        flex-direction: column;
        align-items: center;
        gap: 3vh;
        height: auto;
        padding: 7rem 0 3rem 0;
    }

    h2 {
        font-size: 2.5rem;
    }

    .recap, .loginOrComment {
        width: 80%;
    }

    .care, .date {
        width: 100%;
    }

    .recapData {
        width: calc(100% - 1vw);
    }

    form {
        width: 100%;
    }

    textarea {
        width: 100%;
    }
}