/* GENERAL */

@font-face {
    font-family: 'Beron';
    src: url(../fonts/Beron-Regular.ttf);
}

* {
    margin: 0px;
    padding: 0px;
}

::placeholder {
    color: white;
    opacity: 1;
}

h1 {
    font-family: 'Beron', serif;
    font-weight: 400;
    font-size: 45px;
    color: white;
    text-align: left;
}

h2 {
    font-family: 'Beron', serif;
    font-weight: 400;
    font-size: 35px;
    color: white;
    text-align: left;
    margin-top: 50px;
}

h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: white;
    text-align: left;
}

p {
    font-family: 'Rubik', sans-serif;
    line-height: 1.5;
    font-size: 20px;
    color: white;
    text-align: left;
}

body {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100vw;
    height: 100vh;
    position: relative;
    text-align: center;
}

/* HOME */

.welcome {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.welcome a {
    text-decoration: none;
}

.welcome .text {
    font-family: 'Beron', serif;
    font-weight: 400;
    font-size: 70px;
    color: white;
    text-align: center;
    line-height: normal;
}

.welcome .text2 {
    font-family: 'Beron', serif;
    font-weight: 400;
    font-size: 150px;
    color: white;
    text-align: center;
    line-height: normal;
}

#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 6px;
    height: 6px;
    background-image: url(../images/star.png);
    background-size: cover;
    opacity: 0.5;
    border-radius: 50%;
}

/* MENU */

.menu {
    width: 100vw;
    height: 80px;
    position: fixed;
    background-image: url(../images/fondoDoble.png);
    background-size: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all 0.5s;
}

.menuConsejos {
    display: none;
    position: absolute;
    height: 20px;
    top: 20px;
    z-index: 1;
}

.menuConsejos a {
    text-decoration: none;
    color: white;
}

.flecha {
    width: 20px;
    height: 20px;
    position: absolute;
    transform: rotate(270deg);
    float: inline-end;
    padding: 0px 4px 5px 5px;
    margin-right: -5px;
    cursor: pointer;
    z-index: 2;
}

.hidden .flecha {
    z-index: 2;
    cursor: pointer;
    transform: rotate(90deg);
    margin-left: -5px;

}

.menu-scrolled {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.menu ul {
    float: right;
    list-style: none;
    padding: 15px 10px;
    margin-right: 15px;
}

.menu li {
    display: inline-block;
    padding: 15px;
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 19px;
    user-select: none;
}

.menu a {
    text-decoration: none;
    color: white;
}

.menu a.active {
    font-weight: 500;
}

.logo {
    width: 300px;
    margin-left: 10px;
    z-index: 1;
}

.logo img {
    width: 190px;
    padding: 10px;
}

/* CONTENIDO */

.content {
    padding: 220px 220px 50px 50px;
}

/* COMENTARIOS */

.comentario {
    display: inline-block;
    background-color: rgb(255, 255, 255, 0.1);
    border: 2px solid white;
    border-radius: 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 300;
    resize: none;
    width: 500px;
    height: 200px;
    padding: 10px;
    color: white;
}

.boton,
.botonResPub {
    display: inline-block;
    width: 350px;
    height: 60px;
    color: white;
    background-color: rgba(255, 255, 255, 0.252);
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    padding: 10px;
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    margin-top: 20px;
}

.buttonContainer {
    display: flex;
    gap: 10px;
}

#boton-publico,
.botonResPub {
    transition: background-color 1s;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.formulario,
.formularioResPub,
.formResponse {
    animation: fade-in 1s;
    display: none;
}

.mostrar,
.hide {
    display: block;
}

.rellenar {
    display: inline;
    width: 200px;
    height: 30px;
    color: white;
    background-color: rgb(255, 255, 255, 0.1);
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    padding: 10px;
    font-family: 'Rubik', sans-serif;
    font-size: 17px;
    font-weight: 400;
    margin-top: 20px;
}

.contenido {
    width: fit-content;
    max-width: 70%;
    word-wrap: break-word;
    border: 2px solid white;
    border-radius: 15px;
    padding: 20px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    text-align: left;
    margin-top: 20px;
}

.contenido .texto {
    position: relative;
    color: white;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 15px;
}

.contenido .texto2 {
    color: white;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
}

.formResponse textarea {
    display: inline-block;
    background-color: rgb(255, 255, 255, 0.1);
    border-style: solid;
    border-color: white;
    border-radius: 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 300;
    resize: none;
    width: 500px;
    height: 200px;
    padding: 10px;
    color: white;
}

/* RECOMENDACIONES */

.juegos {
    text-align: left;
    margin-top: 40px;
}

.juegos a {
    text-decoration: none;
    color: white;
    font-family: 'Beron', serif;
    font-weight: 400;
    font-size: 24px;
}

.juegos p {
    margin-bottom: 40px;
    margin-top: 5px;
}

/* FOOTER */

.footer {
    border: 1px solid rgba(255, 255, 255, 0.37);
    padding: 50px;
    margin-top: 50px;
}

.footer a {
    color: white;
    text-decoration: none;
}