/* RESET */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

::-moz-selection {
    background: var(--orange);
    color: #fff;
}


::selection {
    background: var(--orange);
    color: #fff;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*:focus {
    outline: 0;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

p {
    color: var(--white);
    font-size: 1.6rem;
}

/* width */
::-webkit-scrollbar {
    width: .5vw;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--white);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--orange)
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #d37c0a;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scrollbar-color: var(--secondary-color) #fff;
    scrollbar-width: normal;
    scroll-behavior: smooth;
}

body {
    overflow: hidden;
    background-color: var(--black);
    position: relative;
}

body.no-scroll,
html.no-scroll {
    overflow: hidden;
}

#alertMsg {
    font-size: 14px;
}

img {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

a {
    text-decoration: none;
    display: inline-block;
    color: inherit;
    cursor: pointer;
}

button {
    cursor: pointer;
    outline: none;
    border: none;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
}

button[disabled] {
    cursor: default;
}

p {
    color: var(--txt);
    font-size: 2rem;
    line-height: 2.6rem;
    font-weight: 300;
}

a {
    color: var(--txt);
}

ul,
ol {
    list-style: none;
}

input,
textarea {
    font-family: inherit;
    resize: none;
}

/* HIDE ARROWS ON NUMBER INPUTS */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* RESET */

/* UTILITIES */
:root {
    --white: #fff;
    --black: #000;
    --purple: #6150FF;
    --orange: #F5900D;
    --txt: #050B20;
}

.container {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 150rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

nav{
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 20;
    padding: 3rem 0rem;
}
.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
    max-width: 90rem;
    width: 100%;
}
.nav-logo img{
    display: block;
}
.close-nav-popout{
    display: none;
}
.nav-links ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}
.nav-links ul li a{
    font-weight: 800;
    color: var(--white);
    font-size: 2rem;
    line-height: 3.2rem;
}
.hero-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}
.hero-container-left h1{
    font-size: 8.8rem;
    line-height: 9rem;
    color: var(--white);
    font-weight: 800;
    width: 100%;
    max-width: 78rem;
}
.hero-container-left h1 .orange{
    font-style: italic;
    color: var(--orange);
}
.hero-container-left h1 .purple{
    font-style: italic;
    color: var(--purple);
}
.hero-container-right p{
    font-size: 1.8rem;
    line-height: 2.4rem;
    color: var(--white);
    max-width: 58.6rem;
    margin-top: 10rem;
}
.hero-container-right-image{
    transform: translate(-8rem, -7rem);
}
.hero-container-left-buttons{
    display: flex;
    gap: 2.4rem;
}
.hero-container-left-buttons a:first-child {
    width: 27rem;
    height: 5.4rem;
    color: var(--white);
    border: 1x solid var(--orange);
    background-color: var(--orange);
    font-size: 2rem;
    font-weight: 800;
     display: flex;
    align-items: center;
    justify-content: center;
}
.hero-container-left-buttons a:last-child {
    width: 27rem;
    height: 5.4rem;
    color: var(--white);
    background-color: transparent;
    border: 1px solid var(--orange);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-container-right{
    transform: translateX(10rem);
}
.hero-section{
    position: relative;
}
.hero-background{
    position: absolute;
    top: 0;
    left: 0;
}
.hero-line{
    margin-top: 2rem;
    transform: translateX(18rem);
    margin-bottom: 4rem;
}
.about-section{
    padding-top: 13rem;
}
.about-container{
    position: relative;
}
.about-container > span{
    text-align: center;
    font-size: 2.4rem;
    line-height: 2.6rem;
    color: #686868;
    display: block;
}
.about-container h2{
    font-size: 6.4rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 6rem;
    text-align: center;
}
.about-container h3{
    text-align: center;
    font-size: 3.2rem;
    color: var(--white);
    line-height: 4rem;
    font-weight: 800;
    margin-bottom: 5rem;
}
.about-container h3 .orange{
    color: var(--orange);
}
.about-container h3 .purple{
    color: var(--purple);
}
.about-cards{
    display: flex;
    margin: 0 auto;
    max-width: 120rem;
    width: 100%;
    gap: 2rem;
}
.about-card{
    background-color: #101010;
    padding: 3.5rem;
    flex: 1;
}
.about-card-image{
    margin-bottom: 4rem;
}
.about-card h4{
    font-size: 2.8rem;
    line-height: 3.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    min-height: 6.5rem;
    color: var(--white);
}
.about-card p{
    font-size: 1.8rem;
    line-height: 2.6rem;
    color: var(--white);
}
.light-image{
    position: absolute;
    top: 5rem;
    right: 14rem;
}
.portfolio-section{
    padding-top: 17rem;
    position: relative;
}
.portfolio-container > span{
    text-align: center;
    font-size: 2.4rem;
    line-height: 2.6rem;
    color: #686868;
    display: block;
}
.portfolio-container h2{
    font-size: 6.4rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 6rem;
    text-align: center;
}
.portfolio-cards{
    display: flex;
    gap: 2.4rem;
    margin: 0 auto;
}
.portfolio-cards a{
    width: 100%;
    max-width: 34rem;
    height: 34rem;
    position: relative;
    display: block;
}
.portfolio-card-image{
    width: 100%;
    height: 100%;
}
.portfolio-card-image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portfolio-link{
    position: absolute;
    left: 50%;
    bottom: 0.8rem;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    padding: 2rem;
    background-color: rgba(0,0,0,0.93);
}
.portfolio-link p{
    font-size: 1.8rem;
    line-height: 2.6rem;
    color: var(--white);
    font-weight: 600;
}
.portfolio-link div{
    position: absolute;
    right: 3rem;
    top: 0;
    transform: translateY(-50%);
}
.portfolio-link div img{
    display: block;
}
.portfolio-background{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25rem;
}
.contact-section{
    padding-top: 19rem;
    padding-bottom: 9rem;
}

.contact-container > span{
    text-align: center;
    font-size: 2.4rem;
    line-height: 2.6rem;
    color: #686868;
    display: block;
}
.contact-container h2{
    font-size: 6.4rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 6rem;
    text-align: center;
}
.contact-container-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}
.contact-container-flex-text{
    max-width: 71rem;
    width: 100%;
}
.contact-container-flex-text > p{
    font-size: 1.8rem;
    line-height: 2.4rem;
    color: var(--white);
    margin-bottom: 5.5rem;
}
.contact-container-flex-text form{
    width: 100%;
}
.contact-container-flex-text form > div > div{
    width: 100%;
}
.contact-container-flex-text form > div{
    display: flex;
    gap: 2.4rem;
    margin-bottom: 2.4rem;
    width: 100%;
}
.contact-container-flex-text form > div input{
    width: 100%;
    background-color: #101010;
    padding: 1.5rem 2rem;
    color: #979797;
    font-size: 1.8rem;
    border: none;
}
.contact-container-flex-text form textarea{
     width: 100%;
    background-color: #101010;
    padding: 1.5rem 2rem;
    color: #979797;
    font-size: 1.8rem;
    border: none;
    height: 10.5rem;
}
.contact-container-flex-text form button{
    width: 100%;
    max-width: 20rem;
    height: 5.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--orange);
    font-size: 2rem;
    color: var(--white);
    font-weight: 800;
    margin-top: 2.4rem;
    margin-left: auto;
}
.footer-top{
    padding-top: 6rem;
    padding-bottom: 8rem;
    background-color: #101010;
    background-image: url('images/footer-background.png');
    background-repeat: no-repeat;
    background-size: cover;
}
.footer-top-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.footer-top-logo{
    margin-bottom: 6.5rem;
}
.hamburger{
    display: none;
}
.footer-top-container p{
    text-align: center;
    font-size: 1.8rem;
    color: var(--white);
    line-height: 2.6rem;
    margin-bottom: 0.5rem;
}
.footer-top-container a{
    font-size: 6.4rem;
    text-align: center;
    color: var(--white);
    font-weight: 800;
}
.copyright{
    display: flex;
    align-items: center;
    justify-content: center;
}
.copyright p{
    font-size: 1.8rem;
    line-height: 2.6rem;
    color: var(--white);
    padding: 1rem 0rem;
}
.footer-top-logo img{
    display: block;
}
@media only screen and (max-width: 1400px) {
    .hero-container-right-image{
        max-width: 44rem;
    }
    .hero-line{
        display: none;
    }
    .hero-container-left h1{
        margin-bottom: 7rem;
    }
    .hero-container-right{
        transform: translateX(0rem);
    }
    .hero-container-right-image{
        transform: unset;
    }
    .light-image{
        right: 0;
    }
}
@media only screen and (max-width: 1140px) {
    .light-image{
        display: none;
    }
}
@media only screen and (max-width: 1024px) {
    .hero-container{
        flex-direction: column;
        align-items: flex-start;
    }
}
@media only screen and (max-width: 850px) {
    .about-cards{
        flex-direction: column;
    }
    .portfolio-cards{
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media only screen and (max-width: 600px) {
    .hero-container-left-buttons{
        flex-direction: column;
    }
    .hero-container-right-image img{
        width: 100%;
    }
    .hero-container-left h1{
        font-size: 4.8rem;
        line-height: 6rem;
        margin-bottom: 3rem;
    }
    .hero-container-left-buttons a:first-child{
        max-width: 27rem;
        width: 100%;
    }
    .hero-container-right p{
        margin-top: 5rem;
    }
    .about-section{
        padding-top: 5rem;
    }
    .about-container h2 {
        font-size: 3.4rem;
        margin-bottom: 3rem;
    }
    .about-container h3{
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin-bottom: 3rem;
    }
    .about-card h4{
        font-size: 1.8rem;
        line-height: 2.4rem;
    }
    .about-card p, .hero-container-right p{
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
    .about-card-image{
        margin-bottom: 2rem;
    }
    .about-card h4{
        margin-bottom: 2rem;
    }
    .container{
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .about-card{
        padding: 3rem 2rem;
        display: flex;
        flex-direction: column;
        align-items:  center;
        text-align: center;
    }
    .portfolio-section{
        padding-top: 5rem;
    }
    .contact-container h2, .portfolio-container h2{
        font-size: 3.4rem;
    }
    .contact-section{
        padding: 5rem 0rem;
    }
    .contact-container-flex-image img{
        width: 100%;
    }
    .contact-container-flex{
        flex-direction: column;
    }
    .footer-top-container a {
        font-size: 2.4rem;  
    }
    .contact-container-flex-text form > div{
        flex-direction: column;
    }
    .copyright p{
        font-size: 1.6rem;
    }
    .hamburger{
        display: flex;
        width: 2.1rem;
        height: 2.1rem;
        justify-content: space-between;
        flex-direction: column;
        background-color: transparent;
    }
    .hamburger span{
        width: 100%;
        height: 0.2rem;
        background-color: var(--white);
    }
    .nav-links{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--black);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.5s ease;
    }
    .nav-links.active{
        transform: translateX(0rem);
    }
    .nav-links ul{
        flex-direction: column;
    }
    .nav-logo img{
        max-width: 20rem;
    }
    .close-nav-popout{
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 3rem;
        right: 3rem;
        width: 3rem;
        height: 3rem;
        background-color: transparent;
    }
    .close-nav-popout::before{
        position: absolute;
        content: "";
        width: 3rem;
        height: 0.2rem;
        transform: rotate(-45deg);
        background-color: var(--white);
    }
      .close-nav-popout::after{
        position: absolute;
        content: "";
        width: 3rem;
        height: 0.2rem;
        transform: rotate(45deg);
        background-color: var(--white);
    }
}