@font-face {
    font-family: 'bricolage';
    src: url(../assets/fonts/BricolageGrotesque_Bold.ttf) format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: 'bricolage_light';
    src: url(../assets/fonts/BricolageGrotesque_Light.ttf) format('truetype');
    font-weight: light;
}
:root {
    --principal: #123c4a; /*azul petróleo oscuro*/
    --acento: #19c3d1; /*cian eléctrico*/
    --fondo_principal: #0b1114; /*negro azulado*/
    --fondo_secundario: #151d21; /*gris carbón*/
    --texto_principal: #f2f5f6; /*blanco suave*/
    --texto_secundario: #9ba9ae; /*gris frío*/
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
html {
    background-color: var(--fondo_principal);
    color: #F2F5F6;
    font-family: 'bricolage_light', 'Segoe UI', Tahoma, sans-serif;
    padding: 1rem;
    height: 100dvh;
}
body {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
h1 {
    position: absolute;
    font-size: .5rem;
    top: -2rem;
}
nav {
    width: 100%;
    max-width: 68rem;
    display: flex;
    margin: 0 auto;
    background-color: var(--fondo_secundario);
    border-radius: 1rem;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
}
nav ul {    
    display: flex;
    gap: 1rem;    
}
nav ul li a {
    color: var(--texto_principal);
}
nav img {
    width: 10rem;
}
main {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
h3 {
    font-family: 'bricolage', sans-serif;
    font-size: 3rem;
    text-align: start;
    width: max-content;
    margin: 0 auto;
}
h3 span {
    color: var(--acento);
    font-size: 4rem;
}
main p {
    font-size: 1.5rem;
    text-align: center;
    max-width: 34rem;
    margin: 2rem 1rem;
    color: var(--texto_secundario);
}
div {
    margin: 0 auto;
}
div a {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--texto_principal);
}
div a img {
    width: 2rem;
}
footer {
    text-align: center;
    color: var(--texto_secundario);
}
footer span {
    color: var(--acento);
}
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    nav img {
        width: 8rem;
    }
    main h3 {
        font-size: 2rem;
    }
    main h3 span {
        font-size: 2.25rem;
    }
    main p {
        font-size: 1.25rem;
    }
}