* {
    margin: 0;
}

html, body {
    height: 100%;
    color: white;
}

body {
    display: flex;
    background-image: url('/pictures/background.png');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100%;
    height: auto;
    flex-direction: column;
    background-color: rgba(26, 32, 44);
}

header {
    height: 20%;
}

header {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    margin-left: 5%;
    margin-top: 3%;
    padding: 2%;
    width: 50%;
}

.titlenav {
    display: flex;
    flex-direction: row;
    margin-bottom: 2%;
}

.titlenav > a {
    display: none;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#links {
    display: flex;
    flex-direction: row;
    margin-right: 10px;
    white-space: nowrap;
}

#links > div {
    margin-right: 50px;
}

h1 {
    font-size: xxx-large;
    color: white;
    margin-bottom: 2%;
}

a {
    text-decoration: none;
    font-size: x-large;
    color: white;
}

#links > div > a > h4 {
    font-weight: normal;
}

.active {

}

.active > h2 {
    position: relative;
    line-height: 1.2em;
    font-weight: normal;
}

.active > h2:before {
    position: absolute;
    left: 0;
    top: 1.2em;
    height: 0;
    width: 40px;
    content: '';
    border-top: 3px solid mediumseagreen;
}


.text {
    font-size: larger;
    margin-left: 5%;
    padding-left: 2%;
    padding-right: 2%;
    width: 40%;

}

.textlink {
    font-size: large;
    color: lightseagreen;
}

.schematics {
 margin: 0;
}

.schematic {
    background-color: #03040d;
    width: 400px;
    padding: 10px;
    border: solid #1a202c;
}

.schematics-container {
    max-height: 600px;
    overflow-y: auto;
    width: 460px;
}


.socials {
    display: flex;
    flex-direction: row;

    width: 50%;
    margin-left: 5%;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 2%;
}

.socials > a > img {
    height: 40px;
    margin-right: 30px;
}

.translate {
    margin-left: 5%;
    padding: 2%;

    width: 50%;
}

footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.copyright {
    margin-right: 2%;
    margin-bottom: 1%;
}

#email {
    text-decoration: none;
    color: white;
    font-size: large;
}

@media screen and (max-width: 767px) {
    body {
        display: flex;
        background-size: cover;
        min-height: 100%;
        height: auto;
    }

    header {
        display: flex;
        margin-top: 5%;
        margin-left: 0;
        width: 100%;
    }

    .titlenav > a {
        display: flex;
        align-self: center;
        padding-left: 4%;
    }

    .navbar {
        overflow: hidden;
        background-color: #333;
        position: relative;

    }

    #links {
        display: none;
        width: 100%;
    }

    .navbar a {
        color: white;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
    }

    .navbar a.icon {
        background: black;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }

    .navbar a:hover {
        background-color: #ddd;
        color: black;
    }

    .active {
        color: white;
    }

    .text {
        width: 100%;
        margin-left: 1%;
        font-size: medium;
    }

    .socials > a > img {
        height: 50px;
        margin-right: 30px;
    }

}

@media screen and (max-width: 1000px) {
    body {
        background-position-x: 70%;
    }

    header {
        display: flex;
        margin-top: 0;
        margin-left: 0;
        width: 100%;
        background-color: rgba(26, 32, 44, .7);
    }

    .text {
        width: 100%;
        margin-left: 0;
        background-color: rgba(26, 32, 44, .7);
    }

    .text > p {
        width: 85%;
        font-size: larger;
    }

    .socials {
        width: 100%;
        margin-left: 0;
        background-color: rgba(26, 32, 44, .7);
    }

    .translate {
        width: 100%;
        margin-left: 0;
        background-color: rgba(26, 32, 44, .7);
    }

    .socials > a > img {
        height: 50px;
        margin-right: 30px;
    }

}

@media screen and (max-width: 360px) {
    h1 {
        font-size: xx-large;
    }
}
