@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;1,100;1,200&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #ff9100;    
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4rem 12% 4rem;
    background: rgba(0, 0, 0, 0.368);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

 .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    
}
.logo {
    color: #fff;
    font-size: 25px;
    padding: 0 60px;

    
}

.logo img {
    height: 40px;
    width: 45px;
    margin: 0 8px;
    padding-bottom: 2px;

}

/* .logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}


 */

.navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}

section {
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
}

span {
    color: var(--main-color);
}

.logo span {
    color: var(--main-color);
}

.home-content h3 {
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}

.home-content h1 {
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-img model-viewer {
    width: 550px;
    height: 550px;
}



.home-content p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover {
    color: var(--text-color) ;
    transform: scale(1.3)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color); 
}

.btn-group a:nth-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-last-of-type(2):hover {
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
}

.text-animation {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.text-animation span {
    position: relative;
}

.text-animation span::before {
    content: "Web depeloer";
    color: var(--main-color);
    animation: words 20s infinite;
}

.text-animation span::after {
    content: "";
    background-color: var(--bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--bg-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
    to{
        border-left: 2px solid var(--main-color);
    }
}

@keyframes words {
    0%,
    20% {
        content: "Geología(Geology)";
    }
    21%,
    40% {
        content: "Ingeniería(Engineering)";
    }
    41%,
    60%{
        content: "Minería(Mining)" ;
    }
    61%,
    80% {
        content: "Geociencias(Geosciences)";
    }
    81%,
    100%{
        content: "Aprendizaje(Learning)";
    }
}

@keyframes typing{
    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95%{
        width: 0;
    }

    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85%{
        width: calc(100% + 8px);
    }
}

@media(max-width:1285px){
    html{
        font-size: 55%;
    }


}

@media(max-width:991px){
    header{
        padding: 2rem 3%;
    }

    .logo {
        padding: 0 20px;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .timeline-items::before {
        left: 7px;
    }

    .timeline-item:nth-child(odd){
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even){
        padding-left: 37px;
    }

    .timeline-dot {
        left: 0;
    }

    .services {
        padding-bottom: 7rem;
    }
}

@media(max-width:895px) {
    #menu-icon{
        display: block;
    }

    .navbar{
        position: absolute;
        top: 100%;
        right:0;
        width: 50%;
        padding: 1rem 3%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom:2px solid var(--main-color);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: white;
    }

    .home {
        flex-direction: column-reverse;
        margin: 5rem 4rem;
    
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 6rem;
        margin-top: 3rem;
        margin-left: 5rem;
        margin-right: 5rem;
        text-align: center;
    }

    .home-content p {
        max-width: 600px;
        margin: 0 4rem;
        padding: 2px 10px;
    }

    .home-img model-viewer {
        width:350px;
        height: 350px;
    }

    
}


/* inicio de tags */
.pre-f {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    background: var(--second-bg-color);
}

.pre-f .it {
    width: auto;
    margin: 20px;
    padding: 10px 10px;
    text-align: center;
    background: #e48202;
    border-radius: 5px;
    box-shadow: -3px -3px 10px rgb(128, 128, 128),
                3px 3px 2px rgba(223, 223, 223, 0.1);
}

.pre-f .it:hover {
    background: #f0bb0d;
}

.pre-f .it a {
    text-decoration: none;
    font-size: 12px;
    color: #000000;
    font-weight: 800;
}


.pie-pagina {
    width: 100%;
    background-color: #001842;
}

.pie-pagina .gr-1 {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px;
}

.pie-pagina .gr-1 .box figure {
    width: 70%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .gr-1 .box figure img {
    width: 180px;
}

.pie-pagina .gr-1 .box h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 20px;
    text-align: center;
}

.pie-pagina .gr-1 .box p {
    color: #efefef;
    margin-bottom: 10px;
}

.pie-pagina .gr-1 .red-social a {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: #1f2349;
    text-align: center;
    transition: all 300ms ease;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 6px 6px 15px -2px rgba(0, 0, 0, 0.2), 
               -6px -6px 15px -2px rgba(4, 3, 32, 0.959),
               -6px -6px 15px -2px rgba(20, 2, 2, 0.7);
}

.pie-pagina .gr-1 .red-social a:hover {
    box-shadow: inset 3px 3px 6px -1px rgba(0, 0, 0, 0.5), 
                inset -4px -4px 6px -1px rgba(3, 17, 54, 0.884),
                -0.5px -0.5px 0px rgba(255, 255, 255, 0.7),
                0.5px 0.5px 0px rgba(0, 0, 0, 0.15),
                 0px 12px 10px -10px rgba(0, 0, 0, 0.15); 
    background: #72cdf13b;
}

.pie-pagina .gr-1 .red-social i {
    font-size: 20px;
    color: #fafafa;
    transition: transform 0.5s;
    padding-top: 17px;
} 

.pie-pagina .gr-1 .red-social a:hover i {
    transform: scale(0.90)
    
}
.pie-pagina a:hover .fa-linkedin {
    color: rgb(15, 145, 231);
}

.pie-pagina a:hover .fa-x-twitter {
    color: rgb(155, 154, 156);
}
.pie-pagina a:hover .fa-instagram {
    color: rgb(222, 18, 230);
}

.pie-pagina a:hover .fa-facebook {
    color: rgb(0, 47, 255);
}

.pie-pagina a:hover .fa-youtube {
    color: rgb(255, 0, 0);
}


.pie-pagina .gr-2 {
    background-color: #001842;
    padding: 15px 10px;
    text-align: center;
    color: #c57a0a;
} 

.pie-pagina .gr-2 a {
    text-decoration: none;
    padding: 0 20px;
    color: #32a3b1;
    font-size: 12px;
}

.pie-pagina .gr-3 {
    background-color: #010b1b;
    padding: 15px 10px;
    text-align: center;
    color: #c57a0a;
}

.pie-pagina .gr-3 small {
    font-size: 11px;
}

@media screen and (max-width:800px) {
   
    .pie-pagina .gr-1 {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        padding: 35px 0px;  
    }
    .pie-pagina figure {
        padding-left: 12rem;
        justify-content: center;
        align-items: center;

    }
    .pie-pagina .gr-1 p {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .pie-pagina .gr-1 .red-social {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/*FOOTER END*/

.btn-wsp {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 55px;
    bottom: 30px;
    right: 30px;
    background: #0df053;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.8);
    z-index: 48;
}

.btn-wsp:hover {
    text-decoration: none;
    color: #0df053;
    background: #fff;
    width: 55px;
    height: 55px;
    transition: .5s ease-out;
    box-shadow: 2px 5px 8px rgba(228, 228, 228, 0.8);

}