.contact_form{
    display: none;
    grid-template-columns: 98vw;
    grid-template-rows: 1fr;
    align-items: center;
    justify-items: center;
    position: absolute;
    z-index: 51;
    transition: 0.25s ease-in-out;
}

.contact_form img{
    width: 24px;
    height: auto;
}

.contact_form p{
    display: flex;
    gap: 1rem;
    align-items: center;
}
form{
    display: grid;
    font-size: 14px;
    top:-30px;
    position: fixed;
    margin-top: 3rem;
    grid-column: 1/-1;
    grid-row: 1/-1;
    border: 1px solid rgb(61, 61, 61);
    max-width: 550px;
    width: 90%;
    background: rgba(0, 0, 0, 0.192);
    backdrop-filter: blur(50px);
    padding: 30px;
    box-sizing: border-box;
    border-radius: 5px;
    justify-items: center;
}

form img{
    border-radius: 1rem;
    display: grid;
    justify-self: center;
}

form a , form p{
    font-size: 14px;
}


.contact-title{
    color: rgb(207, 207, 207);
    text-align: center;
    
}

label{
    display: block;
    margin-top: 20px ;
    color: beige;
}

input,textarea{
    margin-top: 5px;
    color: rgb(201, 201, 201);
    width: 100%;
    padding: 10px;
    resize: none;
    border: none;
    outline: none;
    background-color: transparent;
    border-bottom: 1px solid #777777;
}
/* input::placeholder{
    color: red;
} */

input[type="text"]:focus , textarea:focus {
    border-bottom:  1px solid rgb(0, 153, 255);
}

textarea::-webkit-scrollbar{
    width: 5px;
}
.centre{
    display: grid;
    grid-template-rows: 35px;
    grid-template-columns: 8rem 8rem;
    grid-column-gap: 0rem;
    align-content: center;
    align-items: center;
    justify-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
}
input[class="back"]{
    color: rgb(173, 173, 173);
    font-weight: 700;
    cursor: pointer;
    width: 90%;
    max-width: 100px;
  
    border: 1px solid rgba(255, 255, 255, 0.575);
    
    background-size: 200%;
    transition: 0.1s ease-in-out;
    border-radius: 5px ;
    text-align: center;
    
}

input[class="back"]:hover{
    color: rgb(247, 104, 104);
    border: 1.5px solid rgb(255, 109, 109);
}
input[type="submit"] {
    cursor: pointer;
    font-weight: 700;
    width: 90%;
    max-width: 100px;
    color: rgb(36, 36, 36);
    border: none;
    background: linear-gradient(0deg,#276095,#5acaec) ;
    background-size: 200%;
    transition: 0.25s ease-in-out;
    border-radius: 5px ;
}
input[type="submit"]:hover{
    background-position: 10px  35px;
    
}

.close-contact {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    transition: color 0.2s ease;
  }
  .close-contact:hover {
    color: #ffffff;
  }

@media screen and (max-width:425px){
    form a , form p{
        font-size: 10px!important;
    }
}
@media screen and (max-width:768px){
    .boxes svg {
        transform: scale(1.8) translateY(-50px);
    }
}

