@font-face {
    font-family: 'Sansation';
    src: url('../typo/Sansation_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sansation light';
    src: url('../typo/Sansation_Light.ttf') format('truetype');
    font-style: normal;
}

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

body {
    width: 100%;
    min-height: 100vh;
    background-color: #eeeeee;
}

.new-title {
    color: red;
    text-transform: uppercase;

}

.lite-title {
    font-family: Sansation light, "Arial", sans-serif;
    font-size: 1.8em;
    font-weight: lighter;
}

.bold-title {
    font-family: Sansation, "Arial Black", sans-serif;
    font-size: 2em;
}

.more {
    color: black;
    text-decoration: none;
    background-color: #C3CAE0;
    padding: 1em 1.5em;
    font-family: Sansation light, "Arial", sans-serif;
    font-weight: normal;
    border-radius: 4em;
    box-shadow: 0 0 1em 0.1em #00000022;

}

header {
    background: linear-gradient(#eeeeee00 70%, #eeeeeeFF 100%), url("../images/huawei-matebook-x-pro-colour-2@2x.png");
    min-height: 120vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    letter-spacing: 0.08em;
}

header > nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2em 5em;
    width: 100%;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #c9c9c922;
    background-color: #00000022;
    border-radius: 0 0 0.5em 0.5em;
    color: white;
    /*letter-spacing: 0.08em;*/
}

header > nav > .links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 30%;
    width: max-content;
}

header > nav > .links > a {
    font-family: Sansation light, "Arial", sans-serif;
    font-size: 1.2em;
    text-decoration: none;
    color: white;
    position: relative;
    margin: 0 2em;
}

header > nav > .links > a::before {
    content: "";
    position: absolute;
    bottom: -0.3em;
    left: 0;
    width: 100%;
    /*width: 0;*/
    height: 0.05em;
    background-color: #eeeeee;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease-in-out;
}

header > nav > .links > a:hover::before {
    transform: scaleX(1);
}

header > div {
    position: absolute;
    top: 55%;
    left: 10%;
    color: white;
    width: max-content;
}


footer {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-direction: column;
    padding: 2em 5em;
    margin-top: 5em;
    width: 100%;
    background-color: #081327;
    color: white;
}

footer > section {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2em;
}

footer > section > div {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    margin-right: 4em;
}

footer > section > div > h1,
footer > section > div > a,
footer > p {
    font-size: 1em !important;
    color: white;
    text-decoration: none;
    margin: 0.5em 0;
}

footer > section > div > h1 {
    font-size: 1.5em !important;
    position: relative;
}

footer > section > div > h1::before {
    content: "";
    position: absolute;
    bottom: -0.3em;
    left: 0;
    width: 100%;
    height: 0.1em;
    border-radius: 0 0 0.1em 0.1em;
    background-color: #eeeeee;
}

@media screen and (max-width: 768px) {
    header > nav {
        padding: 1em 1em;
        flex-direction: column;

        width: 100%;
    }

    header > div {
        top: 50%;
        left: 5%;
    }

    header > nav > h1 {
        margin: 0 1em;
    }

    header > nav > .links {
        width: 100%;
        justify-content: space-around;
    }

    header > nav > .links > a {
        margin: 1em 1em;
    }

    footer {
        padding: 2em 1em;
    }

    footer > section {
        flex-direction: column;
    }

    footer > section > div {
        margin-right: 0;
        margin-bottom: 2em;
    }
}

@media screen and (max-width: 500px) {
    header > nav > .links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1em;
        margin-top: 1em;
    }

    header > nav > .links > a {
        margin: 0 auto;
    }


}