@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100&family=Sora:wght@100..800&display=swap');

body {
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    background-color: #1A1B17;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Header */

.header {
    height: 70px;
    align-content: center;
    display: inline-grid;
}

.logo {
    width: 200px;
}

/* Part 1 */

.part1 {
    height: 80%;
}

.main {
    text-align: center;
}

.part1 button {
    width: 300px;
    height: 70px;
    font-size: 30px;
    font-weight: 700;
    margin-top: 30px;
    color: black;
    background-color: #c9fb01;
    border: none;
    cursor: pointer;
    font-family: "Sora", sans-serif;
}

.part1 button:hover {
    background-color: transparent;
    color: #C8FC01;
}

h1.main-title {
    font-weight: 400;
    color: #D0D7D1;
    font-size: 112px;
    text-align: center;
    margin-top: 200px;
}

.main-title img {
    width: 100px;
}

/* Part 2 */

.part2 .part2-title {
    position: relative;
}

.part2 .part2-title img {
    position: absolute;
    width: 80%;
    left: 0;
    right: 0;
    margin: auto;
}

.main h2 {
    font-weight: 400;
    color: #D0D7D1;
    font-size: 88px;
    text-align: center;
    padding-top: 250px;
}

.main h2 span {
    color: #C8FC01;
}

.app1 {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 170px;
}

.app2 {
    position: absolute;
    top: 60%;
    right: 10%;
    width: 180px;
}

.app3 {
    position: absolute;
    top: 60%;
    left: 10%;
    width: 131px;
}

.app4 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 132px;
}

.protfolio {
    display: flex;
    position: relative;
    width: 90%;
    margin: auto;
}

.protfolio .protfolio-left {
    width: 60%;
    margin-right: 10px;
}

.protfolio .protfolio-right {
    width: 40%;
    margin-left: 10px;
}

.protfolio img {
    width: 100%;
    margin-bottom: 20px;
}

footer {
    display: ruby-text;
    margin: 50px;
}

footer p, footer a {
    color: white;
    margin: 0;
}

footer div.footer-left{
    margin-bottom: 20px;
}

footer div.footer-right a {
    margin-right: 20px;
}

/* Adaptive */

@media screen and (max-width: 800px) {
    .part1 {
        height: 55%;
    }

    .app1 {
        width: 70px;
        top: 10%;
    }

    .app2 {
        width: 70px;
        top: 45%;
    }

    .app3 {
        width: 50px;
        top: 35%;
    }

    .app4 {
        width: 60px;
        top: 12%;
    }

    h1.main-title {
        font-size: 40px;
        margin-top: 70px;
    }

    .main h2 {
        font-size: 30px;
        padding-top: 70px;
    }

    .main-title img {
        width: 30px;
    }

    .part1 button {
        width: 200px;
        height: 50px;
        font-size: 20px;
    }

    .logo {
        width: 150px;
    }

    .protfolio {
        display: block;
        position: relative;
        width: 80%;
        margin: auto;
    }

    .protfolio .protfolio-left {
        width: 100%;
        margin-right: 0;
    }

    .protfolio .protfolio-right {
        width: 100%;
        margin-left: 0;
    }

    .protfolio img {
        width: 100%;
        margin-bottom: 20px;
    }
}