/* CSS Document */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}
html {
    width: 100%;
    height: 100%;
    background: url(/public/img/bg-body-ariadna.png) no-repeat center;
    background-size: cover;
    background-color: #FAFAFA;
    border-top: 4px solid #e8b22fff;
    overflow: hidden;
}
body {
    width: 100%;
    height: 100%;
    color: #222;
    text-align:center;
    padding:35px;
    font-size:12px;
    font-family: 'Montserrat', sans-serif;
}
body::after {
    content: '';
    right: 0;
    bottom: 0;
    width: 120px;
    height: 56px;
    position: absolute;
    background: url(/public/img/shapes-ariadna.png) no-repeat center;
    background-size: contain;
}

#main {
    min-height: 100vh;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 15%;
}

.quote {
    font-size: 1.5em;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
}
.brand {
    width: 180px;
    position: absolute;
    top: 5%;
    right: 5%;
}
.info-friend {
    top: 0;
    left: 0;
    width: 48%;
    height: auto;
    position: absolute;
    padding: 4% 30px;
    transition: .5s all ease;
}
.info-friend .photo-container {
    position: relative;
    background: url(/public/img/formas-amarillas.png) no-repeat center;
    padding-top: 30px;
    min-height:450px;


}

.info-friend .photo {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 500px;

}

.info-friend .form {
    position: absolute;
    top: 75%;
    left: 40%;

}

.info-friend .nameFriend {
    top: 80%;
    width: 100%;
    position: absolute;
    text-align: left;
}
.info-friend .nameFriend img {
    float: left;
    width: 134px;
    /* height: 147px */
}
.info-friend .nameFriend p {
    float: left;
    font-size: 2.3rem;
    line-height: 2.5rem;
    font-weight: 900;
    margin-top: 20px;
    margin-left: 37px;
    
}
.info-friend .nameFriend p span {
    font-size: 1rem;
    font-weight: 600;
    color: #767676;
    display: block;
}

.col-right {
    top: 0;
    right: 0;
    width: 52%;
    height: auto;
    position: absolute;
    padding: 3% 12% 0 5%;
}
.col-right .wrapper-quote {
    width: 100%;
    float: right;
    padding: 50px 30px;
    text-align: left;
    margin-top: 120px;
    background: url(/public/img/quote.png) no-repeat left top;
    transition: .5s all ease;
}
.col-right .wrapper-quote p {
    width: 80%;
    font-size: 1.3rem;
    line-height: 1.8rem;
    font-weight: 300;
}
.col-right .wrapper-quote span{
    display: block;
    font-size: 3rem;
    font-weight: 900;
    margin-top: 5px;
}


.col-right #wrapper-msg {
    float: left;
    width: 100%;
    padding: 0 30px;
    margin-bottom: 20px;
    height: 150px;
    overflow: scroll;
    display: none;
}
.col-right #wrapper-msg .card {
    width: 100%;
    min-height: 80px;
    background: #fff;
    margin-bottom: 15px;
    padding: 12px 30px;
    border-radius: 0 40px 40px 40px;
    box-shadow: 0 1px 5px rgb(0 0 0 / 20%);
    text-align: left;
}
.col-right #wrapper-msg .card .name {
    font-weight: bold;
    margin-bottom: 5px;
}
.col-right #wrapper-msg .card .date {
    color: #aaa;
    font-size: 12px;
    font-weight: 400;
    float: right;
}
.col-right #wrapper-msg .card .name, .col-right #wrapper-msg .card .text {
    font-size: 14px;
}

.col-right .wrapper-sendmsg{
    width: 100%;
    float: left;
    padding: 0 30px;
}
.col-right .wrapper-sendmsg #sendMsg{
    float: left;
}


.wrapper-form {
    left: 50%;
    bottom: -120px;
    width: 1200px;
    height: 100px;
    position: absolute;
    background: #EDEDED;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
    transform: translate(-50%, 0);
    transition: .5s all ease;
    padding: 24px;
}
.wrapper-form .fieldgroup {
    float: left;
    margin: 0 4px;
}
input[type="text"] {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    padding: 0 25px;
    font-size: 16px;
}
input[type="text"],
input[type="submit"] {
    appearance: none;
    border: none;
}
input[type="text"].error {
    border: 1px solid #F3D930;
}
.field-username {
    width: 22%;
}
.field-usermsg {
    width: 63%;
}
input#submitmsg{
    width: 12%;
    margin: 0 4px;
}


