* {
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url("assets/5.JPEG");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
}
/* Barra de navegación */
nav {
    background: rgba(0, 0, 0, 1);
    height: 10%; /* height: 60px */
    width: 100%;
    position: fixed;
    z-index: 100;
    top: 0;
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.navegacion {
    width: 100%;
    height: 100%;
}

.navegacion ul {
    display: flex;
    width: 100%;
    padding: 5px;
    /*justify-content: space-around;*/
    align-items: center;
}

.navegacion > ul > li {
    /*position: relative;*/
    display: inline-block;
    margin: 1em;
}

.navegacion > ul > li > a, .navegacion > ul > li > span {
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid rgb(255, 255, 255);
    /*transition: background 0.3s;*/
}

/*.navegacion ul li a:hover, .navegacion ul li span:hover {
    background: rgba(255, 255, 255, 0.3);
}*/

.navegacion > ul > li > a:hover, span:hover {
    transition: 400ms ease-in-out;
    box-shadow: inset -10em 0 0 0 rgb(146, 146, 146);
    color: rgb(255, 255, 255);
}
.navegacion > ul > li > .active{
    border: 1px solid #0b8a76;
    color: #0b8a76;
}
#check {
    display: none;
}

.checkbtn {
    display: none;
    font-size: 24px;
    color: #fff;
}

.submenu {
    display: none;
    text-align: center;
    opacity: 0;
    margin-top: 12px;
    padding: 5px;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 10px; /*5px*/
    /*top: 40px;
    min-width: 165px;*/
    z-index: 0;
}

/*.submenu .opciones li {
    padding: 10px;
}

.submenu .opciones li a {
    color: #fff;
    text-align: left;
    padding: 10px;
    display: block;
}

.submenu .opciones li a:hover {
    background: rgba(255, 255, 255, 0.3);
}*/

/*.links:hover .submenu {
    display: block;
}*/

.submenu > .opciones {
    padding: 0;
    flex-direction: column;
}

.submenu > .opciones > li {
    margin-bottom: 1.5em;
}

.submenu > .opciones > li > a {
    padding: 0;
    color: white;
}

.submenu > .opciones > li > a:hover {
    background-color: white;
    color: black;
}

.submenu-show {
    display: block;
    opacity: 1;
    z-index: 99;
}
/*.active{
  background: #0b8a76;
  color: red;  
}*/
main{
    display: flex;
    justify-content: center;
    min-height: 82%; /* Resta las alturas del nav y footer */
    padding-top: 10vh; /* Para evitar que el contenido quede detrás de la barra de navegación */
    padding-bottom: 8vh; /* Para evitar que el contenido quede detrás del footer */
}

footer {
    background: rgba(0, 0, 0, 1);
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    height: 8%;
    bottom: 0;
    width: 100%;
}

/* Formulario */
.project-request{
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 20px;
    width: 30%;
    position: fixed;
    top: 20%;
    right: 10%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.project-request > h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.project-request > input, .project-request > textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.project-request > textarea{
    resize: none;
}

.project-request > input::placeholder, .project-request > textarea::placeholder {
    color: #ddd;
}

.project-request  button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: #0b8a76;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.project-request  button:hover {
    background: #fff;
    color: #0b8a76;
}

.project-request .btn-container {
    text-align: center;
}
.logo-index{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: 75%;
    left: 10%;
    top: 13.5%;
    background: rgba(0,0,0,0.5);/*rgba(65,65,64,0.5); rgba(11,138,118,0.1);*/
    border-radius:15px;
}
.logo-index > img{
    width: 100%;
    height: 77.27%;
}

/* Galería */
.galeria {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 86%;
    top: 10%;
    padding: 0;
    overflow: hidden;
    overflow-y: scroll;
    z-index: 0;
    bottom: 0;
}
.galeria .image-hitbox{
    height: 100%;
}
.galeria img {
    width: 300px;
    height: 169px;
    border-radius: 3px;
    cursor: pointer;
    margin: 10px;
    transition: 400ms;
}

.galeria img:hover {
    transform: scale(1.04);
}


/* Botón para cambiar modo de visualización */
.toggle-div {
    text-align: center;
    position: fixed;
    background-color: beige;
    width: 100%;
    height: 10%;
    transform: translateY(100%);
    padding: 10px;
}

.toggle-button {
    position: relative;
    padding: 10px;
    border-radius: 15px;
    background-color: black;
    color: white;
    cursor: pointer;
}

.toggle-button:hover {
    background-color: white;
    color: black;
    border: 1px solid black;
}
.imagen{
    width: 500px;
}
/*acercar y alejar imagenes-inicio*/

    #FullImageView{
    position: absolute;
    display: none;
    z-index: 998;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    left: 0;
    top: 0;
    bottom: 0;
    top: 0;
    text-align: center;
    }
    #FullImageView > a{
      z-index: 999;
      color: var(--primary);
      font-size: 2rem;
    }
    #FullImage{
    padding: 24px;
    width: 98%;
    height: 98%;
    }
    #CloseButton{
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 6rem;
    color: white;
    cursor: pointer;
    }
/*acercar y alejar imagenes-final*/




/*Carrusel*/
.container-carousel {
  position: fixed;
  width: 70%;
  height: 50%;
  top: 25%;
  right: 15%;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.66);
  border-radius: 15px;
  overflow: hidden;
}

.carruseles {
  height: 100%;
  display: flex;

}

.slider-section {
  height: 100%;
  color: #0b8a76;
}

.slider-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 15px; */
}

