*{
    font-family: poppins;
}
body{
    margin: 0;
    padding: 0;
    background-image: linear-gradient(to right, violet, rgb(144, 74, 255));
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}
.main{
    height: 80vh;
    width: 65vw;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 20px 20px 100px black;
    transition: 0.5s;
    background-color: black;
}
.main:hover{
    box-shadow: 10px 10px 20px black;
    border-radius: 50px;
    transition: 0.5s;
}
.one{
    height: 80vh;
    width: 35vw;
    background-color: rgb(57, 166, 255);
    box-sizing: border-box;
    padding: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    text-align: center;
}
.two{
    height: 80vh;
    width: 35vw;
    box-sizing: border-box;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 2vh;
}
input{
    height: 2.5vh;
    width: 20vw;
    padding: 15px;
    background-color: rgb(223, 223, 223);
    border: none;
    cursor: pointer;
    transition: 0.5s;
}
input:hover{
    transition: 0.5s;
    border-radius: 50px;
    background-color: bisque;
    border:1px solid black;
    font-size: 20px;
}
input:focus{
    transition: 0.5s;
    border-radius: 50px;
    background-color: bisque;
    border:1px solid black;
    font-size: 20px;
}
input:active{
    transition: 0.1s;
    transform: scale(0.9);
}
button{
    color: white;
    background-color: rgb(57, 166, 255);
    height: 5vh;
    width: 10vw;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.5s;
}
button:hover{
    background-color: rgb(170, 51, 255);
    border-radius: 50px;
    color: black;
    font-size: 20px;
    transform: scale(1.1);
}
button:active{
    background-color: rgb(221, 174, 255);
    transform: scale(0.8);
    transition: 0.1s;
}
.head1, .head2{
    color: white;
    font-size: 20px;
    font-family:poppins;
    font-weight: 300;
}
/* @media (max-width: 900px) {
    .head1{
        color: black;
    }
    .main{}

} */




@media (max-width: 500px) {
    .main {
      flex-direction: column; 
      height: 100vh;
      width: 100vw;
      background-color: black;
    }

    .one, .two {
      width: 100vw;
      height: 50vh;
    }

    .two{
        overflow-y: auto;
        padding: 20px;
    }
  
    input, textarea, button {
      width: 80vw;
    }
  
    h1 {
      font-size: 30px;
    }
  
    p {
      font-size: 16px;
    }

    button{
        width: 30vw;
        height: 30px;
      }
      .head1, .head2{
        color: white;
        font-size: 10px;
        font-family:poppins;
        font-weight: 300;
    }
  }
