@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;
}
.todomenu{
    background: url(img/ilustració_fantasia_11_14_23.jpg);
    background-position: 40%; /*configurar la posicion de la imagen*/
    background-repeat: no-repeat;
    background-size: cover;
    position: center;
    height: 630px;
}
#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;
}
.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*/
}
.contenedor1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.frase{
    padding: 10px 0px 10px 0px;
    margin: 100px 50px 0px 55px;
    font-size: 18px;
    margin-bottom: 80px;
}
.btncontac{
    text-decoration: none;
    text-align: center;
    border-radius: 30px;
    border: none;
    padding: 20px 30px;
    margin-top: 25px;
    font-size: 20px;
    width: 220px;
    color: #275286;
}
#btncontac{
    background-image: url(img/SVG/boton2.svg);
    background-repeat: no-repeat;
    background-size: cover;
}
.frase-project{
    background: linear-gradient(to bottom, #C3E5F6, #A28BC1);/*hacer degradado de arriba a abajo*/
    height: 100px;
}
.frase-dentro{
    font-family: 'genshingotic';
    font-size: 25px;
    padding: 30px;
    color: #275286;
    text-align: center;
}
.muestragaleria{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    margin: 10px 10px 10px 10px;
}
.proyecto1{
    width: 40%;
    height: auto;
}
.galeria{
    display: flex;
    width: 100%;
    margin: 10px;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.galeria img{
    width: 100%;
    object-fit: contain;
    border-radius: 25px;
    object-position: center;
    object-fit: cover;/*que se llene la imagen sin deformarse*/
}
.todooo{
    position: relative;
    overflow: hidden;/*solo se ve lo que hay dentro del contenedor*/
    width: 100%;
}
.todooo img{
    object-fit: cover;
    display: block;
}
.frase-sobre-img2{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);/*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: 6px 10px;
    border-radius: 25px;
    width: fit-content; /*que el ancho se ajuste al tamaño del texto*/
    max-width: 90%;
    text-align: center;
}
.btnveuremes{
    text-decoration: none;
    text-align: center;
    border-radius: 30px;
    border: none;
    padding: 20px 30px;
    margin: 20px 0px 35px 0px;
    font-size: 20px;
    width: 220px;
    color: #ffffff;
}
#btnveuremes{
    background-image: url(img/SVG/boton1.svg);
    background-repeat: no-repeat;
    background-size: cover;
}
@media only screen and (min-width: 768px){/*aqui es lo que veremos en el portatil*/
    body{
        font-family: 'inter';
        margin: 0px;
    }
    .todomenu{
        background: url(img/ilustració_fantasia_11_14_23.jpg); /*llamanos a una imagen para ponerla en el fondo*/
        background-repeat: no-repeat;/*que solo sea una imagen y no se repita*/
        background-position: center;
        background-size: cover;/*que se llene toda la pagina*/
        height: 700px;
    }
    .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;
    }
    .frase{
        margin-top: 85px;
        margin-bottom: 20px;
        padding: 10px 270px 10px 270px;
        font-size: 28px;
    }
    .btncontac{
        font-size: 25px;
    }
    .btncontac:hover{
        font-family: 'inter-bold';
        color: #ffffff;
    }
    #btncontac:hover{
    background-image: url(img/SVG/botonhover2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    }
    .frase-project{
        height: 160px;
    }
    .frase-dentro{
        font-size: 38px;
        padding: 46px;
    }
    .muestragaleria{
        margin: 10px 60px 10px 60px;
    }
    .galeria{
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 50%);
        gap: 25px;
        justify-content: center;
        align-items: center;
        object-fit: cover;/*que se llene la imagen sin deformarse*/
    }
    .galeria a{
        width: 100%;
    }
    .galeria img{
        width: 100%;
        border-radius: 25px;
        object-position: center;
    }
    .galeria img:hover{
        filter: blur(2px);/*desenfocar 3 pixeles*/
    }
    .frase-sobre-img2{
        padding: 9px 12px;
        font-size: 20px;
    }
    .proyecto2{
        height: 450px;
    }
    .proyecto7{
        height: 650px;
    }
    .proyecto8{
        height: 650px;
    }
    .proyecto9{
        width: 600px;
        height: 650px;
    }
    .btnveuremes{
        font-size: 25px;
    }
    .btnveuremes:hover{
        font-family: 'inter-bold';
        color: #275286;
    }
    #btnveuremes:hover{
        background-image: url(img/SVG/botonhover1.svg);
        background-repeat: no-repeat;
        background-size: cover;
    }
}
