*{
    font-family: 'Josefin Sans', sans-serif;
    /*QUITAR PARA QUE SE PUEDA HACER SCROLL*/
    overflow: hidden;
}

html{
    scroll-behavior: smooth;
}

h2{
    font-weight: 500;
    font-size: 36px;
}

h3{
    font-weight: 400;
    font-size: 29px;
}

p{
    font-size: 24px;
    font-weight: 300;
}

li{
    font-size: 23px;
}

.skills{
    padding-top: 11vw;
    padding-bottom: 14vw;
}

/*ACTUALIZACIÓN BORRAR CUANDO ESTÉ TODO LISTO*/



.mantenimiento{
    height: 100vh;
    min-height: 100%;
    color: #f6f1db;
    background-color: #111111;
}

.mantenimiento img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.mantenimiento a{
    font-size: 24px;
    font-weight: 400;
}

.mantenimiento a:hover{
    font-size: 24px;
    font-weight: 400;
}
.mantenimiento a:active{
    font-size: 24px;
    font-weight: 400;
}

.boton{
    background-color: #f1941f;
    border-radius: 32px;
    color: #f6f1db;
    font-weight: 600;
    font-size: 20px;
    text-decoration: none;
    border: 2px solid #f1941f;
}

.boton:hover{
    background-color: #f6f1db;
    border-radius: 32px;
    color: #f1941f;
    font-weight: 600;
    font-size: 20px;
    border: 2px solid #f6f1db;
}

.boton:active{
    background-color: #f6f1db;
    border-radius: 32px;
    color: #f1941f;
    font-weight: 600;
    font-size: 20px;
    border: 2px solid #f1941f;
}


/*nav*/
.navbar{
    background-color: white;
    /*background-color: rgba(225, 225, 225, 0.2);
    backdrop-filter: blur(15px);*/
}


.navbar-toggler{
    border: 0;
}

nav img{
    width: 80%;
}

nav i{
    font-size: 2rem;
}

.nav-active {
    color: #f1941f;
}

.home{
    font-size: 22px;
}

.home img{
    width: 50px;
}

.nav-link{
    font-size: 20px;
}

.navbar a:hover{
    color: #f1941f !important;
    font-family: 'Josefin Sans', sans-serif;
    transform: scale(1.2);
}


#navbar-prin.show a:hover{
    transform: none;
}

#navbar-prin.show .nav-inicio{
    padding-top: 30px;
}

#navbar-prin.show .nav-final{
    padding-top: 20px;
    padding-bottom: 30px;
}


/*sections*/
/*.inicio{
    background-image: url('../imagenes/inicio.svg'); 
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}*/

#home{
    scroll-margin: 100px;
}

.mainlogo{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
}


.mainlogotwo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    height: 85%;
    z-index: -10; 
}


.mainlogo::before {
    position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background: #111111;
	border-radius: 62% 47% 82% 35% / 45% 45% 80% 66%;
	will-change: border-radius, transform, opacity;
	animation: sliderShape 13s linear infinite;
	display: flex;
	-webkit-animation: sliderShape 13s linear infinite;
    z-index: -1;
}

.mainlogotwo::before {
	content: "";
	width: 100%;
	height: 100%;
    position: absolute;
	background: #f1941f;
	border-radius: 62% 47% 82% 35% / 45% 45% 80% 66%;
	will-change: border-radius, transform, opacity;
	animation: sliderShape 13s linear infinite;
	display: flex;
	-webkit-animation: sliderShapetwo 13s linear infinite;
    z-index: -10;
}

@keyframes sliderShape {

    0%,
    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate3d(0, 0, 0) rotateZ(0.01deg);
    }

    34% {
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
        transform: translate3d(0, 5px, 0) rotateZ(0.01deg);
    }

    50% {
        transform: translate3d(0, 0, 0) rotateZ(0.01deg);
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: translate3d(0, -3px, 0) rotateZ(0.01deg);
    }
}

@keyframes sliderShapetwo {

    0%,
    100% {
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
        transform: translate3d(0, 5px, 0) rotateZ(0.01deg);
    }

    34% {
        transform: translate3d(0, 0, 0) rotateZ(0.01deg);
    }

    50% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: translate3d(0, -3px, 0) rotateZ(0.01deg);
    }

    67% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate3d(0, 0, 0) rotateZ(0.01deg);
    }
}



#about{
    scroll-margin-top: 130px;
}


.about{
    background-color: #111111;
    color: white;
}

.contenidoabout{
    padding-top: 5vw;
}

.about a{
    text-decoration: none;
}

.colorp{
    color: #f1941f;
}



.botonaboutme {
    background-color: white;
    font-size: 22px; 
    color: #111111;
}

