body {
    background-color: #021c36;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0 100px;
    color: #fff;
}

nav {
    margin: 20px 0;
    float: right;
    height: 20px;
    line-height: 20px;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    color: #5d5d5d;
    padding: 5px 7px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

nav ul li a:hover {
    color: #54597d;
}

h1 {
    font-size: 75px;
    text-align: center;
    padding: 250px 0 0 0;
    margin: 0;
    width: auto;
    color: rgb(0, 0, 0);
    background: linear-gradient(to right, rgb(0, 0, 0), rgb(43, 43, 43));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 25px;
    text-align: left;
    color: rgb(0, 0, 0);
    width: auto;
    background: linear-gradient(to right, rgb(255, 255, 255), rgb(43, 43, 43));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flex {
    display: flex;
    color: #484747;
    margin-bottom: 20px;
}

.reverse {
    flex-direction: row-reverse;
}

img {
    max-width: 800px;
    max-height: 400px;
    width: 100%;
    height: auto;
}


@media (max-width: 1024px) {
    nav {
        float: none;
        text-align: center;
    }

    .flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    img {
        margin-bottom: 20px;
    }

    h1 {
        font-size: 50px;
        padding: 100px 0 0;
    }
}


@media (max-width: 768px) {
    body {
        margin: 0 20px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    h1 {
        font-size: 40px;
        padding: 50px 0;
    }

    h2 {
        font-size: 20px;
    }
}
