@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;800&display=swap');

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  padding-top: 100px;
  background-color: #ebebeb;
  &::-webkit-scrollbar{
    height: 10px; 
    width: 10px;
}
&::-webkit-scrollbar-thumb{
    background-color: #7f7f80
}
}

.contaier_main {
    display: flex;
    flex-direction: row;
    position: relative;
    margin: auto;
    width: 90%;
    height: 85vh;
    margin: 40px auto;
    border-radius: 20px;
}
.back_animation {
    width: 49.25%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(255, 255, 47), #b39614);
    position: absolute;
}

.container_animation {
    background: #2e2e2e;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 10;

    & .logo_contact {
        right: 25%;
        top: 30%;
        position: absolute;
        z-index: 11;

        & .logo_img {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            & img {
                object-fit: scale-down;
                width: auto;
                height: 150px;
            }
        }

        & h2, h3, h4 {
            color: #dadada;
            text-align: center;
        }
        & h2 {
            letter-spacing: 10px;
            font-size: 60px;
        }
        & h3 {
            font-size: 40px;
        }
         & h4 {
            font-size: 30px;
         }
    }

    & > img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        filter: blur(3px);
        z-index: -1;
    }

     &::before {
        z-index: 10;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #2e2e2ecc;
     }
}

.container_form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fefefe;
    width: 100%;
    padding: 10px 20px;

    & label {
        margin-top: 45px;
        margin-bottom: 5px;
        margin-left: 60px;
        font-size: 14px;
    }

    & input {
        height: 35px;
        border: none;
        border-bottom: 1px gray solid;
        padding: 5px;
        width: 80%;
        margin: 0 auto;
        font-size: 15px;
    }
    & input:focus, & textarea:focus {
        border-color: rgb(139, 141, 0) ; /* Cambia el color del borde inferior en enfoque */
        border-width: 1px 0 2px 0;
        outline: unset;
    }
    & textarea {
        min-height: 3rem;
        width: 80%;
        margin: 0 auto;
        border: none;
        border-bottom: 1px gray solid;
        padding: 10px 5px;
        font-size: 15px;
        resize: none;
    }

    & #send_info {
        cursor: pointer;
        width: 80%;
        height: 35px;
        color: #222;
        margin: 45px auto 0;
        background-color: rgb(255, 255, 47);
        border: none;
        border-radius: 100px;
    }
}

@media(max-width: 768px) {
    .container_animation {
        display: none;
    }
    .container_form {
        padding: 0;
    }
    .contaier_main {
        margin: 20px auto;
        width: 95%;
    }
    .back_animation {
        width: 100%;
    }
}