/* global */
@import url('https://fonts.googleapis.com/css?family=Roboto');

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.flexi {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin-bottom: 5px;
}

:root {
    color-scheme: dark;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: light-dark(#3e3e3e, #84848c);
    background-color: light-dark(#e4e4e4, #191919);
}

button {
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid #959595;
    padding: 8px;

}

button:hover {
    background-color: #acacac;
    color: white;
}

.footer {
    position: fixed;
    background-color: light-dark(#cfcfcf, #232323);
    right: 0;
    bottom: 0;
    text-align: center;
    width: 100%;
    font-size: 14px;
}

canvas {
    position: fixed;
    filter: blur(3px);
    z-index: -1;
    width: 100%;
    height: 100%;
}

h2,
.white {
    color: light-dark(#3e3e3e, #dfdfdf);
}

a {
    color: #7A7C80;
    text-decoration: none;
}

/* section 1 */
.section-1 {
    padding-top: 40vh;
    text-align: center;
}

.section-1 p {
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin: 0;
}

.section-1 h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.section-1 a {
    font-size: 1.5rem;
    padding: 10px;
}

/* section 2 */
.section-2 {
    padding-top: 10vh;
    width: 80%;
}

.section-2 h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    padding-left: 50px;
}

.section-2 p {
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin: 0;
}

.section-2 a {
    padding: 5px 5px 5px 0;
    width: 100px;
}

/* animations / utilities */
.section-2 a:hover {
    color: light-dark(#2e2e2e, #dfdfdf);
    cursor: pointer;
    transition: 0.2s;
}

.section-1 a:hover {
    color: light-dark(#3e3e3e, #dfdfdf);
    cursor: pointer;
    transition: 0.3s;
}

.white:hover {
    position: relative;
    padding-left: 10px;
}

.title-main {
    font-family: 'Arial Black', cursive;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
    cursor: default;
    font-size: 3rem;
    background-color: #666666;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: rgba(255, 255, 255, 0.5) 0 3px 3px;
}

/* media queres */
@media screen and (max-device-width: 1080px){
    html {
        font-size: 28px;
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
    }
    body {
        font-size: 1.5rem;
    }

    button {
        font-size: 1.2rem;
        cursor: pointer;
        border-radius: 12px;
        border: 2px solid #959595;
        padding: 14px;

    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .section-1 {
        padding: 5rem 0 0;
    }

    .section-2 {
        padding: 2rem 0 0 1.5rem;
    }

    .section-2 h2{
        padding-left: 20px;
    }
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

.tabcontent {
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}