/*
font-family: 'Exo 2', sans-serif;
font-family: 'Gluten', cursive;
font-family: 'Roboto', sans-serif;
*/

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

html {
    scroll-behavior: smooth;
    background-color: #161616;
}

:root {
    /*Colors*/
    --colorWhite: #e1e1e1;
    --colorLightGrey: #dadada;
    --colorGrey: #6f6f6f;
    --colorDarkGrey: #1a1a1a;

    /*TypeFace*/
    --typefacePrimary: 'Roboto', Helvetica, sans-serif;

    /*Text Sizing*/
    --textSize1: 2.8rem;
    --textSize2: 2.5rem;
    --textSize3: 2rem;
    --textSize4: 1rem;

    /*Font Weight*/
    --weightLight: 300;
    --weightRegular: 400;
    --weightMedium: 500;
    --weightBold: 600;
}

h2,
h4,
h5 {
    font-weight: var(--weightBold);
    text-align: center;
}

h1,
h2,
header,
footer {
    letter-spacing: 2px;
}

h1 {
    font-size: var(--textSize2);
    font-weight: var(--weightRegular);
    line-height: 60px;
    margin-bottom: 50px;
    margin-top: 250px;
}

h1 strong {
    letter-spacing: 8px;
}

h2 {
    font-size: var(--textSize2);
    margin-bottom: 80px;
    line-height: 60px;
}

#contact h2 {
    width: 75%;
}

h3 {
    font-size: var(--textSize3);
    font-weight: var(--weightBold);
    margin-bottom: 25px;
}

p {
    font-size: var(--textSize4);
    margin-bottom: 15px;
    line-height: 1.5rem;
}

h1,
h2,
h3 {
    background: linear-gradient(90deg, var(--colorWhite), var(--colorGrey));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h1,
h2,
button {
    text-transform: uppercase;
}

.inline {
    display: inline-flex;
}


.button {
    padding: 15px 75px;
    border-radius: 40px;
    font-weight: var(--weightMedium);
    text-transform: uppercase;
    text-decoration: none;
    font-size: var(--textSize4);
    border: 1px solid var(--colorGrey);
    transition: .3s;
    color: #a1a1a1;
    background-color: #1a1a1a;
    margin: 0 20px;
}

.button:hover {
    transform: translateY(-3px);
    background-color: #161616;
}

.button:active {
    transform: translateY(-1px);
}

.button a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-2 {
    border-bottom: 1px solid var(--colorGrey);
    padding: 2px;
    transition: .3s;
    margin-right: 15px;
}

.button-2:hover {
    color: var(--colorWhite);
    border-color: var(--colorWhite);
}

i {
    margin-left: 6px;
    font-size: 16px;
}

img {
    width: 500px;
    height: 300px;
    margin-right: 25px;
}

.mobile {
    width: 300px;
    height: 300px;
    margin: 0 136px;
}

.container {
    width: 1000px;
    padding: 30px;
    border-radius: 10px;
    color: #a1a1a1;
    background-color: #1a1a1a;
    font-size: var(--textSize4);
    border: 1px solid var(--colorGrey);

    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.skills {
    margin: 80px 0;
    text-transform: uppercase;
}

.nbg {
    background-color: transparent;
    border: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cards {
    text-align: center;
    border-radius: 5px;
    color: #a1a1a1;
    background-color: #1a1a1a;
    font-size: 1.25rem;
    border: 1px solid var(--colorGrey);
    padding: 8px;
    width: 180px;
    margin: 5px 10px;
}

.container.active {
    opacity: 1;
    transform: translateY(0);
}

.gap {
    margin: 80px 0;
}

.gap:last-child {
    margin-bottom: 0;
}


.vertical {
    display: flex;
    flex-direction: column;
}

.horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
}

body {
    font-family: var(--typefacePrimary);
    color: var(--colorLightGrey);
}

main {
    background-attachment: fixed;
    background-color: #161616;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232e2e2e' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

header {
    background-attachment: fixed;
    background-color: #161616;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232e2e2e' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
    position: fixed;
    width: 80%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--colorGrey);
    transition: .3s ease-in-out;
    font-weight: var(--weightMedium);
    font-size: var(--textSize4);
    margin: 0 10%;
    padding: 25px 0px;
}

footer {
    width: 80%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--colorGrey);
    font-weight: var(--weightLight);
    font-size: var(--textSize4);
    color: var();
    margin: 0 10%;
    padding: 30px 0px;
}

header .mainMenu {
    display: flex;
    list-style: none;
    align-items: center;
    transition: .2s;
}

a {
    text-decoration: none;
    color: #a1a1a1;
}

header .mainMenu li a {
    color: var(--colorLightGrey);
    display: inline-block;
    margin-left: 50px;
    text-transform: uppercase;
    transition: .2s;
}


header .mainMenu li a:hover,
.logo:hover,
header .openMenu:hover {
    color: var(--colorWhite);
    text-shadow: 0 0 5px rgb(0, 0, 0);
}

header .openMenu {
    margin: 1px;
    display: none;
    cursor: pointer;
    transition: .2s;
}

header .mainMenu li a:active,
.logo:active,
header .openMenu:active {
    transform: scale(0.95);
}

header .mainMenu .closeMenu {
    display: none;
    cursor: pointer;
}

header .openMenu i,
header .mainMenu .closeMenu i {
    font-size: 1.5rem;
}


header .logo {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--colorLightGrey);
    transition: .2s;
}

