@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body{
     color: #ededed;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background:#081b29;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

}

.logo{
    position: relative;
    font-size: 25px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}
.logo:hover {
    color: #00abf0;
}

.logo::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}
nav a{
    position: relative;
    font-size: 1.1rem;
    color: #ededed;
    text-decoration: none;
    padding: 6px 20px;
    transition: .5s;
}
nav a:hover{
    color: #0ef;
}
nav a span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-bottom: 2px solid #0ef;
    border-radius: 15px;
    transform: scale(0) translateY(50px);
    transition: .5s;
    opacity: 0;
}

nav a:hover span {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.home{
    height: 100hv;
    background: url(imagenes/fondo2.png) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 15% 10%;
}

.home-content{
    max-width: 600px;
}

.home-content h1{
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.home-content h1::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}
.home-content h3{
    position: relative;
        font-size: 32px;
        font-weight: 700;
        color: #00abf0;
}
.home-content h3::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
}
.home-content p{
    position: relative;
    font-size: 16px;
    margin: 20px 0 40px;
}

.home-content p::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}

.home-content .btn-box{
    position: relative;
        display: flex;
        justify-content: space-between;
        width: 345px;
        height: 50px;
}

.home-content .btn-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;
}
.btn-box a{
        position: relative;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 150px;
        height: 100%;
        background: #00abf0;
        border: 2px solid #00abf0;
        border-radius: 9px;
        font-size: 19px;
        color: #081b29;
        text-decoration: none;
        font-weight: 600;
        letter-spacing: 1px;
        z-index: 1;
        overflow: hidden;
        transition: .5s;
}
.btn-box a:hover{
    color: #00abf0;
}
.btn-box a:nth-child(2){
    background: transparent;
    color: #00abf0;
}
.btn-box a:nth-child(2):hover{
    color: #081b29;
}
.btn-box a:nth-child(2)::before{
    background: #00abf0;
}
.btn-box a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: 0.5s;
}

.btn-box a:hover:before{
    width: 100%;
}

.home-imgHover{
    position: absolute;
    top: 0;
    right: 30px;
    width: 860px;
    height: 1000px;
    background: transparent;
    transition: .7s;
}

.home-imgHover:hover{
    background: #081b29;
    opacity: .8;
}

@keyframes showRight {
    100%{
        width: 0;
    }
}

.fase3 {
    padding-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: #081b29;
    padding-left: 0;
}

.fase3-content {
    padding-left: 50px;
    padding-top: 100px;
    width: 500px;
}

.fase3-pdf {
    margin-top: 100px;
    display: inline-block;
    background: #081b29;
    box-shadow: 0 0 1rem #00abf0;
    color: #00abf0;
    transition: .5s ease;
}
.fase3-pdf:hover {
    box-shadow: none;
}
.fase3-pdf embed {
    padding-right: 1px;
    padding-top: 1px;
    width: 35vw;
}

.scrum {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: #081b29;
}
.scrum-content {
    padding-top: 150px;
    width: 400px;
}

.scrum-pdf {
    margin-right:20px;
    margin-left: 0px;
    margin-top: 100px;
    display: inline-block;
    background: #081b29;
    box-shadow: 0 0 1rem #00abf0;
    color: #00abf0;
    transition: .5s ease;
}
.scrum-pdf:hover {
    box-shadow: none;
}
.scrum-pdf embed {
    padding-right: 1px;
    padding-top: 1px;
    width: 50vw;
}
.scrum-content p {
    text-align: justify;
    font-size: 1.1rem;
    margin: 2rem 0 3rem;
}

.speech {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: #081b29;
}
.speech-content {
    padding-top: 88px;
    width: 400px;
}

.speech-pdf {
    margin-right:20px;
    margin-left: 0px;
    margin-top: 100px;
    display: inline-block;
    background: #081b29;
    box-shadow: 0 0 1rem #00abf0;
    color: #00abf0;
    transition: .5s ease;
}
.speech-pdf:hover {
    box-shadow: none;
}
.speech-pdf video {
    height: 100%;
    padding-right: 1px;
    padding-top: 1px;
    width: 50vw;
}
.speech-content p {
    text-align: justify;
    font-size: 1.1rem;
    margin: 2rem 0 3rem;
}
.heading {
    position: relative;
    padding-bottom: 5px;
    font-weight: 800;
    letter-spacing: .1rem;
    text-align: left;
    font-size: 2.4rem;
}

.heading::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}
.heading span {
    color: #00abf0;
}

.fase3-content h2 {
    text-align: left;
    line-height: 1.2;
}
.scrum-content h2 {
    text-align: left;
    line-height: 1.2;
}
.speech-content h2 {
    text-align: left;
    line-height: 1.2;
}

.heading2 {
    position: relative;
    font-size: 1.9rem;
    letter-spacing: 2px;
}
.heading2 span {
    color: #00abf0;
}

