@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;
}


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

.logo{
    padding-left: 1rem;
}

li{
    list-style: none;  
}

.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;
}


.slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    flex: 0 0 auto;
}

.slide > img{
    display: block;
    width: 100%;    
    height: auto;
    object-fit: cover;
    object-position: center;
    max-height: 100%;
}

.slide[data-active]{
    opacity: 1;
}

.carrousel button{
    position:absolute;
    background: none;
    border: none;
    z-index: 2;
    transform: translateY(-50%);
    font-size: 3rem;
    top:50%;
    color:white;
    cursor:pointer;
    border-radius: .25rem;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.1) ;
}

.carrousel-button:hover,.carrousel-button:focus{
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
}

.carrousel-button.prev{
    left:1rem;
}

.carrousel-button.next{
    right:1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 40% 60%;
    margin: auto;
  }

.links-details{
    list-style: none;
    text-decoration: none;
    color:#000000;
    align-items: center;
}

  .contact-form-details{
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    padding:2rem;
    justify-items: center;
    align-items: center;
  }

.contact-form{
    padding: 2rem;
}

form{
    padding-top: 1rem;
    width: 90%;
    max-width: 95%;
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
}

input{
    -webkit-appearance: none;
    appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

form .item, form textarea{
    border: 0;
    margin: 10px 0;
    padding: 0.5rem;
    border: 0.5px solid #929292;
    font-size: 16px;
    outline: none;
    resize: none;
}

form textarea{
    margin-bottom: 1rem;
    -webkit-appearance: none;
    appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

form #button{
    color: rgb(53, 52, 52);
    height: 2.5rem;
    max-width: 17%;
    border: none;
    background: #929292;
    font-size: large;
    cursor: pointer;
}

form #button:hover{
    color: #ffffff;
}

.thank-you{
    display: none;
    font-size: 15px;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 2rem;
    transition: opacity 0.5s ease-in-out;
}

.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%;
    }
  }

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

    .first_nav .toggle_btn{
        display: block;
    }

    .logo{
        padding:0;
    }

    .first-paragraph{
        padding-top: 0;
    }

    .first-section{
        height: 100%;
    }

    .left-first{
        width: 100%;
        padding: 0;
        padding-top: 1rem !important;
    }

    .right-first{
        display: none;
    }

    .left-bio{
        display: none;
    }

    .containerbio{
        display: flex;
        justify-content: center;
    }

    .right-bio{
        width: 95%;
        height: fit-content;
    }

    .text-bio{
        padding:1rem;
    }

    .social-icons{
        padding:0;
    }
    
    #metodos13{
        display:flex;
        flex-direction: column;
        gap:1rem;
    }

    .proyectos-destacados{
        padding-bottom: 0;
    }

    .contact-container{
        display:block;
    }

    .contact-form{
        padding-top: 0.5rem !important;
    }

    .contact-form-details{
        padding-top: 0rem !important;
        padding: 1rem !important;
        margin: auto !important;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3,auto);
        gap:0.5rem;
    }

    form{
        width: 100%;
        max-width: 100%;
    }

    form #button{
        max-width: 6rem;
    }

    .thank-you{
        padding-top:1rem;
        width: 100%;
        max-width: 100%; 
    }
}

@media screen and (max-width: 600px) {
    .carrousel-button {
        font-size: 1rem !important;
        padding: 0.25rem;
    }
    .carrousel {
        height: 50vh;
    }

    .slide > img {
        max-height: 100%;
        object-fit: cover;
        object-position: center;
        height: 90%;
    }
}

@media screen and (max-width: 480px) {
    .carrousel-button {
        font-size: 1rem !important;
        padding: 0.2rem;
    }
    .carrousel {
        height: 40vh;
    }

    .slide > img {
        max-height: 100%;
        object-fit: cover;
        object-position: center;
        height: 90%;
    }
}

@media (max-width: 1024px) {

    form{
        width: 100%;
        max-width: 100%;
    }

    form #button{
        max-width: 6rem;
    }

    .thank-you{
        width: 100%;
        max-width: 100%; 
    }
}

@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{
        padding-bottom: 3rem;
        padding-top: 1rem;
    }

    .container{
        width: 100%;
    }

    .accordion-wrapper{
        width: 100%;
    }

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