@font-face {
    font-family: 'Pixeled';
    src: url('../src/fonts/Minecraft.ttf');
}

#contact .top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

#contact .red {
    position: absolute;
    top: 0;
    z-index: -2;
}

#contact .top h2 {
    color: #FFF;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
    font-family: "Crimson Text", serif;
    font-size: 6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}

#contact .contact-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#contact .contact-top .map {
    width: 70%;
}

#contact .contact-top img {
    width: 100%;
}

#contact .contact-top h4 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#location {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

#location .bus,
#location .details {
    width: 50%;
    justify-content: center;
    align-items: center;
    display: flex;
}

#location .bus {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#location .bus .img-container {
    width: 70%;
}

#location .bus h4 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#location .bus img {
    width: 100%;
}

#location .details {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem;
    background: #FFF8D2;
}

#location .details .items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#location .details .item {
    /*display: flex;*/
    /*justify-content: flex-start;*/
    /*gap: 4rem;*/
    /*width: 100%;*/
    /*align-items: center;*/
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* gap: 4rem; */
    width: 100%;
    align-items: center;

}

#location .details .item-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*width: 30%;*/
    
}

#location .details .icon {
    font-size: 2.5rem;
    color: #000745;
}

#location .details .item-left h4 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#location .details .item-right p {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}



#contact .contact-container {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
    position: relative;
}



#contact .contact {
    position: relative;
    margin: 8rem 0;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 68%;
    height: 650px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

#contact .contact-box {
    width: 100%;
    height: 100%;
    background-color: #fff;

}

#contact .box1 .sent_msg {
    padding: 4rem 2rem;
}

#contact .box1 .sent_msg input {
    margin: 2rem 0;
}

#contact .sent_msg .contact-details {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
}

#contact .bottom-border-input {
    border: none;
    border-bottom: 3px solid #D9D9D9;
    width: 100%;
    padding: 4px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    outline: none;
}

.bottom-border-input::placeholder {
    color: #575454;
    font-family: 'Poppins' sans-serif;
    font-size: 14px;
    font-weight: 600;

}

#contact .box1 .box1-bottom {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

#con-sub {
    height: 50px;
    width: 100px;
    border: none;
    border-radius: 6.67px;
    background: #333333;
    color: #FFF;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;


}

#contact .box1 .box1-bottom img {
    width: 60%;
}

#contact .box1 h5 {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 3rem 1.5rem;
}

#contact .box2 h5 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 3rem 0;
}


#contact .box2 {
    background-image: url('../src/img/phone.webp');
    background-position: center;
}

#contact .box2 .box-top {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 1.7rem;
}

#contact .box-top img {
    width: 30%;
    height: auto;
    padding: 2rem;

}

#contact .box2 .info-container {
    display: flex;
    height: 80%;
    justify-content: center;
    align-items: center;
}

#contact .box2 .info-container p {
    color: #FFF;
    font-family: 'Poppins',sans-serif;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}


@media only screen and (max-width: 900px){
    #contact .red{
        height: 60%;
    }
    #location{
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 3vw;
    }
    #location .bus{
        text-align: center;
    }
    #location .bus , #location .details{
        width: 100%;
    }
    #location .bus h4{
        font-size: 5vw;
    }
    #location .bus .img-container{
        width: 40%;
    }
    #location .details{
        padding: 0;
    }
    #location .details .items{
        width: 100%;
        padding: 2rem 0;
    }
    #location .details .item{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1.7rem;
    }
    #location .details .item-left{
        width: 100%;
    }
    #location .details .item-right p{
        display: flex;
        flex-direction: column;
        margin: 0;
        font-size: 1rem;
    }
    #location .details .item-right span{
        font-size: 0.8rem;
    }
    #location .details .item-right{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    #contact .contact-container{
        padding: 2rem 0;
    }
    #contact .contact{
        margin: 0;
        flex-direction: column;
    }
    #contact .box1 h5{
        padding: 0 2rem;
        margin: 0;
    }
    #contact .contact{
        width: 90%;
    }
    #contact .box1 .sent_msg {
        padding: 1rem 2rem;
    }
    #contact .box1 .sent_msg input {
        margin: 0.5rem 0;
    }
    #contact .box1 .sent_msg input::placeholder{
        font-size: 0.7rem;
    }
    #contact .box1 .box1-bottom {
        margin: 1rem 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    #contact .box1 .box1-bottom button{
        width: 4rem;
        height: 2.2rem;
        font-size: 0.8rem;
    }
    #contact .contact-box{
        height: 80%;
        background-size: cover;
    }
    #contact .top{
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
    #con-sub {
    height: 35px;
    width: 80px;
    border: none;
    border-radius: 6.67px;
    background: #333333;
    color: #FFF;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    }
    #contact .top h2{
        font-size: 10vw;
        margin: 0;
    }
    #contact .contact-top{
        text-align: center;
        gap: 1rem;
    }
    #contact .contact-top h4{
        font-size: 3vw;
    }
}