main{
    width: 90%;
    min-height: 100vh;
    display: flex;
    margin: 0 auto;
    padding-bottom: 10rem;
}
.locations_container{
    width: 30%;
    height: 100%;
    padding: 2rem;

}
.locations_container h1{
     font-size: 4rem;
 }
.locations_container form input{
    width: 100%;
    height: 5vh;
    font-size: 1.3rem;
    padding-left: 1vw;
    margin-bottom: 1rem;
}
.locations{
    height: 100%;
    width: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.location{
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    transition: all 0.3s ease;
    background: #FAF7F3;
}
.location a{
    color: var(--main-black);
    text-decoration: none;
    position: relative;
}
.location a:hover::after {
    transform:translateY(-25%) translateX(25%);
}

.location a:after{
    content: "";
    position: absolute;
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-left: 10px solid var(--main-black);
    transform:  translateY(-25%);
    transition: all 0.3s ease;
    right: -15px;
    top: 50%;

}

.location:hover{}
.location.active{
    background-color: var(--main-red);
    color: var(--main-white);
}
.location.active a{
    color: var(--main-white);
    pointer-events: none;
}
.location.active a:after{
    color: var(--main-white);
    border-left: 10px solid var(--main-white);
}
.map{
    width: 70%;
   
}
.map iframe{
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 1300px) {
    main {
        flex-direction: column;
    }
    .locations_container {
        width: 100%;


    }
    .locations{
        display: flex;
        flex-direction: row;
    }
    .location{
        width: 50%;
        min-height: 50px;
        height: auto;
    }
    .map {
        width: 100%;
        height: 50vh;
    }
}