@font-face {
    font-family: "geomanist-bold";
    src: url("fonts/Geomanist-Bold.ttf") format('truetype'),
    url("fonts/Geomanist-Bold.eot") format('embedded-opentype'),
    url("fonts/Geomanist-Bold.woff") format('woff'),
    url("fonts/Geomanist-Bold.woff2") format('woff2');
}

@font-face {
    font-family: "geomanist-medium";
    src: url("fonts/Geomanist-Medium.ttf") format('truetype');
}


*{
    margin: 0;
    padding: 0;
    font-family: 'geomanist-medium','geomanist-bold',system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.menu{
    list-style: none;
}

h2{
    font-weight: 400;
}

body {
    margin-top: 10px;
    height:100vh;
    background-color: white;
}

.logo{
    padding-left: 1rem;
}

.links a{
    display: block;
    position: relative;
    text-decoration: none;
    color: black ;
    font-size: 1rem;
}

.links a:hover{
    color: rgba(48, 62, 143, 0.637);
}

header{
    position: relative;
    padding: 0 2rem 0 1rem;
}

.navbar{
    width: 100%;
    height: 3rem;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content:flex-end;
    border-top: solid 1px lightgray;
    border-bottom: solid 1px lightgray;
}

#blank{
    margin: 2rem;
}

.navbar .links{
    display: flex;
    gap: 2rem;
}

.first_nav{
    display: flex;
    margin: 0 auto;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.first_nav .toggle_btn{
    color: #000000;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.links a {
    display: inline-block;
    position: relative;
    color: #000000;
}
  
.links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0087ca;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar_drop{
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    padding: 0;
    padding-top: 1rem;
    border-bottom: 0.15px solid rgba(131, 131, 131, 0.521);
}

.links_drop a{
    margin-top: 1.5rem;
    display: block;
    text-align: center;
    text-decoration: blue;
    font-size: 1.5rem;
    color:black;
}

.ultimos{
    padding: 2rem;
}

.projects{
    display: flex;
    padding-bottom: 2rem;
}

.description{
    width: 50%;
    padding-left: 2rem;
    padding-bottom: 3rem;
}

.desc-list{
    padding-left: 1rem;
    padding-bottom: 3rem;
}

.slider{
    width: 50%;
}

.accordion-wrapper{
    width: 75%;
}

.accordion-wrapper .parent-tab label, .accordion-wrapper .child-tab label{
    background: #797b7c;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    z-index: 99;
    position: relative;
}

.accordion-wrapper label span{
    color: #fff;
    font-size: 18px;
    font-weight: 100;
}

.child-tab label span{
    font-size: 17px;
}

.accordion-wrapper label .icon{
    position: relative;
    height: 30px;
    width: 30px;
    display: block;
}

.accordion-wrapper label .icon i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-wrapper .parent-tab .content{
    padding: 1rem 2rem;
}

.accordion-content{
    padding-top: 1rem;
    opacity: 0;
    display: none;
}

.container {
    max-width: 1200px;
    width: 95%;
  }
  
  .slider-wrapper {
    position: relative;
  }
  
  .slider-wrapper .slide-button {
    position: absolute;
    top: 50%;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    z-index: 5;
    color: #fff;
    display: flex;
    cursor: pointer;
    font-size: 2.2rem;
    background: #000;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
  }
  
  .slider-wrapper .slide-button:hover {
    background: #404040;
  }
  
  .slider-wrapper .slide-button#prev-slide {
    left: -25px;
    display: none;
  }
  
  .slider-wrapper .slide-button#next-slide {
    right: -25px;
  }
  
  .slider-wrapper .image-list {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 18px;
    font-size: 0;
    list-style: none;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .image-item{
    transition: filter 0.25s;
    filter: grayscale(1);
  }

  .image-item:hover{
    filter: grayscale(0);
  }

  .slider-wrapper .image-list::-webkit-scrollbar {
    display: none;
  }
  
  .slider-wrapper .image-list .image-item {
    width: 325px;
    height: 400px;
    object-fit: cover;
  }
  
  .container .slider-scrollbar {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
  }
  
  .slider-scrollbar .scrollbar-track {
    background: #ccc;
    width: 100%;
    height: 2px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    position: relative;
  }
  
  .slider-scrollbar:hover .scrollbar-track {
    height: 4px;
  }
  
  .slider-scrollbar .scrollbar-thumb {
    position: absolute;
    background: #000;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    cursor: grab;
    border-radius: inherit;
  }
  
  .slider-scrollbar .scrollbar-thumb:active {
    cursor: grabbing;
    height: 8px;
    top: -2px;
  }
  
  .slider-scrollbar .scrollbar-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
  }
  
  .copyright{
    display: grid;
    border-top: #929292 1px solid;
    margin: auto;
    text-align: center;
    align-items: center;
    height: 4rem;
}

  /* Styles for mobile and tablets */
  @media only screen and (max-width: 1023px) {
    .slider-wrapper .slide-button {
      display: none !important;
    }
  
    .slider-wrapper .image-list {
      gap: 10px;
      margin-bottom: 15px;
      scroll-snap-type: x mandatory;
    }
  
    .slider-wrapper .image-list .image-item {
      width: 280px;
      height: 380px;
    }
  
    .slider-scrollbar .scrollbar-thumb {
      width: 20%;
    }
  }

@media (max-width: 912px) {
    .navbar, .navbar .links{
        display: none;
    }

    .first_nav .toggle_btn{
        display: block;
    }

    .logo{
        padding:0;
    }

    .projects{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding:0;
        width: 100%;
    }

    .description{
        padding: 2rem;
        padding-top: 0;
        width: auto;
    }

    .slider{
        width: 85%;
        padding-bottom: 3rem;
        padding-top: 1rem;
    }

    .container{
        width: 100%;
    }

    .accordion-wrapper{
        width: 100%;
    }

    .accordion-content{
        display: none;
        opacity: 1;
    }
}