@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url(images/bg1.jpg);
    background-size: cover;
    
    height: 100vh;
    width: 100vw;

    display: flex;
    justify-content: center;
    align-items: center;
}

p, input, label {
    font-family: 'Baloo Da 2', cursive;
}

p {
    line-height: 1.25rem;
}

.contact {
    /* margin: auto; */
    padding: 1rem;

    background-color: rgb(240, 240, 240, .25);
    backdrop-filter: blur(5px);
    border-radius: .5rem;

    width: 50%;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact__header {
    margin-bottom: .25rem;
}

.contact__text {
    padding: 2rem;
}

.contact__inputs {
    height: 350px;

    padding: 2rem;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-field {
    position: relative;
    width: 100%;
    height: 44px;
    line-height: 44px;

    display: flex;
    flex-direction: column;
}

label {
    width: 100%;
    padding-left: .2rem;
    padding-bottom: .1rem;
    
    position: absolute;
    top: -5px;
    left: 0;
    
    transition: 0.2s all;
    cursor: text;
}

input {
    width: 100%;
    margin-bottom: .5rem;

    border-radius: .25rem;
    border: none;
    padding: .25rem;
}

input:invalid {
    outline: 0;
    color: #ff2300;
    border-color: #ff2300;
  }

  input:focus,
  input:valid {
    border-color: #ff33009e;
  }
  input:focus~label,
  input:valid~label {
    font-weight: bold;
    top: -32px;
    color: #282828;
  }

#comment {
    /* height: 150px; */

    margin-bottom: 1rem;
}

#button {
    margin: 0 auto;
    background-color: rgb(167, 199, 231, .7);
   
    width: 100%;
    height: 44px;

    cursor: pointer;
}

#button:hover {
    background-color: rgb(167, 199, 231);
}

.thanks {
    width: 300px;
    height: 300px;

    background-color: rgb(240, 240, 240, .25);
    backdrop-filter: blur(5px);
    border-radius: .5rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