.btn-primary{
    --bs-btn-border-color: none;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #f1941f;
    --bs-btn-hover-border-color: none;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg:#f1941f;
    --bs-btn-active-border-color: none;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: none;
    --bs-btn-disabled-border-color: none;
}


/*Sección proyectos*/

.projecttitle{
    padding-left: 150px;
    padding-top: 120px;
    padding-bottom: 50px;
}

.projects{
    padding-bottom: 150px;
}


.projects img{
    border-radius: 20px;
}

/*Grid*/
.parent {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, auto);
    grid-gap: 20px;
    padding-left: 150px;
    padding-right: 150px;
    }


.parent img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.div1 { grid-area: 1 / 1 / 3 / 3; }
.div2 { grid-area: 1 / 3 / 3 / 7;}
.div3 { grid-area: 1 / 7 / 3 / 9; }
.div4 { grid-area: 3 / 1 / 5 / 6; }
.div5 { grid-area: 5 / 1 / 7 / 6; }
.div6 { grid-area: 3 / 6 / 7 / 9; }
.div7 { grid-area: 7 / 1 / 9 / 5; }
.div8 { grid-area: 7 / 5 / 9 / 9; }

.project-hover{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.8));
    border-radius: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: end;
    opacity: 0;
    transition: opacity 0.25s;
}

.project-hover:hover{
    opacity: 1;
}

.project-hover:hover > *{
    transform: translateY(0);
}

.project-hover > *{
    transform: translateY(20px);
    transition: transform 0.25s;
}

.project-title{
    padding-left: 10%;
}

.project-description{
    padding-left: 10%;
    padding-bottom: 4%;
    font-size: 23px;
    font-weight: 350;
}

/*Overlays de proyectos*/

#overlay-k,#overlay-t,#overlay-tan,#overlay-m,#overlay-f,#overlay-ar,#overlay-s,#overlay-p{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    display: none;
}

#overlay-k.show,#overlay-t.show,#overlay-tan.show,#overlay-m.show,#overlay-f.show,#overlay-ar.show,#overlay-s.show,#overlay-p.show{
    display: initial;
    visibility: visible;
}

#overlay-k .container-fluid {
    max-height: 100%; 
}

/*Overlay Kelloggs*/
/*
#overlay-k{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(18px);

    display: none;
}

#overlay-k.show{
    display: initial;
    visibility: visible;
}
*/
.icono-x{
    color: white;
    font-size: 50px;
}

.icono-x:hover{
    color: #f1941f;
}

.datos{
    color: #fff;
}


/*Carrousel*/

.carousel-inner img{
    border-radius: 20px;
}

.botones-carousel{
    color: #fff;
    font-size: 55px;
}


/*Overlay time*/
/*
#overlay-t{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);

    display: none;
}

#overlay-t.show{
    display: initial;
    visibility: visible;
}

/*Overlay tango*/
/*
#overlay-tan{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);

    display: none;
}

#overlay-tan.show{
    display: initial;
    visibility: visible;
}

/*Overlay mother*/
/*
#overlay-m{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);

    display: none;
}

#overlay-m.show{
    display: initial;
    visibility: visible;
}

/*Overlay fish*/
/*
#overlay-f{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);

    display: none;
}

#overlay-f.show{
    display: initial;
    visibility: visible;
}

/*Overlay ar*/
/*
#overlay-ar{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);

    display: none;
}

#overlay-ar.show{
    display: initial;
    visibility: visible;
}
*/
.robot{
    font-size: 100px;
}


/*Overlay spacepark*/
/*
#overlay-s{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);

    display: none;
}

#overlay-s.show{
    display: initial;
    visibility: visible;
}

/*Overlay photos*/
/*
#overlay-p{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);

    display: none;
}

#overlay-p.show{
    display: initial;
    visibility: visible;
}
*/
#carousel-p .carousel-inner .carousel-item img {
    height: 40vw; 
    object-fit: scale-down; 
    width: auto; 
}


