* {
    margin: 0;
    padding: 0;
    font-family: "DM Sans", sans-serif;
    color: black;
    scroll-behavior: smooth;
}

/* --------------------------------------BACKGROUND-------------------------------------- */
html {
    background-color: #f5f2e8;
}

body {
    font-size: 1em;
}

.waves {
    position: fixed;
    bottom: 0px;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(images/waveFinal.svg);
}
@media screen and (max-width: 768px) {
    .waves {
        background-image: none;
    }
}

.paralax {
    opacity: 0.7;
    position: fixed;
    background-repeat: no-repeat;
}

.blob1 {
    bottom: 200px;
    right: 1000px;
    width: 50vw;
    height: 50vh;
    background-image: url(images/blob1.svg);
}

.blob2 {
    bottom: -800px;
    right: 200px;
    width: 40vw;
    height: 50vh;
    background-image: url(images/blob2.svg);
}

.blob3 {
    bottom: -2000px;
    right: 800px;
    width: 40vw;
    height: 50vh;
    background-image: url(images/blob3.svg);
}

.bubbles {
    opacity: 0.5;
    position: fixed;
    width: 100vw;
    height: 100vh;
}
.bubbles div {
    background-repeat: no-repeat;
    position: fixed;
}
/* --------------------------------------MENU-------------------------------------- */
a {
    text-decoration: none;
    color: black;
}

span {
    color: #361c47;
}

a:visited {
    text-decoration: none;
    color: black;
}

.nextlogo {
    margin: 0 auto;
    padding-top: 80px;
    width: 300px;
    align-items: center;
    box-shadow: none;
}

header {
    z-index: 20;
    position: fixed;
    top: 0;
    width: 100%;
}

nav {
    background-color: whitesmoke;
    font-size: 20px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

nav ul {
    margin: 0 auto;
    justify-content: space-around;
    display: flex;
    width: 1000px;
    list-style: none;
    align-items: center;
    height: 40px;
}

/* --------------------------------------PAGE-------------------------------------- */
main,
footer {
    position: relative;
    z-index: 10;
    width: 1280px;
    margin: 0 auto;
}

em {
    text-align: center;
    display: block;
    padding-top: 3px;
}

h1 {
    padding-top: 80px;
    font-size: 95px;
    text-align: center;
}

h2 {
    padding-top: 100px;
    padding-bottom: 50px;
    font-size: 72px;
    text-align: center;
}

p {
    font-size: 20px;
}

p.center {
    padding-top: 30px;
    padding-bottom: 50px;
    width: 700px;
    margin: 0 auto;
    font-size: 24px;
    text-align: center;
}

.content {
    width: 1000px;
    margin: 0 auto;
}

img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 1px 1px 7px -2px rgb(19, 0, 14);
}

figure img {
    width: 440px;
}

figcaption {
    font-style: italic;
    padding-top: 3px;
}

.box {
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width: 480px) {
    .box,
    .box2 {
        flex-direction: column;
    }
    .box p {
        padding: 50px 50px 50px 50px;
        margin-top: 20px;
        width: 80%;
        font-size: 32px;
    }
    figure img {
        width: 100%;
    }
    p.center {
        font-size: 40px;
        width: 80%;
    }
    h1 {
        font-size: 128px;
    }
    h2 {
        font-size: 110px;
    }
    body {
        max-width: 414px;
    }
}

.box2 {
    margin-bottom: 100px;
}

.box p {
    padding-left: 100px;
}

/* --------------------------------------VIDEO-------------------------------------- */
footer {
    padding-bottom: 100px;
}

video {
    width: 1280px;
    box-shadow: 1px 1px 7px -2px rgb(19, 0, 14);
}

.download {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding-top: 10px;
}
