* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background-color: #DFE0DE;
}

p {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;

}

/*FONTS */
@font-face {
    font-family: "Balona";
    src: url(Fonts/balona/Balona-Regular.otf);



}

@font-face {
    font-family: "Newyork";
    src: url(Fonts/newyork/NewYork\ PERSONAL\ USE.otf);
}

@font-face {
    font-family: "Fantasik";
    src: url(Fonts/fantasik/Fantasik.otf);
}


/*  COOKIES */
.aviso-cookies {
    display: none;
    background: #fff;
    padding: 20px;
    width: calc(100% - 40px);
    max-width: 300px;
    line-height: 150%;
    border-radius: 10px;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    padding-top: 60px;
    box-shadow: 0px 2px 20px 10px rgba(222, 222, 222, .25);
    text-align: center;
}

.aviso-cookies.activo {
    display: block;
}

.aviso-cookies .galleta {
    max-width: 100px;
    position: absolute;
    top: -50px;
    left: calc(50% - 50px);
}

.aviso-cookies .titulo,
.aviso-cookies .parrafo {
    margin-bottom: 15px;
}

.aviso-cookies .boton {
    width: 100%;
    background: #595959;
    border: none;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    padding: 15px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease all;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.aviso-cookies .boton:hover {
    background: #000;
}

.aviso-cookies .enlace {
    color: #4DBFFF;
    text-decoration: none;
    font-size: 14px;
}

.aviso-cookies .enlace:hover {
    text-decoration: underline;
}

.fondo-aviso-cookies {
    display: none;
    background: rgba(0, 0, 0, .20);
    position: fixed;
    z-index: 99;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

.fondo-aviso-cookies.activo {
    display: block;
}





.navHome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;

    position: sticky;
    top: 0;
    z-index: 1000;
}


.home-icon {

    top: 25px;
    right: 25px;
    max-width: fit-content;

}

.home-icon a {
    text-decoration: none;
    color: #292929 !important;
    font-family: 'Balona', serif;

    font-size: x-large;
    top: 25px;
    left: 25 px;
}


#menuToggle a {
    text-decoration: none;
    color: #232323;

    transition: color 0.3s ease;
}

#menuToggle a:hover {
    color: #22470F;
}


#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #292929;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked~span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu {
    position: fixed;
    width: 300px;
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;

    background: #DFE0DE;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0% 0%;
    transform: translate(-100%, 0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.white-menu {
    background: #ffffff !important;
    color: #ededed !important;
}


#menu li {
    padding: 10px 0;
    font-size: 22px;
}



/*
 * And let's slide it in from the left
 */
#menuToggle input:checked~ul {
    transform: none;
}

.hero-slider {
    position: relative;
}


/* AQUI EMPIEZA EL HERO*/
.hero-title {
    position: absolute;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centra el elemento */
    text-align: center;
    color: #e2dfdf;
    font-family: "Balona", sans-serif;

}


