/****************************   Formulario   *************************/

* {
    box-sizing: border-box;
    font-family: sans-serif;
    padding: 0px;
}

:root {
    --colorTextos: #49454567;
}

body {
    /*background-color: #81d8d0;*/
    background-image: linear-gradient(to right, #ECF0F1, #A3E4D7);
    display: flex;
    width: 100%;
    height: 650px;
}

header {
    background-image: linear-gradient(to left, #EC7063, #3498DB);
    width: 100%;
    height: 100%;
    text-align: center;
    margin: -08px;
}

.card-header {
    width: 100%;
    height: 100px;
    text-align: right;
    padding: 20px;
    position: fixed;
    top: 0px;
    /*Centra el encabezado*/
    left: 8px;
}

.card-header ul li {
    list-style: none;
    /*quita las viñetas que se ponen por default*/
    display: inline-block;
    padding: 10px 30px;
    font-size: 16px;
    font-family: sans-serif;
    cursor: pointer;
    /*cambia el cursos por una manita cuando el mouse pasa por encima*/
}

.card-header ul li a {
    text-decoration: none;
    color: #2E4053;
}

.bienvenida {
    text-align: initial;
    height: 50%;
    width: 55%;
    font-size: 30px;
    background: none;
    font-family: 'Otomanopee One', sans-serif;
    text-align: center;
    align-items: center;
    position: relative;
    margin-right: 0px;
    top: -18px;
}

.Nav-menu-visible {
    text-align: right;
    width: 100%;
    height: 100px;
    padding: 10px;
    position: fixed;
    top: 0px;
}


/**************   REDES   *************/

.redes-bar {
    width: 100%;
    max-width: 55px;
    position: fixed;
    left: 0;
    top: 25%
}

.redes-activas {
    text-align: center;
    font-size: 12px;
}

.redes-bar a {
    display: block;
    padding: 15px;
    text-decoration: none;
    font-size: 17px;
    position: relative;
    transition: all 500ms ease;
    color: #fff;
}

.redes-bar a:hover {
    background: #1c1c1c;
}

.redes-bar .icon-instagram {
    background: #3f729b;
    border-radius: 0px 5px 0px 0px;
}

.redes-bar #title {
    position: fixed;
    background: #1c1c1c;
    padding: 6px;
    border-radius: 3px;
    font-size: 15px;
    margin-top: -2px;
    transition: all 500ms ease;
    opacity: 0;
    visibility: hidden;
    /*para ocultar*/
}

.redes-bar a:hover #title {
    /*letrero cuando pasa el mouse*/
    opacity: 1;
    visibility: visible;
    margin-left: 35px;
}

.redes-bar #title:after {
    position: absolute;
    content: '';
    border-left: 7px solid transparent;
    border-right: 6px solid #1c1c1c;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    right: 100%;
    top: 8px
}

#btn-social {
    display: none;
}

.icon-play-1 {
    cursor: pointer;
    transition: all 0.4s;
    font-size: 12px;
    margin-bottom: 8px;
    display: inline-block;
    transform: rotate(180deg);
    color: #49b0e6;
}

#btn-social:checked~.icon-play-1 {
    transform: rotate(180deg);
}

.icon-social {
    transition: all 0.4s;
    transform: translateX(0%);
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.9);
    width: 65px;
}

#btn-social:checked~.icon-play-1 {
    transform: translateX(100%);
}

.contact-form {
    width: 100%;
    height: 100%;
    display: flex;
    /*centra de forma horizontal*/
    justify-content: center;
    /*centra de forma vertical*/
    align-items: center;
}

h1 {
    text-align: center;
    margin: 10px 0;
    font-weight: 800;
}

form {
    width: 30%;
    margin: auto;
}

.form {
    background: #fff;
    width: 95%;
    max-width: 400px;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 0 6px 0 rgba(255, 255, 255, 0.8);
    align-items: center;
    justify-content: center;
    right: -40%;
}

form .grupo {
    position: relative;
    /*modifica el espacio entre el contenido*/
    margin: 22px;
}

input,
textarea {
    background: none;
    color: #c6c6c6;
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    /*display: block;*/
    /**** el ancgo de las lineas _________*/
    width: 100%;
    /**** quita el borde a las textarea[___]*/
    border: none;
    /**** hace visible la linea inferior para escribir _________*/
    border-bottom: 1px solid var(--colorTextos);
    /**** evita que se modifique el area de texto del mensaje y se cree un scroll*/
    resize: none;
}

input:focus,
textarea:focus {
    /**** quita el marco que se genera al entrar en el text area ****/
    outline: none;
    color: rgb(94, 93, 93);
}

input:focus~label,
input:valid~label,
textarea:focus~label,
textarea:valid~label {
    position: absolute;
    top: -14px;
    /**** cuando la letra subre cambia de tamaño ****/
    font-size: 12px;
    /*color: #2196f3;*/
}

label {
    color: var(--colorTextos);
    font-size: 16px;
    position: absolute;
    /*empujar desde la izquierda*/
    left: 5px;
    top: 10px;
    transition: 0.5s ease all;
    /*hace que no sea obligatorio clikear para animacion*/
    pointer-events: auto;
}

input:focus~.barra::before,
textarea:focus~.barra::before {
    width: 100%;
}

.barra {
    position: relative;
    display: block;
    width: 100%;
}

.barra::before {
    content: '';
    height: 2px;
    /*permite animacion de barra*/
    width: 0%;
    /*bottom: 0;*/
    position: absolute;
    background: linear-gradient(to right, #6A82FB, #FC5C7D);
    /*velocidad de la transición*/
    transition: 0.5s ease all;
    /*acomoda las lineas de trancicion sobre las guias______*/
    left: 0%;
}

button {
    background: #FC5C7D;
    background: -webkit-linear-gradient(to right, #6A82FB, #FC5C7D);
    background: linear-gradient(to right, #6A82FB, #FC5C7D);
    display: block;
    width: 100px;
    height: 40px;
    border: none;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    margin: 10px auto;
    cursor: pointer;
}

@media screen and (max-width: 1100px) {
    form {
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    form {
        width: 60%;
    }
}

@media screen and (max-width: 450px) {
    form {
        width: 80%;
    }
}

@media screen and(max-width: 300px) {
    form {
        width: 90%;
    }
}