body.showForm .wrapper-form{
    display: block;
    bottom: 20px;
}
/* body.showForm .info-friend{
    padding-top: 0;
} */
body.showForm .wrapper-sendmsg {
    display: none;
}
body.haveMsg .col-right .wrapper-quote{
    margin-top: 0;
    padding: 20px 30px;
    background-size: 50px;
}
body.haveMsg .col-right .wrapper-quote p{
    font-size: 1rem;
    line-height: 1.4rem;
    width: 100%;
}
body.haveMsg .col-right .wrapper-quote span{
    font-size: 2.5rem;
}
body.haveMsg .col-right #wrapper-msg {
    display: block;
}
body.haveMsg .col-right .wrapper-sendmsg #sendMsg{
    float: right;
}


.btn {
    display: inline-block; /* Hace que el botón sea un bloque en línea para mejor control */
    max-width: 500px; /* Establece un ancho máximo para el botón */
    white-space: nowrap; /* Evita que el texto se ajuste a la línea siguiente */

    /* width: 250px; */
    height: 50px;
    color: #1A1A1A;
    font-weight: 600;
    font-size: .9rem;
    text-transform: uppercase;
    background: #F3D930;
    padding: 16px 20px;
    border-radius: 25px;
    transition: .5s all ease;
    cursor: pointer;

}
.btn:hover {
    color: #fff;
    background: #000;
}

  
a {
    color:#0000FF;
    text-decoration:none; }
  
a:hover { text-decoration:underline; }


  

@media only screen and (max-width: 600px) {
    html {
        overflow: auto;
        height: auto;

    }
    body {
        padding: 25px 15px;
    }
    #main {
        float: left;
    }
    .brand {
        width: 80px;
        right: 25%;
    }
    .info-friend, .col-right {
        width: 85%;
        position: relative;
        padding: 5% 0;
        float: left;
    }
    .info-friend .photo-container {
        min-height:500px;
        width: 300px;
        right: 10%;

    }
    .info-friend .photo {
        width: 300px;
        top: 30%;
        left: 20%;
        
    }

    .info-friend .form {
        top: 72%;
        left: 33%;
    
    }
    .info-friend .nameFriend {
        position: relative;
    }
    .info-friend .nameFriend img {
        width: 80px;
      
    }
    .info-friend .nameFriend p {
        font-size: 2rem;
        line-height: 2.2rem;
        margin-top: 0;
        width: 260px;

    }
    .col-right .wrapper-quote {
        margin-top: 0;
        padding: 50px 0;
    }
    .col-right .wrapper-quote p {
        width: 100%;
        font-size: 1rem;
    }
    .col-right .wrapper-sendmsg {
        padding: 0;
    }
    .col-right .wrapper-sendmsg #sendMsg {
        width: 100%;
    }
    .wrapper-form {
        width: 100%;
        height: initial;
        border-radius: 0;
        padding: 24px 15px;
        bottom: 0;
        z-index: 99999;
        position: relative;
        float: left;
        margin-bottom: 30px;
        display: none;
    }
    .wrapper-form .fieldgroup {
        margin: 0 0 8px;
        width: 100%;
    }
    input#submitmsg {
        width: 100%;
        margin: 8px 0 0;
    }
    .col-right #wrapper-msg {
        height: auto;
        max-height: 400px;
        padding: 0;
    }
    body.haveMsg .col-right .wrapper-quote {
        padding: 20px 0;
    }
    body::after {
        display: none;
    }
  }

  .mensaje {
        background-color: #f8d7da; /* Color de fondo rosa claro para errores */
        color: #721c24; /* Color del texto oscuro para contrastar con el fondo */
        border: 1px solid #f5c6cb; /* Borde ligeramente más oscuro que el fondo */
        border-radius: 5px; /* Bordes redondeados */
        padding: 10px 20px; /* Espaciado interno para no pegar el texto a los bordes */
        margin: 20px 0; /* Margen superior e inferior para separarlo de otros elementos */
        text-align: center; /* Centrar el texto dentro del div */
        font-size: 1rem; /* Tamaño del texto */
        font-weight: bold; /* Hacer el texto un poco más grueso */
    }

    /* Si quieres tener un estilo diferente para los mensajes de éxito */
    .mensaje.exito {
        background-color: #d4edda; /* Verde claro para éxito */
        color: #155724; /* Verde oscuro para el texto */
        border: 1px solid #c3e6cb;
    }


/* @media only screen and (max-width: 820px) {

    .info-friend .photo-container {
        min-height:500px;
        width: 400px;
        right: 10%;
    }
    .info-friend .photo {
        width: 50%;
        top: 15%;
        left: 10%;
    }

    .info-friend .form {
        top: 72%;
        left: 33%;
    
    }
} */