/*Animacion slider*/
.hero-slider {
    width: 100%;
    height: 100vh;
    background-image: url(Images/JDR09536-2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 5s;

    animation-name: animate;
    animation-direction: alternate-reverse;
    animation-play-state: running;
    animation-timing-function: ease-in-out;
    animation-duration: 25s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;

}

@keyframes animate {
    0% {
        background-image: url(Images/JDR09536-2.jpg);
    }

    20% {
        background-image: url(Images/Portada.jpg);
    }

    40% {
        background-image: url(Images/JDR09536.jpg);
    }

    60% {
        background-image: url(Images/JDR08484.jpg);
    }

    80% {
        background-image: url(Images/JDR09536-2.jpg);
    }

    100% {
        background-image: url(Images/JDR02357.jpg);
    }
}



.gallery-title {
    margin: 20px 5%;
    width: 90%;
    text-align: center;

}

.gallery-title h2 {
    font-size: xx-large;

}


.gallery-text h2 {
    font-size: x-large;
    color: #05412b;
    font-weight: bolder;
}

.gallery-text p {
    font-size: small;
}



.gallery-text {
    margin: 30px auto;
    width: 60%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-text button {
    margin: 15px;
    font-family: 'Roboto', serif;
    background-color: #05412b;
    /* Green */
    color: #eceae5;
    border-radius: 50%;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}


.gallery {
    margin: 40px auto;
    width: 70%;
    height: auto;
    max-height: 100%;
    display: grid;
    gap: 15px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
        "large small1 small1 small3"
        "large small2 small4 small4"


}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    max-height: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;

}

.gallery-item a:hover::before {
    background-color: rgba(255, 255, 255, 0.3);
}



.gallery-item p {

    text-align: center;
    margin: 0;
    color: rgb(0, 0, 0);
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 5px;
}

.large {
    grid-area: large;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.large img {
    max-height: 100%;
    object-fit: cover;
}



.gallery-item:nth-child(2) {
    grid-area: small1;
    padding: 0 15px;
    padding-top: 10px;
}



.gallery-item:nth-child(3) {
    grid-area: small2;
}

.gallery-item:nth-child(4) {
    grid-area: small3;
    padding: 0 5px;
}

.gallery-item:nth-child(5) {
    grid-area: small4;
    padding-top: 10px;
}

@media (max-width: 767px) {
    .gallery-title {
        margin: 15px 5%;
        width: 90;
        text-align: left;
    }

    .gallery-title h2 {

        font-size: x-large;
    }

    .gallery-title h4 {

        font-size: small;
    }

    .gallery-text {
        margin: 10px 10%;
        width: 80%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }


    .gallery {
        margin: 40px auto;
        width: 90%;
        height: 85vh;
        max-height: 100vh;
        display: grid;
        justify-content: center;
        gap: 15px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, auto);
        grid-template-areas:
            "large small1"
            "large small2"
            "small3 small4";


    }

    .gallery-item p {
        font-size: 6px;
    }

    .gallery-item img {
        max-height: 92%;

        height: auto;
        display: block;
        border-radius: 10px;
        object-fit: cover;


    }


    .large img {
        max-height: 100%;
        object-fit: cover;
    }

}


@media (max-width: 425px) {
    .gallery {
        margin: 40px auto;
        width: 90%;
        height: 60vh;
        max-height: 80%;
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, auto);
        grid-template-areas:
            "large small1"
            "large small2"
            "small3 small4"
    }

    .gallery-item p {
        font-size: 8px;
    }
}





.hero-title img {
    width: 40px;
    margin-top: 50px;
}





.About {
    height: 100vh;
    border-style: solid;
    border-width: 1px 0px;
    /* 5px top and bottom, 20px on the sides */
    text-align: center;
}

h1,
h2,
h4 {
    letter-spacing: 0.1em;
    font-family: "Balona", sans-serif;
}

.About h1 {
    font-size: 55px;

}


.About h2 {
    font-size: xx-large;
    margin-top: 15px;
    color: #22470F;
}

.About p {
    font-size: large;
    padding: 12px 100px;
}


.info-profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-profile-image h4 {
    writing-mode: vertical-lr;
    text-orientation: upright;
    margin: 0 8px;

}




.border-image-profile {

    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 0;
    border-radius: 50%;
    width: 35vw;

    padding: 3px;
    border: 1px solid black;
    margin-bottom: 20px;
    filter: blur(45px);


}

.profile-image {
    display: block;
    height: inherit;
    width: 70%;
    border-style: solid;
    border-width: 0px 1px;
    margin: 0 auto;
    padding: 15px 40px;


}

.profile-image img {
    max-width: 45vw;
    max-height: 50vh;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid black;
    padding: 8px;
}


