:root {
    --primaryBackgroundColor: #161E22;
    --secondaryBackgroundColor: #172024;
    --footerBackgroundColor: #1a272c;
    --textColor: rgba(255,255,255,0.7);
    --darkBoxShadow: 0 20px 30px rgba(0,0,0,0.2), 0 -10px 20px rgba(0,0,0,0.4);
    --footerDarkBoxShadow: 0 -10px 20px rgba(0,0,0,0.4);
    --greenBoxShadow: 0 20px 30px rgba(54, 209, 23, 0.842), 0 -20px 30px rgba(54, 209, 23, 0.842);
    --blueBoxShadow: 0 20px 30px rgba(8, 226, 241, 0.76), 0 -10px 20px rgba(26, 190, 182, 0.4);
    --title: #50cfec;
    --btn: #50cfec;
    --btnHover: #43abc2;
    --linkColor: rgb(115, 245, 154);
}

@font-face {
    font-family: Poppins;
    src: url("../Fonts/Poppins/Poppins-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: Poppins-Thin;
    src: url("../Fonts/Poppins/Poppins-Thin.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: Montserrat;
    src: url("../Fonts/Montserrat/Montserrat-Light.ttf");
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    position: relative;
}

h2 { 
    font-family: Montserrat; 
    color: var(--title); 
    text-align: center; 
    padding-bottom: 20px;
    position: relative;
}
h3 { 
    font-family: 'Poppins'; 
    font-weight: 400;
    color: steelblue;  
    /* padding-bottom: 20px; */
    position: relative;
    font-size: 1.2rem;
}
h4 { 
    font-family: Poppins; 
    color: var(--title); 
    padding-bottom: 20px;
    position: relative;
}

h2:after {
    content: '';
    width: 50px;
    height: 1px;
    border: none;
    background-color: var(--title);
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translate(-50%);
}

p {
    padding: 10px;
    text-align: center;
    line-height: 2;
}

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

body {
    position: relative;
    background-color: var(--primaryBackgroundColor);
    color: var(--textColor);
}

a, a:visited, a:focus {
    color: var(--linkColor);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.btn {
    border: none;
    background-color: #720cb6;
    color: #eee;
    border-radius: 3px;
    cursor: pointer;
}
.btn:hover {
    background-color: #45066e;
    color: #eee;
}

.noScroll {
    overflow: hidden;
}

/* Header */
.header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 140px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    background-color: var(--primaryBackgroundColor);
    z-index:10;
    /* border-top: 2px solid steelblue; */
}

.headerImage {
    height: 100px;
    width: auto;
    margin: 20px auto;  
}

.lines {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 30px;
    height: 30px;
    /* border: 1px solid var(--textColor); */
    position: absolute;
    top: 30px;
    right: 20px;
}

.lines .line {
    height: 2px;
    width: 80%;
    background-color: var(--textColor);
}

.lines:hover .line {
    background-color:rgba(8, 226, 241, 0.76);
}

/* Mobile Menu */
.navMenu {
    display: flex;
    position: absolute;
    top: -160px;
    left: 0;
    right: 0;
    overflow:hidden;
    padding: 20px 0;
    border-bottom: 1px solid var(--title);
    background-color: var(--primaryBackgroundColor);
    transition: all 0.5s ease-in-out;
    z-index:3;
}

.navMenu.active {
    position: fixed;
    top: 140px;
}

.navitems {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    z-index:2;
}

.navitems .navitem {
    font-size: 1.2rem;
    color: var(--textColor);
    text-decoration: none;
    height: 50px;
    line-height: 50px;
    width: 100%;
    text-align: center;
    /* border-bottom: 1px solid #3f494b; */
}

.navitems .navitem:hover {
    color: var(--linkColor);
}

.bigNavMenu {
    display: none;
}

/* Content */
.wrapper:not(.index-wrapper) {
    padding-top: 180px;
}
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    font-size: 1rem;
    padding: 30px 0px 280px 0px;
    min-height: 400px;
    min-height: calc(100vh - 200px);
    max-width: 1000px;
    position: relative;
    background-color: var(--primaryBackgroundColor);
}
.wrapper::after {
    content: '';
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.5s ease-in-out;
    z-index:2;
}
.navMenu.active ~ .wrapper::after {
    display: block;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Used for scroll */
#marker {
    display: block;
    width: 100%;
    height:1px;
    position: absolute;
    top:0;
}

/* HOME - Intro */

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: url(../images/hero.jpg);
    background-size: cover;
    background-position: 75% top;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    
}
#hero .slogan {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    margin-left: 30px;
    margin-top: 180px;
    font-size: 3rem;
   
}
#hero .tagline {
    font-size: 1rem;
    color: #eee;
    letter-spacing: 2px;
    align-self: flex-start;
    margin-left: 30px;
    margin-top: 30px;
}
#hero .slogan span:nth-child(1) {
    color: rgb(240, 203, 238);
}
#hero .slogan span:nth-child(2) {
    color: rgb(176, 240, 195);
}
#hero .slogan span:nth-child(3) {
    color: rgb(241, 237, 176);
}