/*Seccion contacto*/
.contacto{
    background-image: url('../imagenes/final.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.contacto a{
    text-decoration: none;
}

.contenidocontacto{
    padding-top: 17vw;
    padding-bottom: 17vw;
}

.botoncontacto{
    background-color: white;
    font-size: 22px; 
    color: #040408;
}


.redes{
    width: 90px;
    height: auto;
    padding: 10px;
}


.menuredes{
    padding-right: 1vw;
    position: fixed;
    top: 50%;
    transform: translateY(40%);
    right: 0; 
    z-index: 1000; 
}

footer{
    background-color: #111111;
    color: white;
}

footer p{
    font-size: 15px;
}


/*about me*/
.aboutme{
    background-color: white;
    color: #111111;
}

.downloadbtn{
    text-decoration: none;
    color: white;
    background-color: #111111;
    padding: 25px;
    border-radius: 50px;
}

.downloadbtn:hover{
    background-color: #f1941f;
    transform: scale(1.1);
    }

.dummy img{
    border-radius: 10px;
}

.menuredes-aboutme{
    position: relative;
    text-align: center;
}

.redes:hover{
    transform: scale(1.1);
}



/*Contacto final*/
.contactofinal{
    background-image: url('../imagenes/contacto-final.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenidocontactofinal{
    padding-top: 150px;
}

.contactoes{
    /*color: white;*/
    color: #111111;
}

.mail{
    padding-bottom: 18vw;
}

.btn{
    background-color: #f1941f;
    color: #fff;
    border-radius: 200px;
}

.btn:hover{
    color: #f1941f;
    background-color: #fff;
    transform: scale(1.02);
}

.btn h3{
    padding-top: 1vw;
    padding-bottom: 1vw;
    padding-left: 5vw;
    padding-right: 5vw;
    font-size: 3vw;
}

.datos-c{
    color: #fff;
    font-size: 2vw;
    padding-bottom: 3vw;
    padding-top: 4vw;
}

.datos-c p{

    margin-bottom: 0;
}

.derechos{
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .ideas{
        order: 1;
    }

}

@media (max-width: 992px) {

    /*Media query proyectos*/
    
    .projecttitle{
        padding-left: 100px;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .parent {
        padding-left: 100px;
        padding-right: 100px;
        grid-gap: 10px;
    }

    .div1 { grid-area: 1 / 1 / 5 / 5; }
    .div2 { grid-area: 5 / 1 / 9 / 9; }
    .div3 { grid-area: 1 / 5 / 5 / 9; }
    .div4 { grid-area: 9 / 1 / 13 / 6; }
    .div5 { grid-area: 13 / 1 / 17 / 6; }
    .div6 { grid-area: 9 / 6 / 17 / 9; }
    .div7 { grid-area: 17 / 1 / 22 / 5; }
    .div8 { grid-area: 17 / 5 / 22 / 9; } 


    .mantenimiento img{
        display: none;
    }
}

@media (max-width: 768px) {

    h2{
        font-size: 31px;
    }

    .projecttitle{
        padding-left: 100px;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .parent {
        padding-left: 100px;
        padding-right: 100px;
        grid-gap: 10px;
    }

    .div4 { grid-area: 9 / 1 / 13 / 9; }
    .div5 { grid-area: 13 / 1 / 20 / 9; }
    .div6 { grid-area: 20 / 1 / 24 / 9; }
    .div7 { grid-area: 24 / 1 / 28 / 9; }
    .div8 { grid-area: 28 / 1 / 32 / 9; } 

    .contenidocontactofinal{
        padding-top: 50px;
    }
    
    .contactoes{
        /*color: white;*/
        color: #040408;
    }
    
    .mail{
        padding-bottom: 18vw;
    }
    
    .btn h3{
        padding-top: 3vw;
        padding-bottom: 2vw;
        padding-left: 5vw;
        padding-right: 5vw;
        font-size: 5vw;
    }

    .datos-c{
        color: #fff;
        font-size: 2vw;
        padding-bottom: 8vw;
        padding-top: 3vw;
    }
    
    .datos-c p{
    
        margin-bottom: 0;
    }
    
    .derechos{
        margin-bottom: 0;
    }

    #about{
        scroll-margin-top: 20px;
    }

    .mainlogo::before {
        width: 90%;
        height: 90%;
    }
}

@media (max-width: 576px) {
    h2{
        font-weight: 500;
        font-size: 30px;
    }

    p{
        font-size: 20px;
    }

    li{
        font-size: 20px;
    }
    

    .menuredes{
        position: relative;
        text-align: center;
        padding-bottom: 100px;
    }

    .inicio img{
        margin-top: 150px;
        margin-bottom: 150px;
    }

    .projecttitle{
        padding-left: 50px;
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .parent {
        padding-left: 50px;
        padding-right: 50px;
        grid-gap: 10px;
    }

    .project-hover{
        background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .project-title{
        font-size: 23px;
        padding-left: 0;
        padding-bottom: 0;
    }
    
    .project-description{
        font-size: 20px;
        padding-left: 0;
        padding-bottom: 0;
    }

    #carousel-p .carousel-inner .carousel-item img {
        height: 80vw; 
        object-fit: scale-down; 
        width: auto; 
    }

    .mainlogo::before {
        width: 95%;
        height: 170%;
        margin-top: -100px;
        margin-left: 0;
    }
    .mainlogotwo::before {
        width: 95%;
        height: 170%;
        margin-top: -100px;
        margin-left: 0;
    }
}