.profile-image button {
    font-family: 'Roboto', serif;
    background-color: #05412b;
    /* Green */
    color: #eceae5;
    border-radius: 50%;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.profile-image button:hover {
    background-color: #065538;
    /* Green */

}


/* SLIDER REVIEW*/
.slider {

    width: 100%;
    max-width: 100vw;
    height: 400px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.slider .list {
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}


.item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-style: solid;
    border-width: 1px 0px;
    /* 5px top and bottom, 20px on the sides */
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
    background-color: #DBD8D0;

}

.item h2 {
    font-size: xx-large;
}

.review-info {
    margin: 100px 250px;
}

.review-info-text {
    padding: 80px 120px;
    text-align: center;
    border-style: solid;
    border-width: 1px 0px;
    font-size: large;
}




.slider .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.slider .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(85, 83, 83, 0.333);
    color: #696868;
    border: none;
    font-family: monospace;
    font-weight: bold;
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #242222;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #242222;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}

.slider .dots li.active {
    width: 30px;
}



.btn-contact {

    background-color: #05412b;
    /* Green */
    color: #eceae5;
    border-radius: 50%;
    padding: 20px;
    text-align: center;
    border: 1px solid black;
}

.btn-contact a {
    color: white;

    font-family: "Fantasik", sans-serif !important;
    font-weight: 100;
}


.connect-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


.contact-container {
    background-color: #6c7562;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr 1fr;
}

.contact-container a {
    text-decoration: none;
    font-family: 'Fantasik', serif;

    color: #f8f8f8;
}

.connect-info {
    text-align: start;
    margin: 10px;
    display: grid;

}

.connect-media {
    display: grid;
    justify-items: center;
    align-items: center;
}

.media-icons img {
    width: 50px;
}

.copyright-container {

    font-size: xx-small;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    text-align: center;
    margin: auto 0;

}



@media screen and (max-width: 2048px) {
    #menuToggle input {

        width: 65px;
        height: 58px;

    }

}

@media screen and (min-width: 1024px) {

    #menuToggle input {

        width: 55px;
        height: 48px;

    }

    .home-icon a {
        text-decoration: none;
        color: #292929 !important;
        font-family: 'Fantasik', serif;
        font-size: 45px;
    }


}



@media screen and (max-width: 1024px) {


    .About {
        height: 120vh;

    }

    .About h1 {
        font-size: xx-large;

    }

    .review-info-text {
        padding: 30px 120px;
    }
}

@media screen and (max-width: 768px) {


    .hero-title {
        position: absolute;


        text-align: center;
        color: rgb(226, 223, 223);
        font-family: "Balona", sans-serif;

    }

    .profile-image {
        padding: 50px 20px;
    }


    .profile-image h1 {
        font-size: xx-large;
    }

    h2 {
        font-size: x-large;
    }

    .profile-image p {
        padding: 0;
    }

    .main-container {

        width: 85vw;
        margin: 20px auto;
        display: grid;

    }

    .About {
        height: 130vh;

    }



    .slider {
        height: 400px;
    }

    .item h2 {
        font-size: large;
        padding: 15px;
    }

    .review-info {
        margin: auto 0;
    }

    .review-info-text {
        padding: 25px 25px;
        text-align: center;
        border-style: solid;
        border-width: 1px 0px;
    }

    .hero-slider {
        height: 75vh;
    }

    .profile-image img {
        max-width: 100%;
    }

    .title-gallery {
        padding-top: 0;
        padding-left: 0;
        text-align: center;
    }

    .connect-container {

        grid-template-columns: repeat(1, 1fr);
    }

    .connect-info {
        text-align: center;
    }

    .buttons {
        display: none !important;
    }


}

@media screen and (max-width: 425px) {


    .hero-title {
        position: absolute;

        font-size: xx-small;
        text-align: center;
        color: rgb(226, 223, 223);
        font-family: "Balona", sans-serif;

    }

    .hero-title img {
        margin-top: 15px;
    }


    .profile-image {
        padding: 5px 20px;
    }

    .main-container {

        width: 85vw;
        margin: 20px auto;
        display: grid;
        gap: 2px;
        grid-template-areas:

            'vertical1 vertical2'
            'horizontal1 horizontal1'
            'horizontal2 horizontal2'
            'vertical3 vertical4'

        ;
    }


    .About {
        height: 140vh;

    }


    .About h1 {
        font-size: large;

    }

    .About p {
        font-size: small;
        padding: 12px 10px;
    }

    .buttons {
        display: none !important;
    }
}