/* GENERAL */
body, html {
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh;
}

.container {
    background-color: #000D27;
}

/* HEADER */
.header {
    background-color: #000D27;
    padding: 0px 8vw;
    height: 20vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__menu {
    display: none;
}

.header__close {
    display: none;
}

#menu:target {
    display: flex;
    transform: translateY(0);
}

.header__logo {
    width: 40px;
    height: 40px;
    opacity: 1;
    transition: all ease 0.3s;
}

.header__logo:hover {
    opacity: 0.75;
}

.header__list {
    display: flex;
}

.header__link {
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    margin-left: 40px;
    padding: 20px;
    transition: all ease 0.2s;
}

.header__link--current, .header__link:hover {
    color: #0055FF;
}

/* HOME */
.home {
   background-color: #000D27;
   background-image: url('../images/background.svg');
   background-repeat: no-repeat;
   background-size: contain;
   background-position: center;
   padding: 0 8vw;
   height: 80vh;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
}

.home__main {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.home__logo {
    width: 175px;
    height: 175px;
    margin-bottom: 40px;
}

.home__title {
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    line-height: 45px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.home__tagline {
    font-size: 25px;
    text-align: center;
    line-height: 30px;
    color: #fff;
    font-style: italic;
    margin-bottom: 100px;
}

.home__footer {
    position: relative;
    bottom: 0px;
}

.home__down {
    width: 100px;
    height: 100px;
}

/* INTRODUCTION */
.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 8vw 200px 8vw;
    background-color: #0055FF;
}

.intro__picture {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    margin-bottom: 40px;
}

.intro__title {
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    line-height: 45px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;

}

.intro__firstname {
    color: #000D27;
    font-weight: 700;
}

.intro__text {
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    max-width: 850px;
    text-align: center;
    line-height: 30px;
}

/* SKILLS */
.skills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: -100px;
    margin: -100px 8vw 0px 8vw;
}

.skills__design {
    border-right: 2px solid #001E59;
    border-radius: 10px 0 0 10px;
}

.skills__development {
    border-radius: 0 10px 10px 0;
}

.skills__design, .skills__development {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #000D27;
    min-width: 300px;
    min-height: 100%;
    flex: 1;
    margin-bottom: 120px;
    padding: 40px 80px;
}

.skills__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.skills__title {
    font-size: 35px;
    color: #0055FF;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 50px;
    text-align: center;
}

.skills__description {
    font-size: 20px;
    font-weight: 300;
    text-align: center;
    line-height: 30px;
    color: #fff;
    margin-bottom: 80px;
}

.skills__subtitle {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    line-height: 40px;
    color: #0055FF;
    margin-bottom: 20px;
}

/* PORTFOLIO */
.portfolio {
    margin-bottom: 100px;
}

.portfolio__header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 8vw 60px 8vw;
}

.portfolio__icon {
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

.portfolio__title {
    font-size: 35px;
    color: #000D27;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 50px;
    text-align: center;
}

.portfolio__container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 8vw;
}

.portfolio__work {
    position: relative;
    width: 40vw;
    height: 25vw;
    border-radius: 10px;
    margin-bottom: 2.7vw;
}

.portfolio__img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* FOOTER */
.footer {
    background-color: #0055FF;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 50px 8vw;
    border-radius: 10px 10px 0 0;
}

.footer__section {
    display: flex;
    align-items: center;
}

.footer__link {
    width: 30px;
    height: 30px;
    background-color: #000D27;
    transition: all ease 0.3s;
    padding: 15px;
    margin-left: 20px;
    border-radius: 50px;
}

.footer__link:hover {
    background-color: #001E59;
}

.footer__logo {
    width: 75px;
    height: 75px;
    margin-right: 20px;
}

.footer__tagline {
    font-size: 25px;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    margin-bottom: 10px;
}

.footer__copyright {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    opacity: 0.5;
}

/* SCROLLBAR */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
background-color: #0055FF;
border: 2px solid #004de7;
}

/* RESPONSIVE */
@media (max-width: 1108px) {
    .skills__development {
        border-radius: 0 0 10px 10px;
    }

    .skills__design {
        border-radius: 10px 10px 0 0;
        margin-bottom: 0px;
        border: initial;
        border-bottom: 2px solid #001E59;
    }
}

/* PHONE VERSION */
@media (max-width: 900px) {
    .home {
        background-image: url('../images/background-mobile.svg');
    }

    /* burger menu button */
    .header__menu {
        display: block;
        width: 50px;
        height: 50px;
    }

    .header__nav {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 0;
        width: 50vw;
        padding: 30px 50px;
        background-color: #001E59;
        border-radius: 0 0 0 10px;
        transform: translateY(-100%);
        transition: transform 0.2s ease;
    }

    /* burger menu closing button */
    .header__close {
        display: block;
        width: 50px;
        height: 50px;
        align-self: center;
        margin-bottom: 40px;
    }

    .header__link {
        margin-left: inherit;
    }

    .header__list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .header__list li {
        display: flex;
    }
}

@media (max-width: 550px) {
    .header__nav {
        display: flex;
    }

    .skills {
        margin: -100px 0 0 0;
    }

    .skills__design, .skills__development {
        border-radius: 0;
        min-width: inherit;
        padding: 40px;
    }
    .portfolio__icon {
        margin: initial;
        margin-bottom: 10px;
    }
    .footer__section {
        flex-direction: column;
    }
    .footer__logo {
        margin: initial;
        margin-bottom: 20px;
    }
    .footer__tagline, .footer__copyright {
        text-align: center;
    }
    .footer__link {
        margin: 0 20px;
    }
}

@media (max-width: 645px) {
    .portfolio__work {
        width: 84vw;
        height: 52.5vw;
        margin-bottom: 8vw;
    }

    .footer {
        flex-direction: column;
    }

    .footer__section {
        margin-bottom: 40px;
    }
}