.btn-left,
.btn-right {
  display: flex;
  position: absolute;
  top: 50%;
  font-size: 1.5rem;
  background-color: transparent;
  border-radius: 50%;
  padding: 5px;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff81;
  transform: translate(0,-50%);
  transition: .5s ease;
  user-select: none;
}

.btn-left:hover,
.btn-right:hover {
  background-color: #333333d4;
  color: #fff;
}

.btn-left {
  left: 10px;
}

.btn-right {
  right: 10px;
}

.text-container {
    width: 80%;
    height: auto;
    margin: 1em;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.text-container h2 {
    color: #0b8a76;
    padding-top: 1em;
    margin-bottom: 15px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.text-container > p{
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.text-container > ul > li{
    color: #fff;
    font-size: 1.2rem;
    line-height: 0.5;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    list-style: inside;
}
        .file-container{
            position:relative;
            background-color:#3F3F3F;
            border-radius:10px;
            width:20%;
            transform: translateX(200%);
            padding:10px;
            box-shadow:0px 3px 0px #1a1a1a;
            text-align:center;
            margin-top: 20px;
            margin-bottom: 20px;
        }
        .file-container:hover{
            background-color:#fff;
            color: #1a1a1a;
        }
        .input-image{
            top: 0px;
            bottom: 0px;
            left: 0px;
            right: 0px;
            position:absolute;
            height:100%;
            width:100%;
            opacity: 0;
        }
        #project-manager{
            background: rgba(0, 0, 0, 0.8);
            width: 80%;
            height: 150%;
            margin: 1em;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        }
        #project-manager > ul > li{
            font-size: 0.6rem;
            list-style: inside;
        }
        #project-manager > input[type="text"]{
            width: 30%;
            height: 5%;
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            margin-top: 20px;
        }
        #project-manager > select{
            margin-top: 20px;
        }
        #project-manager > input[type="submit"], #project-manager > input[type="reset"]{
            padding: 10px 20px;
            margin-top: 20px;
            border: none;
            border-radius: 5px;
            color: #fff;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        #project-manager > #uploadBtn{
            background: #0b8a76;
        }
        #project-manager > #deleteBtn{
            background: #414140;
        }
        #project-manager > #resetBtn{
            background: #f3ce12;
        }
        #project-manager > #uploadBtn:hover, #project-manager > #deleteBtn:hover, #project-manager > #resetBtn:hover{
            background: rgb(255,255,255);
            color: black;
        }
        #mainImage-preview{
            border-radius: 15px;
            width: 30%;
            height: 35%;
            transform: translateX(114%);
        }
        #mainImage-preview > img{
            width: 100%;
            height: 100%;
            border-radius: 15px;
        }
        #image-preview{
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-gap: 10px;
            grid-auto-rows: minmax(100px, auto);
            width: 80%;
            height: auto;
            object-fit: contain;
            transform: translateX(12.5%);
        }
        #image-preview img {
            width: 100%;
            height: auto;
            border-radius: 15px;
            object-fit: contain;
        }
    .lobo-blanco{
        width:"500px"; 
        height:"386px";
    }
  /*Configuración general para dispositivos móviles*/
  @media(max-width:809px){
    .galeria{
        top: 7%;
    }
    .imagen{
        width: 100px;
    }
    logo-blanco{
        width: 300px;
        height: 232px;
    }
    nav{
        display: block;
        height: 7%;
        z-index: 99;
    }
    footer{
        height: 7%;
        font-size: 0.6rem;
    }
    #mainIndex{
        flex-direction: column;
    }
    .logo-index{
        position: relative;
        display: flex;
        width: calc(100% - 40px);
        height: auto;
        margin:40px 20px;
        left:0;
    }
    .checkbtn{
        display: block;
        position: fixed;
        top: 2%;
        right: 5%;
    }
    .navegacion{
        display: block;
        position: fixed;
        background: rgba(0, 0, 0, 1);
        right: -50%;
        width: 50vw;
        height: 86%;
        top: 7%;
        transition: all 200ms;
    }
    .navegacion > ul{
        display: flex;
        flex-direction: column;
        padding: 20px;
        height: 90vh;
        /* justify-content: center; */
    }
    .navegacion > ul > li{
        margin: 0 auto 3em auto;
        padding: 0;
        text-align: center;
    }
    .navegacion > ul > li > a, .navegacion > ul > li > span{
        padding: 2px;
        border: none;
    }
    .navegacion > ul > li > .active{
        border: none;
    }
    .submenu{
        position: static;
        padding: 7px;
        margin: 2px auto auto auto;
    }
    .submenu > .opciones  {
        flex-direction: column;
        padding: 0;
    }
    .submenu > .opciones > li > a{
        padding: 0;
        color: white;
    }
    .submenu > .opciones > li > a:hover {
        background-color: white;
        color: black;
    }
    #check:checked ~ .navegacion{
        transform: translateX(-100%);
    }
    .project-request{
        width: calc(100% - 40px);
        margin: 20px;
        position: relative;
        right: 0;
    }
    .toggle-div{
        height: 7%;
        transform: translateY(100%);
    }
        .file-container{
            width:75%;
            transform: translateX(16%);
            padding:10px;
        }
        #project-manager > input[type="text"]{
            width: 75%;
            height: 5%;
        }
        #mainImage-preview{
            width: 70%;
            height: 30%;
            transform: translateX(21.42%);
        }
        #image-preview{
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: minmax(50px, auto);
        }
        
}
/*Configuración adicional para tablets*/
/*@media(min-width:690px) and (max-width:809px){
    .navegacion{
        right: -50%;
        width: 50vw;
    }
    #check:checked ~ .navegacion{
        transform: translateX(-100%);
    }
}*/