.fase3-content h3::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.fase3-content p {
    text-align: justify;
    font-size: 1.1rem;
    margin: 2rem 0 3rem;
}
.scrum-content h3::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.scrum-content p {
    text-align: justify;
    font-size: 1.1rem;
    margin: 2rem 0 3rem;
}
.speech-content h3::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.speech-content p {
    text-align: justify;
    font-size: 1.1rem;
    margin: 2rem 0 3rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: #081b29;
    border-radius: 4rem;
    box-shadow: 0 0 1rem #00abf0;
    font-size: 1.6rem;
    color: #00abf0;
    text-decoration: none;
    letter-spacing: .1rem;
    transition: .5s ease;
    font-weight: 600;
}

.btn:hover {
    box-shadow: none;
}

.galeria {
    padding-bottom: 25px;
    display: flex;
    width: 400px;
    height: 600px;
}

.galeria img {
    border-radius:50px;
    width: 0;
    flex-grow: 1;
    object-fit: cover;
    opacity: .1;
    transition: .5s ease;
}

.galeria img:hover {
    width: 85%;
    opacity: 1;
    filter: contrast(120%);
}
 

  .equipo{
    background: #081b29;
  }
  
  .equipo h2 {
    padding-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;

  }
  .equipo-conteiner {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    gap: 1.5rem;
    padding-left: 300px;
    padding-right: 300px;
  }

  .equipo-conteiner .equipo-box {
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(#000);
    overflow: hidden;
    display: flex;
    height: 500px;
}
.equipo-conteiner-2{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 1.5rem;
    padding-left: 470px;
    padding-right: 470px;
    padding-top: 30px;
  }

  .equipo-conteiner-2 .equipo-box {
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(#000);
    overflow: hidden;
    display: flex;
    height: 500px;
  }
.equipo-box img{
    width: 100%;
    transition: .5s ease;
}

.equipo-box:hover img {
    transform: scale(1.1);
}
.equipo-box .equipo-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#000000;
    opacity: .7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: 0.5s ease;
}

.equipo-box:hover .equipo-layer {
    transform: translateY(0);
}

.equipo-layer h4 {
    font-size:2rem;
}

.equipo-layer p {
    font-size: 1.1rem;
    margin: .3rem o 1rem;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ededed;
    margin: 5px 0;
    transition: .3s;
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}
@media screen and (max-width: 1024px) {
    .header {
        padding: 15px 5%;
    }

    nav a {
        padding: 6px 10px;
        font-size: 1rem;
    }

    .home-content h1 {
        font-size: 40px;
    }

    .home-content h3 {
        font-size: 24px;
    }

    .home-content p {
        font-size: 14px;
    }

    .home-imgHover {
        width: 600px;
        height: 800px;
    }

    .equipo-conteiner {
        padding-left: 50px;
        padding-right: 50px;
    }

    .equipo-conteiner-2 {
        padding-left: 200px;
        padding-right: 200px;
    }

    .fase3-pdf embed,
    .scrum-pdf embed,
    .speech-pdf video {
        width: 45vw;
    }
}

/* Tablets pequeñas y móviles grandes */
@media screen and (max-width: 768px) {
    .header {
        padding: 10px 5%;
    }

    nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background: #081b29;
        flex-direction: column;
        text-align: center;
        transition: .3s;
    }

    nav.active {
        left: 0;
    }

    nav a {
        display: block;
        margin: 1.5rem 0;
    }

    .home {
        flex-direction: column;
        padding: 150px 5% 50px;
    }

    .home-content {
        max-width: 100%;
    }

    .home-imgHover {
        display: none;
    }

    .fase3,
    .scrum,
    .speech {
        flex-direction: column;
        padding: 50px 5%;
    }

    .fase3-pdf embed,
    .scrum-pdf embed,
    .speech-pdf video {
        width: 90vw;
    }

    .fase3-content,
    .scrum-content,
    .speech-content {
        width: 100%;
        padding: 20px 0;
    }

    .equipo-conteiner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .equipo-conteiner-2 {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .equipo-box {
        height: 400px;
    }
}

/* Móviles */
@media screen and (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .home-content h1 {
        font-size: 32px;
    }

    .home-content h3 {
        font-size: 20px;
    }

    .btn-box {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-box a {
        width: 100%;
    }

    .heading {
        font-size: 2rem;
    }

    .heading2 {
        font-size: 1.5rem;
    }

    .galeria {
        width: 100%;
        height: 400px;
        flex-direction: column;
    }

    .galeria img {
        width: 100%;
        opacity: 1;
    }

    .galeria img:hover {
        width: 100%;
    }

    .equipo-box {
        height: 350px;
    }

    .equipo-layer h4 {
        font-size: 1.5rem;
    }

    .equipo-layer p {
        font-size: 0.9rem;
    }
}
