@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: "poppins";
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.item{
    width: 100%;
    height: 550px;
    max-width: 820px;
    background: #000;
    border-radius: 12px;
    box-shadow: 20px 20px 20px 20px rgba(0,0,0,.4);
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    z-index: 1000;
    border: 0.5px solid #fff;
}
.contact{
    background: #000;
    border: 0.5px solid #fff;
}
.submit-form{
    background: #8f50ec;
}
.first-text{
    color: #fff;
    padding-left: 45px;
    padding-top: 7px;
    font-size: 30px;
    color: #fff;
    font-weight: 600;
}
.first-text i:hover{
    background: #fff;
    color: #8f50ec;
}
.image{
    height: 400px;
    width: 406px;
}
.social-media{
    display: flex;
    list-style: none;
    margin-left: 117px;
}
 ul li{
    padding-left: 15px;
    font-size: 24px;
    margin-top: 10px;
}
 i{
    background: #8f50ec;
    padding: 5px;
    border-radius: 5px;
    transition: .3s;
    color: #fff;
}
.social-media i:hover{
    background: #fff;
    color: #8f50ec;
}
.social-media a{
    text-decoration: none;
}
.second-text{
    font-size: 15px;
    font-weight: 600;
    padding-left: 140px;
    color: #fff;
}
.third-text{
    font-size: 25px;
    position: relative;
    top: 20px;
    left: 20px;
    padding-top: 10px;
    padding-left: 80px;
    text-decoration: underline;
    text-transform: uppercase;
    color: #fff;
}
form{
    padding: 0 50px;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.input-box{
    height: 40px;
    width: 70%;
    margin: 30px 0;
    position: relative;
}
.input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 20px;
    outline: none;
    padding-left: 10px;
    color: #fff;
    font-size: 16px;
}
.input-box label{
    position: absolute;
    top: 50%;
    left: 10px;
    padding-left: 10px;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    transition: .3s;
}
.input-box .input:focus ~ label,
.input-box .input:valid ~ label{
    top: -1px;
    left: 10px;
    background: #fff;
    font-weight: 500;
    font-size: 12px;
    padding: 5px;
}
textarea.input{
    resize: none;
    min-height: 150px;
    overflow: auto;
}
.btn{
    position: relative;
    top: 100px;
    background: #fff;
    outline: none;
    border: none;
    border-radius: 4px;
    height: 45px;
    width: 30%;
    font-size: 16px;
    color: #8f50ec;
    cursor: pointer;
    font-weight: 500;
}
.btn:hover{
    background: #8f50ec;
    color: #fff;
}
@media(max-width:768px){
    .item{
        grid-template-columns: 1fr;
    }
    .contact{
        display: none;
    }
    .text{
        font-size: 40px;
        text-align: center;
    }
    .third-text{
        font-size: 30px;
        margin-left: 110px;
    }
    .btn{
        width: 25%;
        height: 40px;
        font-size: 12px;
    }
}
@media(max-width:425px){
    .item{
        grid-template-columns: 1fr;
    }
    .contact{
        display: none;
    }
    .text{
        font-size: 20px;
        text-align: center;
    }
    .third-text{
        font-size: 18px;
        margin-left: 40px;
    }
    .btn{
        width: 20%;
        height: 40px;
        font-size: 12px;
    }
}
@media(max-width:375px){
    .item{
        grid-template-columns: 1fr;
    }
    .contact{
        display: none;
    }
    .text{
        font-size: 20px;
        text-align: center;
    }
    .third-text{
        font-size: 18px;
        margin-left: 10px;
    }
    .btn{
        width: 20%;
        height: 40px;
        font-size: 12px;
    }
}