.fa-globe {
    font-size: 35px;
    margin-right: 10px;
}


section {
    margin: auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section:nth-child(n + 2) {
    margin: 80px auto;
    border-top: 1px solid var(--colorGrey);
    padding: 80px 0;
}

#home {
    height: 80vh;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
}

.mobile {
    height: 200px;
}

@media (max-width: 1300px) {

    h1 {
        margin-top: 200px;
        font-size: var(--textSize3);
        width: 90%;
    }

    img {
        width: 400px;
        height: 250px;
        margin-right: 25px;
    }

    .mobile {
        width: 250px;
        height: 250px;
        margin: 0 72px;
    }

    header,
    footer,
    section {
        width: 88%;
    }

    header,
    footer {
        margin: 0 6%;
    }

    .container {
        width: 95%;
    }
}

@media (max-width: 768px) {

    header nav {
        position: absolute;
    }

    header .mainMenu {
        height: 50vh;
        position: fixed;
        top: 0px;
        right: 0px;
        left: 0px;
        z-index: 10;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #161616;
        transition: top 1s ease 0s;
        display: none;
        border-bottom: 1px solid var(--colorGrey);
    }

    header .mainMenu .closeMenu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    header .openMenu {
        display: block;
    }

    .mainMenu li {
        margin: 5px 0;
        padding: 10px;
    }

    header .mainMenu li a:hover,
    .closeMenu:hover {
        background: none;
        color: var(--colorWhite);
    }

    .icons i {
        display: inline-block;
        padding: 12px;
    }

    header,
    footer,
    section {
        width: 96%;
    }

    header,
    footer {
        margin: 0 2%;
    }

    .horizontal,
    .inline {
        flex-direction: column;
    }

    .inline {
        margin-top: 40px;
    }

    img {
        width: 100%;
        height: 100%;
        margin: 10px;
    }

    .mobile {
        width: 280px;
        height: 100%;
        margin: 10px;
    }

    #home .button {
        margin-top: 15px;
        padding: 15px 100px;
    }

    h1 {
        margin-top: 120px;
        margin-bottom: 0;
        width: 95%;
        line-height: 2.75rem;
    }

    h1 strong {
        letter-spacing: 4px;
    }

    h1,
    h2 {
        font-size: var(--textSize3);
    }

    .cards {
        width: 150px;
        margin: 3px 5px;
    }

    #contact h2 {
        width: 100%;
    }

    footer {
        flex-direction: column-reverse;
    }

    .copyright {
        margin: 20px 0;
    }

    header .mainMenu li a {
        margin: 5px 0;
        margin-left: 0px;
    }
}