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

.first-section{
    display: flex;
    background-color: #fff;
    height: 500px;
    overflow: hidden;
}

.first-paragraph{
    padding: 2rem;
}

.first-paragraph h1{
    font-family: geomanist-medium;
    font-weight: 300;
}

.first-paragraph h3{
    font-family: geomanist-medium;
    font-weight: 200;
}


.left-first{
    width: 70%;
    padding-top: 2rem;
}

.left-first h1{
    font-size: 220%;
    color: rgb(68, 68, 68);
}

.left-first h3{
    color: rgb(68, 68, 68);
}

.right-first{
    width: 28%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1);
    transition: filter 0.5s;
}

.right-first:hover{
    filter:none;
}

.right-first img{
    object-fit: contain;
}

.containerbio{
    display: flex;
    background-image: url('img/slideshow/1-EP-4-3.jpg');
    background-position: 60%;
    background-size: cover;
    height: 650px;
    transition: background 0.1s ease-in-out;
    transition: filter 0.5s;
    filter: grayscale(1);
}

.containerbio:hover{
    filter: grayscale(0);
}

.containerbio.fade-in{
    opacity: 1;
}

.left-bio{
    width: 70%;
}

.right-bio{
    width: 28%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
    background-color: rgb(39, 39, 39);
    height: fit-content;
}

.text-bio{
    width: 90%;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.text-bio h5{
    text-align: center;
    font-family: geomanist-medium !important;
    font-weight: 100;
    color: white;
    height: 100%;
}

.social-icons{
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    gap: 1rem;
}

.metodo p{
    margin-right: 1rem;
}

.metodo h4,p{
    font-family: geomanist-medium;
}

.metodo-trabajo{
    padding: 2rem;
}

#metodos13{
    display:grid;
    grid-template-columns: repeat(3,1fr);
}

.proyectos-destacados{
    padding-left: 2rem;
    padding-right: 2rem;
}

.carrousel{
    height: 80vh;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    transition: filter 0.5s;
    filter: grayscale(1);
}

.carrousel:hover{
    filter: grayscale(0);
}

.carrousel ul{
    margin:0;
    padding:0;
    list-style: none;
    display: flex;
    transition: transform 0.5 ease;
}

.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-form{
    padding: 2rem;
}

form{
    padding-top: 1rem;
    width: 40%;
    max-width: 50%;
    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;
    width: 40%;
    max-width: 50%;
    font-size: 15px;
    text-align: center;
    padding-bottom: 2rem;
    transition: opacity 0.5s ease-in-out;
}

.copyright{
    display: grid;
    border-top: #929292 1px solid;
    margin: auto;
    text-align: center;
    align-items: center;
    height: 4rem;
}

/* 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-form{
        padding-top: 0 !important;
    }

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

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

    .thank-you{
        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) {
    .right-bio{
        width: 75%;
    }
    
    .carrousel{
        max-height: 50vh;
    }

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

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

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