

body {
    background: #fff;
}


.contact {
    margin-left: -1vw;
    margin-right: -1vw;
}
.contact_aside h2 {
    font-size: 30px;
    line-height: 1.3;
    position: relative;
    background: linear-gradient(to right,#ff0,#ff0 70%);
    text-transform: uppercase;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;}   

.contact_container {
    background: url("./pool101.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: show;
    height: auto;
    padding: 4rem;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    height: 50rem;
    margin: 7rem auto;
    border-radius: 1rem;
    
}
.contact_aside {
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
    bottom: 10rem;
    background: rgba(0,0,0, 0.3);
    margin-top: 1rem;
  
}
.aside_image {
    width: 12rem;
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center;
    text-align: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
   

}
.contact_aside h2 {
    text-align: left;
    margin-bottom: 2rem;
    font-family: 'Rancho', cursive;
    font-size: 40px;

}
.contact_aside p {
    
    position: relative;
    background: linear-gradient(to right, #ff0,#f00 50%);
    text-transform: uppercase;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Rancho', cursive;
    font-size: 25px;
    
}


.contact_details li  {
    display: grid;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;

}
.contact_aside h5 {
    color: #fff;
    font-size: 17px;
}




.contact_socials {
    display: flex;
    gap: 0.8rem;
    margin-top: 3rem;
}
.contact_socials a {
    color: red;
    background: #fff;
    border-radius: 50%;;
    font-size: 1rem;
    transition: var(--transistion);
   
}
.contact_socials a:hover {
    background: transparent;
}

/*           Contact Form         */
.contact_form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 4rem;
}

.form_name {
    display: flex;
    gap: 1.2rem;
}
input,select {
    height: 50px;
    text-align: center;
}
.contact_form input[type="text"] {
    width: 50%;
}
input,textarea {
    width:100%;
    padding: 1rem;

}
.contact_form .btn {
    width: max-content;
    margin-top: 1rem;
    cursor: pointer;
}

.map {
    width: 100vw;
}
.map iframe {
    width: 100vw;
}
/*     MEDIA Queries for Tablets*/

@media screen and (max-width: 1024px) {
    .contact {
        padding: 0;
    }
    .contact_container {
        gap: 1.5rem;
        margin-top: 8rem;
        height: auto;
        padding: 1.5rem;
        background-size: cover;
    }
    .contact_aside {
        width: auto;
        padding: 1.5rem;
        margin-top: 6rem;

    }
    .contact_form {
        align-self: center;
        margin-right: 1.5rem;
    }
}

/*     MEDIA Queries for Phones*/

@media screen and (max-width: 700px) {
    .contact_container {
        grid-template-columns: 1fr;
        gap:2rem;
        margin-top: 170px;
        padding: 0;
        background-size: cover;
        background-position: bottom ;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: fill;
    }
  
    .contact_form {
        margin: 0 1.5rem 3rem;
    }
    .form_name {
        flex-direction: column;
    }
    .form_name input[type="text"] {
        width: 100%;
    }
}
