@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    color: #181818;
}

:root {
    --main: #2F4CC4;
    --white: #ffffff;
    --gray: #424346;
    --shadow: #8182D9;
    --secondary: #59deff;
  }

/* Barra de navegación */

nav {
    width: 100%;
    padding: 1.5rem 2rem; 
    margin-bottom: 2rem; 
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 1.4rem; 
}

nav ul li {
    list-style: none;
}

nav ul li a{
    text-decoration: none;
}

nav ul li:hover{
    font-weight: 700;
}

.grupo{
    display: flex;
    align-items: center;
}

.grupo h2 {
    padding-left: 0.5rem;
    font-weight: 400;
    font-size: 1.3rem;
}

.menu {
    display: block;
    cursor: pointer;
}

.nav-menu {
    padding: 5rem 0 4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    right: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: #fff;
    width: 20rem;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.37);
}

.nav-item {
    margin: 1rem 0;

}


.bar {
    display: block;
    border-radius: 20%;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

.nav-menu.active {
    right: 0;
}

.menu.active .bar:nth-child(2) {
    opacity: 0;
}

.menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

header{
    background: linear-gradient(180deg, var(--main) 0%, #27b9dd 100%);
    color: #ffffff;
    padding-bottom: 5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: space-between;
}

.banner{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; 
}

.banner img {
    width:14rem;
}


h1 {
    font-size: 1.8rem;
    
}

header a{
    color: var(--gray);
}

/* Figma */

.figma iframe {
    width: 100%;
    height: 80vh;
}

.figma {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.figma .link-figma {
    margin:4rem 0;
}

.figma a{
    text-decoration: none;
}

.figma a:hover {
    text-decoration: underline;
}



.informacion {
    background-color: #e0e0e0;
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}
.informacion article {
    width: 80%;
    text-align: center;
    padding: 1rem 0;
}

.informacion article p{
    text-align: center;
    margin:0;
}


.informacion article a {
    text-decoration: none;
    font-weight: 600;
    color: #000000;
    
}

.informacion img {
    max-width: 200px;
}

/* Footer */

footer{
    text-align: center;
}

footer p{
    color: #8d8d8d;
    font-size: 0.7rem;
    width: 70%;
    margin: 1.2rem auto;
}

.link-grupo {
    text-decoration: none;
    color: var(--white);
}

@media (min-width:980px) {
    header{
        height: 50vh;
    }
    h1 br {
        display: none;
    }

    .figma iframe {
        width: 50rem;
        
    }
    
    .informacion article a:hover {
        font-weight: 700;
    }
    .informacion {
        flex-direction: row;
        justify-content: center;
        font-size: 0.8rem;
        line-height: 1.2rem;
        background-color: #e0e0e0;
        padding: 3rem 0;
        margin-bottom: 0;
    }
    .menu {
        display: none;
    }
    .nav-menu {
        padding: unset;
        position: unset;
        flex-direction: row;
        background-color: unset;
        box-shadow: unset;
        width: unset;
        gap: 2rem;
        
    }
    nav {
        padding: 1rem 4rem;
    }
    header a {
        color: var(--white);
        font-weight: 300;
        font-size: 1rem;
    }
    header a:hover {
        font-weight: 700;
    }

}