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

:root {

    --primary-color: #ddd7d7c5;
    --text-color: #ffffff;

}

/* .page {

    margin: 0 auto;
    padding: 0;

    max-width: 128.4rem;
} */

body {

    min-height: 100vh;
    font-weight: 400;
    font-size: 1.4rem;
    background: url("./images/mountains-universe-1.png") no-repeat center/cover;

    transition: background-image .6s ease;
}

body, button {
    font-family: 'Roboto' , sans-serif;

}

nav {
    display: flex;
    gap: 3.2rem;
    justify-content: start;

    font-size: 1.5em;
    line-height: 1.2rem;
    text-align: center;
    align-items: center;

    padding: 4rem 7.2rem;
    transition: all .5s ease;
}

li a:hover {
    color:var(--text-color);
  }

ul li a {
    color: var(--primary-color);
    text-decoration: none;
    padding: .8rem;

}

h1 , p {
    color: var(--text-color);
}

.wrapper-home {
    margin: 14.2rem 17.4rem;
    width: 72rem;

    text-align: center;

    animation: topdown 700ms 350ms backwards;
}

.wrapper-home .button {

    font-size: 1.4rem;
    line-height: 1.5rem;
    font-weight: 600;

    color:var(--text-color);
    background: transparent;
    border: 2px solid var(--text-color);
    border-radius: .3rem;
    padding: 1rem;

    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .5s ease;
}

.button:hover {
    transform: scale(1.2);

    background-color: var(--text-color);
    color: #02799D;

    transition: all .5s ease;
}

.wrapper-universe h1 {
    position: absolute;
    width: 23.6rem;
    height: 6.0rem;
    left: 8.3rem;
    top: 12.1rem;

    animation: rightleft 700ms 350ms backwards;
}

.wrapper-universe p {
    position: absolute;
    top: 19.1rem;
    left: calc(36% - 648px/2 - 214px);
    font-weight: 600;
    width: 50.8rem;
    height: 20.3rem;
    line-height: 160%;

    animation: topdown 700ms 350ms backwards;
}

@keyframes topdown {
    0% {
        opacity: 0;
        transform: translateY(-42px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rightleft {
    0% {
        opacity: 0;
        transform: translateX(42px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

