@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');
/* font-family: 'Open Sans', sans-serif; */
.fina{
    font-family:'Open Sans';
    font-weight: 300;
}
.normal{
    font-family:'Open Sans';
    font-weight: 400;
}
.gruixuda{
    font-family:'Open Sans';
    font-weight: 600;
}
.plus{
    font-family:'Open Sans';
    font-weight: 700;
}
.gegant{
    font-family:'Open Sans';
    font-weight: 800;
}
*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
body{
    background-image: url(../img/taulesok.jpg);
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Open Sans';
    font-weight: 400 ;
}
header{
    padding: 0px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;

}
header img{
    width: 70%;
}
header a{
    display: inline-block;
    color:#fff;
    text-decoration: none;
    font-size: clamp(1.3rem, 1.5vw, 2vw);
    padding:0 20px;
    transition: .5s;
}
header a:hover{
    color:yellow;
    font-size: 1.6rem;
    transition: .5s;
    text-shadow: 0 5px 7px black;
}
main{
    background-color: rgb(253, 166, 112, 0.70);
    width: 60%;
    padding: 15px;
    margin-left: 50px;
    border-radius: 5px;
}
main article img{
    width: 100%;
    margin-bottom: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.63);
    border-radius: 4px;
}
h2{
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: 800;
    color: rgb(15, 75, 15);
}

 p{
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 2rem;
}
.contenidor{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
/*#diari{
    height: 600px;
    width: 32%;
    position: relative;
    top: 15px;
    box-sizing: border-box;
    padding: 15px;
    background-color: rgb(253, 166, 112, .70);
    overflow: auto;
    margin-right: 1%;
    margin-left: 1%;
    float: left;
  }
  
  #capde{
    height: 600px;
    width: 32%;
    position: relative;
    top: 15px;
    box-sizing: border-box;
    padding: 15px;
    background-color: rgb(253, 166, 112, .70);
    overflow: auto;
    margin-right: 1%;
    float: left;
  }
  
  #grups{
    height: 600px;
    width: 32%;
    position: relative;
    top: 15px;
    box-sizing: border-box;
    padding: 15px;
    background-color: rgb(253, 166, 112, .70);
    overflow: auto;
    margin-right: 1%;
    float: left;
  }*/
  section{
    height: 600px;
    /*width: 32%;*/
    position: relative;
    top: 15px;
    box-sizing: border-box;
    padding: 15px;
    background-color: rgb(253, 166, 112, .70);
    overflow: auto;
    margin-right: 1%;
    float: left;
    
  }
aside{
    width: 30%;
    background-color: rgba(255, 255, 255, 0.63);
    border-radius: 5px;
    margin-right: 50px;
    padding:15px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

}


footer{
    position:fixed;
    bottom: 0;
    width: 100%;
    background-color: black;
    color:white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}
i{
    padding: 10px;
    font-size: 30px;
    color:white;
    float: right;
}
.tel{
    float:right;
}
i:hover{
    color:brown;
    background-color: white;
    border-radius: 50%;
}
.tel:hover{
    color:green;
    background-color: white;
    border-radius: 30px;
}

.contacte{
    background-color: rgb(253, 180, 112);
    width: 600px;
    margin: 25px auto;
    padding: 20px;
    border-radius: 10px;
}

  .formulario{
    background-color: rgb(253, 180, 112);
    width: 500px;
    margin: 25px auto;
    padding: 20px;
    border-radius: 10px;
}

.formulario input{
    display: block;
}

.formulario input[type="submit"]{
    width: 200px;
    margin: 0 auto;
    background-color: #b85f1f;
    color: white;
    border: 2px solid white;
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    transition: .7s;
}
.formulario input[type="submit"]:hover{
    background-color: #440404;
    width: 300px;
    transition: .7s;
}

@media screen and (max-width:1100px){
    main{
        width: 100%;
        margin:20px;
    }
    .contenidor {
        display: flex;
        flex-direction: column-reverse; /* Coloca las secciones una debajo de la otra */
    }
   
}
@media screen and (max-width:800px){
   
    .contenidor {
        display: flex;
        flex-direction: column-reverse; /* Coloca las secciones una debajo de la otra */
    }
    main{
        width: 100%;
        margin:20px;
    }
      /* Ocultar la lista de navegación en pantallas pequeñas */
      nav ul {
        display: none;
    }

    /* Estilos para el icono del menú de hamburguesa */
    .menu-icon {
        display: block;
        cursor: pointer;
        color: #fff;
        font-size: 24px;
        padding: 10px;
        text-align: right;
    }
}