*{
    box-sizing: border-box;
    margin: 0;
    padding: o;

}
html{ height:100%; }
body{ min-height:100%; padding:0; margin:0; position:relative; }

body::after{ content:''; display:block; height:100px; }

footer{ 
    background-color: rgba(0,228,201,0.2);

    position:absolute; 
    bottom:0; 
    width:100%; 
    height:60px; 
  }

  
html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    margin: 5px;
}

.brand{
    text-align: center;
    margin: 3px 3px 10px 9px;
    background-color: rgba(0,228,201,.4);
    width: fit-content;
}

a:link, a:visited, a:active{
    text-decoration:none;
    color: black;
}

.nav-container{ 
    background-color: black;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-decoration: none;
    margin-bottom: 15px;
    margin-top: 10px;
}
ul{
    padding: 0px;
}

.nav-link{
    list-style: none;
    text-decoration: none;
    color: black;
    display: inline;
    padding: 2px;
}
em{
font-style: normal;
    background-color: rgba(0,228,201,.4);

}


.nav-menu{
    margin-left: 7px;
}


.foto-word{
    background: url('../img/words.png')no-repeat center center ;
    background-size: cover;
    height: 250px;
    margin: 0px;
}
.header-bg{
    background: url('../img/bg-home.png')no-repeat center center ;
    background-size: cover;
    height: 550px;
    margin: 0px;
}

.foto-reg{
    background: url('../img/nsn.png')no-repeat center center ;
    background-size: cover;
    height: 250px;
    margin: 0px;
}

.header-text{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    margin: 0px;
    height: 500px;


}
h1{
text-align: center;
color: white;
margin-bottom: 110px;
}

.title{
    margin-bottom: 75px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.title > p{
    background-color:  rgba(0,228,201,.4);
    margin-bottom: 10px;
    line-height: 25px;

}

.mejores-container{
    width: 98%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 15px;
}

h4{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    color:black;
    font-weight: 0;
    padding: 10px 0px;

}

.bests-nadies{
    width: 98%;
    border: 1px solid black;
    padding: 15px;
    margin: 0 auto;
    margin-bottom: 30px;
}


.best-nadie > a {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    background-color:rgba(0,228,201,.4);
}


.best-nadie > a:hover{
    background-color: yellow;

}

.graphic{
    font-size: 20px;
    letter-spacing: -3px;
}

/*Sign up i log in*/

.signup, .login{
    text-align: left;
    margin: 20px 10px;
}
.container-login{
    width: 98%;
    margin: 0 auto;
}
.form-wrapper > form{
    display: flex;
    flex-direction: column;
    margin: 20px auto;
}

.form-wrapper > form> input{
    border: 1px solid black;
    padding: 8px 6px;
    margin: 6px 0px;
}

.button{
    background-color: black;
    padding: 10px 0px;
border:2px solid black;
margin:8px 2px 2px 0;
border-radius:0.12em;
box-sizing: border-box;
text-decoration:none;
font-family:'Roboto',sans-serif;
font-weight:300;
color:#FFFFFF;
text-align:center;
transition: all 0.2s;
}
.button:hover{
color:#000000;
background-color:#FFFFFF;
}


.button:disabled{
    background-color:rgba(0,0,0,0.8);
}

.errors-container p{
    background: rgba(0,228,201,.4);
    color: black;
    font-weight: 400;
    padding: 15px 20px;
    cursor: pointer;
    margin: 10px 0px;
    transition: 0.2s ease;
    font-size: 14px;
}

.errors-container p.correct-message {
    background: yellow;
    color: black;
    font-weight: 400;
    padding: 15px 20px;
    cursor: pointer;
    margin: 10px 0px;
    transition: 0.2s ease;
    font-size: 14px;

}

/*words*/
.juega{
    text-align: left;
    margin: 20px 2px;
}

.titulo{
    margin-bottom: 30px;
    text-align: left;
}
.container-words{
    width: 98%;
    margin: 0 auto;
}

.bg-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 20px 10px;
    text-align: left;
}
.respuesta{
    background-color: yellow;
    padding: 20px;
    margin: 0 auto;
    text-align: center;
}
.fondo{
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 20px 0px;
}
.andreu{
    margin: 20px 0px 0px 0px;
}

.reduce{
    font-size: 16px;
        background-color: rgba(251, 255, 0, 0.993)
}

.random-word{
    width: 94%;
    justify-content: center;
margin: 0 auto;
    border: 1px solid black;
    padding: 4px;
    text-align: center;
}

.options{
    text-align: left;
    margin: 20px 10px;
    font-size: 14px;
}