.banner {
    width: 100%;

}

.bigTitle {
    display:block;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    height: 100px;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.3);
    margin:0;
}

.bigTitleSub {
    display: block;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    font-size: 1.2rem;
    color:rgba(8, 226, 241, 0.76);
    letter-spacing:3px;
}

.textWrapper:not(.index) {
    font-size: 1rem;
    line-height: 2;
    padding: 0px 20px 0 20px;
}

.textWrapper p {
    font-size: 0.8rem;
    /* margin-top: 20px; */
}

.textWrapper.index p:first-of-type{
    margin-top: 30px;
}

.index.actionBtn {
    display: block;
    margin-top: 30px;
    background-color: steelblue;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    padding: 10px 30px;
}
.index.actionBtn:hover {
    background-color: rgb(45, 98, 141);
}

.card-container {
    display: grid;
    grid-column: auto;
    justify-content: center;
    width: 100%;
    height: auto;
    /* margin-top: 50px; */
    margin-bottom: 50px;
}

/* HOME - Cards */
.card {
    display: flex;
    width: 300px;
    height: 400px;
    border: none;
    border-bottom: 1px solid var(--title);
    box-shadow: var(--darkBoxShadow);
    background-color: var(--secondaryBackgroundColor);
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 25px;
    font-size: 0.8rem;
    position: relative;
    transition: all 0.5s;
    z-index: 1;
}

.card:hover { 
    margin-top: 40px;
    margin-bottom: 35px;
    /* transform: perspective(600px) rotateY(10deg) rotateX(10deg);  */
}

.card:hover::before, .card:hover::after {
    opacity: 1;
}
.card::before {
    opacity: 0;
    content: '';
    width: 310px;
    height: 410px;
    border-radius: 6px;
    background: rgb(61,43,214);
    background: linear-gradient(51deg, rgba(61,43,214,1) 0%, rgba(176,27,218,1) 49%, rgba(210,36,111,1) 74%, rgba(86,200,41,1) 100%);
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: -1;
    transition: opacity 0.5s;
}
.card::after {
    opacity: 0;
    content: '';
    width: 316px;
    height: 416px;
    background: rgb(61,43,214);
    background: linear-gradient(51deg, rgba(61,43,214,1) 0%, rgba(176,27,218,1) 49%, rgba(210,36,111,1) 74%, rgba(86,200,41,1) 100%);
    filter: blur(15px);
    position: absolute;
    left: -3px;
    top: -3px;
    z-index: -2;
    transition: opacity 0.5s;
}

.card h4 {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 20px;
}
.card p {
    padding: 10px;
    line-height: 1.7;
}
.topOfCard, .bottomOfCard {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%;
    padding: 10px 10px;
    /* z-index:50; */
}
.topOfCard {
    height: 50%;
    background-color: var(--secondaryBackgroundColor);
}
.bottomOfCard {
    height: 50%;
    background-color: var(--secondaryBackgroundColor);
}

/* HOME - Responsive Section */
.responsive img {
    display: block;
    margin: 10px auto;
    width: 80%;
    height: auto;
}

/* HOME - Domain Section */
.domain img {
    display: block;
    margin: 10px auto;
    width: 96%;
    height: auto; 
}

/* HOME - Contact Form Section */
.contact img {
    display: block;
    margin: 10px auto;
    width: 100%;
    height: auto;
}

/* HOME - Email Section */
.email img {
    display: block;
    margin: 10px auto;
    width: 40%;
    height: auto;
}

.emailLink {
    color: var(--linkColor);
}

