@import url('https://fonts.googleapis.com/css?family=Varela+Round');

:root {
    --red: #ff002b;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Varela Round';
    box-sizing: border-box;
}

body {
    background: #080808;
    color: #fff;
    overflow-x: hidden;
}

#background {
    position: absolute;
    width: 100%;
    height: 95%;
    z-index: -2;
}

#header {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

#helper {
    color: #fff;
    position: absolute;
    bottom: 20px;
    font-size: 20px;
    left: 20px;
    opacity: 0.2;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 100%;
}

.container canvas {
    width: 60vw;
    height: 100vh;
}

nav ul li {
    width: 100%;
    text-align: center;
    display: inline-block;
    list-style: none;
    margin: 20vh 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    margin-right: 46px;
    font-size: 24px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--red);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    top: 0;
    margin-top: 20vh;
    font-size: 30px;
}

.header-text h1 {
    font-size: 60px;
    margin-top: 20px;
}

.header-text p {
    position: relative;
    margin-top: 20px;
}

.header-text h1 span {
    color: var(--red);
}

.nav-container {
    height: 100vh;
}

.nav-container .socials {
    position: absolute;
    width: max-content;
    bottom: 36px;
    height: fit-content;
    margin-left: 130px;
}

.nav-container .socials .link {
    display: inline-block;
    vertical-align: bottom;
    list-style: none;
    margin-right: 20px;
    height: fit-content;
}

.nav-container .socials .link h3 {
    text-align: center;
    height: 50px;
    font-size: 16px;
    font-weight: 200;
    line-height: 2.6;
}

.nav-container .socials .link img {
    height: 50px;
}

#about {
    padding: 80px 20px;
    height: 100vh;
    color: #ababab;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.about-col-1 {
    flex-basis: 35%;
    margin: 20px;
}

.about-col-1 img {
    height: auto;
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.about-col-2 {
    flex-basis: 60%;
    padding: 20px;
}

.sub-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 14px;
    color: white;
}

.about-col-2 p {
    font-size: 18px;
}

.about-col-2 p span {
    /* color: var(--red); */
    /* font-size: 19px; */
}


.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--red);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    /* margin: 10px 0; */
    font-size: 16px;
    line-height: 1.3;
}

.tab-contents ul li span {
    color: var(--red);
    /* ff004f */
    font-size: 18px;
    line-height: 2.0;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

.header-text {
    margin-right: 20px;
}

@media only screen and (max-width:1000px) {
    .header-text {
        margin-top: 20vh; /* Moves the text 20% from the top */
        margin-left: 10vw;
        text-align: center; /* Centers text content */
        font-size: 40px;
    }
    
    .header-text h1 {
        font-size: 100px;
        margin-top: 20px;
    }

    nav ul li {
        margin: 15vh 5vw;
        display: grid;
    }

    nav ul li a {
        margin-top: 50px;
        font-size: 40px;
    }

    .row {
        display: grid;
        width: 100%;
        margin-bottom: 100px;
        justify-content: space-between;
    }

    .about-col-1 {
        width: 100%;
        text-align: center;
    }

    .about-col-1 img {
        height: auto;
        width: 100%;
        padding: 10px;
        margin-left: 0;
        margin-bottom: 20px;
        border-radius: 15px;
    }

    .about-col-2 {
        padding-right: 0;
        padding: 30px;
    }

    .about-col-2 p {
        font-size: 16px;
    }

    .about-col-2 .sub-title {
        margin-bottom: 30px;
    }

    .tab-titles {
        margin-top: 100px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab-links {
        margin: 10px;
    }

    .tab-contents ul li {
        margin: 30px 0;
        font-size: 16px;
    }

    .tab-contents ul li span {
        font-size: 18px;
    }

    #background {
        height: auto;
    }
}