.random-options{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 94%;
    padding: 4px 0px;
    margin: 0 auto;
}

.random-btn-1, .random-btn-2, .random-btn-3{
    width: 30%;
    margin: 0 auto;
    border: 1px solid black;
    padding: 4px;
    text-align: center;
    background-color: white;
}

.random-btn-1:hover, .random-btn-2:hover, .random-btn-3:hover{

    background-color:rgba(0,228,201,.4);

    }


.random-result{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
     width: 94%;
    padding: 10px 4px;
    margin: 0 auto;
}

.random-result > article{
    padding: 10px;
}

.delete-btn{
    display: flex;
    flex-direction: column;
    margin: 15px auto 30px auto;
    
    background-color: black;
    padding: 10px 20px;
    border: 2px solid black;
    box-sizing: border-box;
    text-decoration: none;
    color: #FFFFFF;
    text-align: center;
    transition: all 0.2s;
}

.footer-container{
    padding: 10px;
    font-size: 10px;
    text-align: center;

}

/*FAQS*/
.diccionario{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 20px 10px 10px 10px;
    text-align: left;
    padding-top: 10px;
    border-top: 1px solid black;
}
.container-faqs{
    display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;

}


.accordion {
    width: 98%;
  }

  .accordion-item {
    background: white;

    margin: 15px 0;;
  }

  .accordion-item__title {
    background:rgba(0,228,201,.4);
    color: black;
    font-weight: 400;
    padding: 15px 20px;
    cursor: pointer;
    margin: 0;
    transition: 0.2s ease;
    font-size: 14px;
  }


@media (min-width: 730px) {
    .accordion-item__title {
      font-size: 18px;
    }
  }
  .accordion-item__title:hover {
    background: rgb(0,228,201);
    transition: 0.2s ease;
  }
  .accordion-item__content {
    color: black;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease;
    font-size: 14px;
  }
  @media (min-width: 730px) {
    .accordion-item__content {
      font-size: 16px;
    }
  }
  .accordion-item__content.is-open {
    max-height: 600px;
    transition: 0.5s ease;
  }
  .accordion-item__content-inside {
    padding: 15px 20px;
  }
  
@media (min-device-width : 768px) and (max-device-width : 1440px) {

    html, body {
     
     font-size: 14px;
       padding: 0px 20px 0px 20px;
    }
  .reduce{
      font-size: 12px;
  }
    
   nav{
    margin: 50px auto;
    width: 90%;}
    
.foto-word{
    width: 94%;
    margin: 0 auto;
}
   
.nav-container{
display: flex;
flex-direction: row;
justify-content: flex-start;

}
.respuesta{
    width: 50%;

}
.container-words{
    width: 90%;
    margin: 0 auto;
}
.nav-link{
    padding: 0px 20px;}
.brand{
    margin: 0px;
}
#text-bg{
    margin-top: 10px;
    margin-bottom: 200px;
}
.header-text{
    height: 550px;
}


.title{
    font-size: 18px;
    color: white;
    font-weight: 700;
}
    .mejores-container{
        width: 90%;
        margin: 0 auto;
    }
    h4{
        text-align: center;
    }

   

    .solo-mejores{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
align-content: center;
    }
    .bests-nadies {
        width: 33%;
        justify-content: center;

    }
    
    .best-nadie{
        align-items: center;
        justify-content: center;

    }

    .best-nadie > a{
        font-size: 16px;
    }

    .form-wrapper > form{
        width: 60%;
    }

    .form-wrapper > form> input {
        padding: 14px 12px;
        margin: 12px 0px;
    }

    .titulo{  font-size: 40px;
        margin-top: 30px;
        text-align: center;

    }
    .signup > h3{
        font-size: 25px;
        margin-top: 40px;
        text-align: center;
    }
    .errors-container{
        width: 60%;
        margin: 0px auto;
    }
    .juega{
        font-size: 25px;
        margin-top: 40px;
        text-align: center;
    }
    .login > h3{
        font-size: 25px;
        margin-top: 40px;
        text-align: center;
    }

    .bg-text{
        width: 94%;
        margin: 0 auto;
    }

    .random-word{
        margin: 20px auto;
    }

    .options{
        width: 94%;
        margin: 0 auto;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .random-btn-1{
        margin: 0px 5px 0px 0px;
    }
    .random-btn-2{
        margin: 0 5px;
    }
    .random-btn-3{
        margin: 0px 0px 0px 5px;
    }
    .random-btn-1,.random-btn-2, .random-btn-3{
        width: 33%;
        font-size: 20px;
    }

    .diccionario{
        width: 94%;
        margin: 20px auto;
    }
}