/* HOME - SEO Section */
.seo img {
    display: block;
    margin: 20px auto;
    width: 80%;
    height: auto;
}

/* HOME - Social Media Section */
.social img {
    display: block;
    margin: 10px auto;
    width: 100%;
    height: auto;
}

/* HOME - Cherry on the Cake */
.cherry {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cherryRing {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 136px;
    height: 136px;
    border-radius: 50%;
    border: 2px solid var(--title);
    margin-bottom: 20px;
    margin-top: 20px;
}

.cherry img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.cherry p {
    color: var(--textColor);
    font-size: 0.8rem;
    margin-bottom: 30px;
    padding: 20px 30px;
}

/* ABOUT Page */
.textWrapper.about {
    margin-bottom: 50px;
}

.textWrapper.about p {
    font-size: 0.8rem;
}

h3.subtitle {
    text-align: center;
    margin: 30px 15px 0 15px;
}

/* FAQ Page */
.faqCards {
    box-shadow: var(--darkBoxShadow); 
    margin-bottom: 50px;
}

.faqText {
    padding-bottom: 50px;
}

.faqText h2 {
    margin-bottom: 50px;
}

.faqCard {
    display: block;
    overflow: hidden;
    /* margin-bottom: 30px; */
    position: relative;
    cursor: pointer;
    max-height: 80px;
    min-width: 310px;
    border-bottom: 1px dotted #504d52;
    /* box-shadow: var(--darkBoxShadow);  */
    transition: all 1s ease;
}
.faqCard:last-child {
    border: none;
}

.faqDownArrow {
    position: absolute;
    color:rgba(255,255,255,0.5);
    right: 50%;
    bottom: 7px;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 1s ease;
}

.faqCard h3.subtitle {
    display: block;
    width: 100%;
    font-size: 0.9rem;
    color:rgba(255,255,255,0.5);
    height: 80px;
    line-height: 80px;
    margin: 0;
    padding: 0 20px;
    pointer-events: none;
}

.faqCard:hover  h3.subtitle, .faqCard:hover .faqDownArrow {
    color: var(--linkColor);
}

.faqCard p {
    font-size: 0.8rem;
    margin:0;
    padding: 0 20px 20px 20px;
}

.faqCard.active {
    max-height: 1000px;
}

.faqCard.active h3.subtitle, .faqCard.active .faqDownArrow {
    color: var(--linkColor);
} 

.faqCard.active .faqDownArrow {
    transform: rotate(180deg);
}
 /* Portfolio Page */
 .portfolio {
    width: 90%;
    max-width: 1000px;
 }

 .portfolioCard {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
 }

 .portfolioCard .monitor {
    width: 200px;
    min-width: 200px;
    height: 90px;
    border: 5px solid #000000;
    border-radius: 10px;
    margin-right: 20px; 
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(255,255,255,0.5);
 }

 .portfolioCard .mobile {
    width: 50px;
    min-width: 50px;
    height: 90px;
    border-top: 6px solid #000000;
    border-bottom: 8px solid #000000;
    border-left: 3px solid #000000;
    border-right: 3px solid #000000;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(255,255,255,0.5);
 }

.portfolioCard .monitor img {
    width: 100%;
    object-fit: cover;
}

.portfolioCard .mobile img {
    width: 100%;
    object-fit: cover;
}

.portfolioContainers {
    width: 100%;
    padding: 10px 0 0 0;
}

.portfolioContainers:not(:last-child) {
    border-bottom: 1px dotted #504d52;
}

.portfolioContainers a, .portfolioContainers a:focus, .portfolioContainers a:visited {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    line-height: 5;
    text-align: center;
    text-decoration: none;
    color: rgba(255,255,255,0.5);
}

.portfolioContainers a:hover {
    color:var(--linkColor);
}

/* Privacy Policy Page */
.privacyPolicy p a {
    text-decoration: none;
    color: var(--linkColor);
}

.privacyPolicy p a:hover {
    text-decoration: underline;
}

.scrollerBtn {
    display: block;
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 30px;
    height: 40px;
    border-radius: 3px 3px 3px 3px;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    border: none;
    overflow: hidden;
    z-index: 10;
}
.scrollerBtn i {
    height: 100%;
    width: 100%;
    line-height: 35px;
    background-color: rgba(143, 239, 186, 1); 
    color:rgb(23, 77, 47); 
    border-radius: 3px 3px 3px 3px;
}
.scrollerBtn:visited .scrollerBtn i, .scrollerBtn:focus .scrollerBtn i {
    color:rgba(143, 239, 186, 1); 
}
footer {
    display: block;
    width: 100%;
    height: 260px;
    line-height: 30px;
    font-size: 0.9rem;
    background-color: var(--primaryBackgroundColor);
    color: rgba(255,255,255,0.3);
    text-align: center;
    position: absolute;
    bottom: 0;
    /* border-top: 1px solid #444; */
    box-shadow: var(--footerDarkBoxShadow);
}

footer a.footerImage {
    display: block;
    height: 60px;
    width: 60px;
    margin: 0 auto;
}

footer img {
    display: block;
    height: 60px;
    margin: 20px auto;
    opacity: 0.7;
}
.copyright {
    display:block;
    height: 50px;
    width: 100%;
    text-align: center;
    line-height: 3.5;
    margin: 30px 0;
}
.footerNav {
    display: flex;
    flex-wrap: wrap;
    min-height: 80px;
    overflow: hidden;
    width: 80%;
    max-width: 800px;
    align-items:center;
    justify-content: space-around;
    margin: 0 auto;
}
.footerNav a, .footerNav a:visited, .footerNav a:focus {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: steelblue;
    transition: color 0.2s ease-in-out;
}
.footerNav a:hover {
    color: orange;
}

/* Contact Page */
.contactFormMsg {
    display: block;
    width: 100%;
    height: auto;
    text-align: center;

}
.contactFormMsg .msgError {
    display: block;
    width: 100%;
    line-height: 4;
    background-color: pink;
    border: none;
    color: red;
    font-size: 0.8rem;
    margin-bottom: 10px; 
}
.contactFormMsg .msgSuccess {
    display: block;
    width: 100%;
    line-height: 4;
    background-color: rgb(218, 245, 183);
    border: none;
    color: #000000;
    font-size: 0.8rem; 
    margin-bottom: 10px;
}

.contactForm {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}
/* General Input Styling */
.contactForm input[type="text"], .contactForm input[type="email"], .contactForm textarea {
    outline: none;
    font-size: 0.9rem;
    border: 1px solid #3d3c3c;
    background-color: transparent;
    margin: 10px 5px;
    padding: 14px 14px;
    color: #eee;
    caret-color: var(--title);
    resize: none;
}

.contactForm input[type="submit"] {
    margin: 10px 5px;
    padding: 10px 14px;
}

.inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.contactForm .inputs input,  .contactForm .inputs textarea {
    width: 100%;
}


/* Input's dynamic 'Placeholder' text */
.contactForm .inputs span {
    display: block;
    font-size: 0.8rem;
    color: rgb(126, 122, 122);
    position: absolute;
    top: 24px;
    left: 15px;
    pointer-events: none;
    text-transform: uppercase;
    transition: 0.2s;
}

/* If populated with valid content or not empty - empty placeholders used for inputs */
.contactForm input:valid ~ span, .contactForm input:not(:placeholder-shown) ~ span, .contactForm textarea:valid ~ span {
    font-size: 0.5rem;
    letter-spacing: 1px;
    background-color: var(--primaryBackgroundColor);
    color: rgb(126, 122, 122);
    padding: 0 10px;
    top: 4px;
}

/* When focusing on inputs */
.contactForm input:focus, .contactForm textarea:focus {
    border: 1px solid var(--title);
}

/* Spans when focusing on inputs */
.contactForm input:focus ~ span, .contactForm textarea:focus ~ span {
    color: var(--title);
    font-size: 0.5rem;
    letter-spacing: 1px;
    background-color: var(--title);
    border: 1px solid #50cfec;
    color: rgba(0,0,0,0.5);
    padding: 0 10px;
    top: 4px;
}

/* Hidden input for spam filtering */
.formCheck {
    display: none;
    visibility: hidden;
}

/* recaptcha */
.g-recaptcha {
    margin: 10px 0;
    width: 100%;
}



/* 
    DEVICE SCREENS  
    ============== 
    
    REMEMBER: Mobile First Design! 
    Anything smaller than 820px wide is styled above in the main styling.
*/

/* Tablets - on screens bigger that 1000px wide */
@media screen and (min-width: 1000px) {
    
    #mobileMenuBtn {
        display: none;
    }

    .header {
        flex-direction: column;
        align-items: center;
        height: 200px;
    }

    .headerImage {
        height: 100px;
        margin: 10px auto 0 auto;
    }

    .wrapper:not(.index-wrapper) {
        padding-top: 220px;
    }

    .bigNavMenu {
        display: flex;
        flex-direction: row;
        height: 32px;
        align-items: center;
        justify-content: space-between;
        width: 950px;
        margin: 34px 0 0 0;
    }

    .bigNavMenu a, .bigNavMenu a:visited, .bigNavMenu a:focus {
        margin: 0 20px;
        height: 30px;
        line-height: 2;
        text-decoration: none;
        color: steelblue;
        transition: color 0.2s ease-in-out;
    }

    .bigNavMenu a:hover {
        color: orange;
    }

    .bigNavMenu a.actionBtn, .bigNavMenu a.actionBtn:visited, .bigNavMenu a.actionBtn:focus {
        background-color: steelblue;
        border: none;
        border-radius: 3px;
        color: #ffffff;
        padding: 2px 10px;
        font-size: 1rem;
    }
    .bigNavMenu a.actionBtn:hover {
        background-color: rgb(45, 98, 141);
    }

    .index.actionBtn {
        display: none;
    }

    .card-container {
        grid-template-columns: 33% 34% 33%;
        justify-items: center;
        margin-top: 50px;
    }

    .card {
        font-size: 1rem;
    }

    .textWrapper {
        padding: 50px 0 20px 0;
    }

    .textWrapper p {
        font-size: 1rem;
        text-align: left;
    }

    .cherry p {
        padding: 20px 100px;
    }

    /* Cards Effect on Desktop View */
    .card:nth-child(1):hover, .card:nth-child(4):hover {
        transform: perspective(600px) rotateY(10deg) rotateX(10deg); 
    }
    
    .card:nth-child(2):hover, .card:nth-child(5):hover {
        transform: perspective(600px) rotateX(10deg);
    }
    .card:nth-child(3):hover, .card:nth-child(6):hover {
        transform: perspective(600px) rotateY(-10deg) rotateX(10deg);
    }

    h3.subtitle {
        text-align: left;
        margin-left: 10px;
    }

    .bigTitle {
        font-size: 7rem;
        height: 150px;
        line-height: 1.5;
        margin: 0;
    }
    .bigTitleSub {
        font-size: 2rem;
        letter-spacing: 10px;
        margin-bottom: 50px;
    }
    p {
        font-size: 0.9rem;
    }

    /* About */
    .textWrapper.about p {
        font-size: 1rem;
    }

    /* Contact Page - 1000px + */
    .contactForm {
        width: 800px;
    }
    .inputs {
        width: 100%;
    }

    /* FAQs Page */

    .faqCard h3.subtitle {
        font-size: 1rem;
    }

    .faqDownArrow {
        right: 20px;
        bottom: 33px;
    }
    .faqCard.active .faqDownArrow {
        bottom: 10px;
    }

    /* Portfolio Page */
    .portfolioCard .monitor {
        width: 400px;
        height: 170px;
    }

    .portfolioCard .mobile {
        width: 80px;
        height: 170px;
    }

    .portfolioContainers a {
        font-size: 1rem;
    }

    #hero {
        background-position: center 25%;
    }
    
    #hero .slogan {
        display: flex;
        flex-direction: row;
        align-self: center;
        position: relative;
        font-size: 4rem;
        gap: 20px;
    }
    #hero .slogan span {
        left: 30px;
    }
    #hero .tagline {
        font-size: 2rem;
        align-self: center;
        margin-top: 30px;
    }
}

/* Mobiles - on screens between 820px and 999px wide */
@media screen and (min-width: 820px) and (max-width: 999px) {

    .card-container {
        grid-template-columns: 50% 50%;
        justify-items: center;
    }

    #hero {
        background-position: center 35%;
    }
    
    #hero .slogan {
        display: flex;
        flex-direction: row;
        align-self: center;
        position: relative;
        gap: 20px;
    }
    #hero .slogan span {
        left: 30px;
    }
    #hero .tagline {
        font-size: 1rem;
        align-self: center;
        
        margin-top: 30px;
    }


}