* {
    box-sizing: border-box;
}

html, body {
    --border-radius: 100px;
    --gutter: 3.125vw 6.25vw;

    margin: 0;
    padding: 0;
    background: #000;
    color: white;
    font-size: 30px;
    font-family: "Poppins", sans-serif;
    
}



h1 {
    font-size: 70px;
    line-height: 1em;
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    
}

h2 {
    font-size: 60px;
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
   

}

a {
    color: #ffffff;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 200;


}

section {
    position: relative;
    display: flex;
    width: 100%;
    height: calc(100vh - 100px);
    top: 100px;
    z-index: 2;
}

section.sticky { 
    position: sticky;
    margin-top: 100px;

}

section.full-screen {
    height: 100vh;
    top: 0;
    margin-top: 0;
    z-index: 3;

}


nav {
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0;
    left: 0;
    font-size: 20px;
    background: #00aff9;
    opacity: 50%;
    z-index: 1;

}

nav ul {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
    margin-left: 45px;


}

nav ul li a {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 500;

}


section.about .empty {
    flex-basis: 37.5vw;
    background: #e5e5e5;
    border-radius: var(--border-radius);
    transition: flex-basis 1s cubic-bezier(.47,.03,.99,.65);
    
}

section.about article {
    flex: 1;
    display: flex;
    flex-direction: column;

}

section.about article .title { 
    flex: 1;
    display: flex;
    align-items: flex-end;
    background: #1c47ff;
    border-radius: var(--border-radius);
    padding: var(--gutter);
    transition: flex-basis 1s cubic-bezier(.47,.03,.99,.65);
}

section.about article .description {
    flex: 1;
    display: flex;
    align-items: center;
    background: #d6a3fb;
    border-radius: var(--border-radius);
    padding: var(--gutter);
    color: #000;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
}

/* Section services */


section.services article {
    display: flex;
    width: 100%;
}

section.services figure {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 56.25vw;
    margin: 0;
    background: #035317;
    border-radius: var(--border-radius);
    max-width: 62.5vw;
}

section.services figure img {
    width: 70%;
}

section.services .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    background: #1f1a1c;
    padding: var(--gutter);
    border-radius: var(--border-radius);
}

section.service .text a {
    font-family: "Poppins", sans-serif;
}

/* animation */

section.services.services-3ddesign figure img {
    animation-name: float;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes float {
    0% {
        Transform: translateY(5px);
        
    }
    50% {
        transform: translateY(-5px);
        
    }
    100% {
        Transform: translateY(5px);
    
    }
}


section.services.services-3ddesign figure {
    background: #569cb1;
}

section.services.services-3ddesign .text h2,
section.services.services-3ddesign .text a {
    color: #f5347b;
}

section.services.services-webdesign .text h2,
section.services.services-webdesign .text a {
    color: #f5347b;
}

section.services.services-graphicdesign .text h2,
section.services.services-graphicdesign .text a {
    color: #f5347b;
}

section.services.services-webdesign figure {
    background-color: #d6a3fb;
}


/* section mail */

section.mail {
    align-items: center;
    justify-content: center;
    background: linear-gradient(#700391, #0467c4, #00aff9);
    border-radius: var(--border-radius);

}

section.mail a {
    font-size: 50px;
    color: rgb(0, 0, 0);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

section.mail a:hover {
    font-size: 55px;
    color: white;
    font-weight: bold;
    transition: color 2s;

}


/* para hacerlo responsive */

@media only screen and (max-width: 768px) {
    html, body {
        background: red;
        --border-radius: 50px;
        --gutter: 6.25vw;   
    }
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 30px;
    }
    nav ul li {
        margin-left: 25px;
    }

    section.services article {
        flex-direction: column;
    }

    section.services figure {
        flex-basis: 25vh;
    }

    section.services figure img {
        width: 30%;
    }

    section.mail a {  
        font-size: 30px;
        transform: rotate(90deg);
    }
}





