@font-face{/*colocar fuente descargada para utilizarla*/
    font-family: 'inter';
    src: url(font/Inter_18pt-Regular.ttf);
    font-weight: normal;
}
@font-face{/*colocar fuente descargada para utilizarla*/
    font-family: 'inter-bold';
    src: url(font/Inter_18pt-Bold.ttf);
    font-weight: bold;
}
@font-face {
    font-family: 'genshingotic';
    src: url(font/GenShinGothic-P-Heavy.ttf);
}
body{
    font-family: 'inter';
    margin: 0px;
}
header{
    position: relative;
}
#menu{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}
#logo{
    width: 170px;
    margin: 10px 5px 5px 5px;
    display: flex;
    background-color: none;
}
.iconomenu{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 50px;
    padding-top: 10px;
}
.act{
    text-decoration: none;
    text-align: center;
    color: #275286;
    font-size: 14px;
    padding-top: 15px;
    margin-right: 5px;
    margin-bottom: 15px;
}
.menu-izquierda{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 40px;
    right: 0px;
    background-color: azure;
    padding: 10px;
    border-radius: 20px 0px 0px 0px;
    z-index: 1;/*que se ponga delante de todo*/
}
.menu-derecha{
    display: none;
    flex-direction: column;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 270px;
    right: 0px;
    background-color: azure;
    border-radius: 0px 0px 0px 20px;
    padding: 0px 11.5px 45px 11.5px;
    height: 150px;
    z-index: 1;/*que se ponga delante de todo*/
}
.menu-derecha a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 3px 0px;
}
.btn-menu-hamburgesa{
    display: flex;
    justify-content: end;
    align-items: end;
    background-color: #C3E5F6;
    width: 60px;
    height: 25px;
    border-radius: 25px;
    right: 15px;/*distancia de la derecha*/
    position: absolute;/*para que me ocupe todo el contenedor de header*/
    top: 25px; /*distancia de arriba*/
}
.titol{
    font-family: 'genshingotic';
    font-size: 25px;
    padding: 30px;
    color: #275286;
    text-align: center;
}
.todo{
    height: 600px;
}
.img-llibre{
    position: relative;
    display: inline-block;
}
.img-llibre img{
    margin-left: 30px;
    width: 320px;
    border-radius: 25px;
}
.frase-sobre-img2{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-40%);/*para alinear el texto en el centro de la imagen*/
    color: #A28BC1;
    font-size: 11px;
    font-family: 'genshingotic';
    background-color: rgb(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 25px;
    width: fit-content; /*que el ancho se ajuste al tamaño del texto*/
    max-width: 90%;
    text-align: center;
}
.infosobreproyect{
    font-size: 12px;
    margin: 20px 40px 0px 35px;
}
@media only screen and (min-width: 768px){/*aqui es lo que veremos en el portatil*/
    body{
        font-family: 'inter';
        margin: 0px;
    }
    .btn-menu-hamburgesa{
        display: none;
    }
    .menu-izquierda{
        display: flex;
        flex-direction: row;
        background: none;
        justify-content: center;
        align-items: center;
        gap: 30px;
        width: 100%;
        position: static;
    }
    .menu-derecha{
        display: flex;
        flex-direction: row;
        background: none;
        justify-content: center;
        align-items: center;
        gap: 30px;
        width: 100%;
        position: static;
    }
    .iconomenu{
        display: none;
    }
    .act{
        text-decoration: none;
        color: #275286;
        font-size: 25px;
        padding: 15px;
    }
    .act img{
        display: none;
    }
    .act:hover{
        color: #C3E5F6;
        font-size: 25px;
        font-family: 'inter-bold';
        background-color: rgb(39, 82, 134, 0.50);
        border-radius: 30px;
    }
    #logo{
        width: 200px;
    }
    .todo{
        height: 800px;
    }
    .frase{
        margin-top: 85px;
        padding: 10px 270px 10px 270px;
        font-size: 40px;
    }
    .titol{
        font-size: 38px;
        padding: 46px;
        color: #A28BC1;
    }
    .info{
        display: flex;
        margin-top: 15px;
        justify-content: center;
        align-items: center;
    }
    .img-llibre img{
        height: 450px;
        width: 750px;
        border-radius: 35px;
        margin: 30px;
    }
    .frase-sobre-img2{
        bottom: 50px;
        padding: 9px 12px;
        font-size: 20px;
    }
    .infosobreproyect{
        font-size: 17px;
        margin: 0px 90px 0px 12px;
    }
}
