/* html tags */
html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(40, 40, 40);
    /* Bug: you could go to more right on iphone on home and services section, so decided to hide x-overflow */
    overflow-x: hidden !important;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 10px;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
    color: inherit !important;
}

.Scroll-cta {
    font-weight: 300;
    margin-bottom: 0px !important;
    margin-top: 10px !important;
    text-align: center;
}

.fa,
.fa-angle-down {
    font-size: 30px !important;
    /* margin-top: 42px; */
}

.fa-angle-down {
    /*take color of section*/
    color: inherit;
}

.wpcc-btn {
    color: white !important;
}

.wpcc-privacy {
    text-decoration: underline !important;
}

#particles-js {
    /* background-color: firebrick;
    height: 400px; */
}

/* .ball {
    position: absolute;
    border-radius: 100%;
    opacity: 0.7;
    z-index: 0;
} */


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    z-index: 1000;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky+#home {
    /*padding-top= ~130+ sticky addition in script.js*/
    padding-top: 130px;
}

/* #region Nav */
nav {
    /*default (for exact value 600px)*/
    display: none;
    flex-direction: row;

    justify-content: space-evenly;
    align-items: center;
    margin-right: 10px;
}

/*a inside nav*/
nav a {
    padding: 12px 3vw;
}

/*navitem active */
nav a.active {
    background-color: rgb(181, 181, 185);
}

@media screen and (min-width: 600.5px) {
    /*600+0.5px to avoid bug at same min/max-width. Note: put default outside coz same min/max-width bugs at exact value */

    /* OVERRIDE CLOSING BURGER MENU => HIDING NAV, THEN WIDENING SCREEN BACK TO PC WITHOUT NAV*/
    nav {
        display: flex !important;
    }
}

@media screen and (max-width: 600.5px) {
    body {
        /* disable scroll to left or right to side menu if "off main screen" (for animation) */
        overflow-x: hidden;
    }

    nav {
        /* display: none removes the entire element from the page and mat affect the layout of the page. visibility: hidden hides the element while keeping the space the same. */
        display: none;
        /* DONE IN JS at first with ismenuOpen=false, then flexed */

        width: 35%;
        margin: 0px;
        flex-direction: column;
        background-color: rgb(0, 0, 0);
        position: absolute;
        right: 0px;
        height: 60vh;
        top: 11vh;
        /* transform: translateX(100%); hidden at right of page */
    }

    .navopen {
        transform: translateX(0%);
        transition: transform 0.5s ease-in-out 0s;
    }

    /*a inside nav*/
    nav a {
        padding: 0px;
    }
}

@media screen and (min-width: 770px) {
    nav {
        margin-right: 60px !important;
    }
}

/* #endregion */

input,
textarea {
    margin: 8px !important;
    padding-top: 12px !important;
    padding-left: 12px !important;
    padding-right: min(350px, 40vw) !important;
}

input {
    padding-bottom: 12px !important;
}

textarea {
    padding-bottom: 100px !important;
}

footer {
    display: flex;
    justify-content: space-between;
    /* text-align: center; */
    /*top right bottom left*/
    padding: 14px 20px 4px 30px;
    /* margin-top: 100px; BAD. BETTER TO DO MARGIN-BOTTOM ON UPPER CONTAINER */
    background: rgb(50, 50, 50);
    color: #fff;
}

@media screen and (max-width: 560px) {
    footer {
        padding: 14px 10px 0px 15px;
        font-size: 14px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span {
    /* color: white; */
}

/* classes */

.Logo {
    text-decoration: none;
    padding: 12px;
    font-size: calc(1.375rem + 0.4vw) !important;
    margin-left: 10px;
}

@media screen and (min-width: 770px) {
    .Logo {
        margin-left: 30px !important;
    }
}

/* #region Buger Menu */
.menu-btn {
    position: relative;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

@media screen and (max-width: 600px) {
    .menu-btn {
        display: flex;
    }
}

@media screen and (min-width: 600.5px) {

    /* 600+0.5px to avoid bug at same min/max-width. */
    .menu-btn {
        display: none;
    }
}

.menu-btn-burger {
    width: 40px;
    height: 4px;
    background: #fff;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

.menu-btn-burger::before,
.menu-btn-burger::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 4px;
    background: #fff;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

.menu-btn-burger::before {
    transform: translateY(-16px);
}

.menu-btn-burger::after {
    transform: translateY(16px);
}

/* Animation */
.menu-btn.open .menu-btn-burger {
    transform: translateX(-40px);
    background: transparent;
}

.menu-btn.open .menu-btn-burger::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn-burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
}

/* #endregion */

.headline {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 50px;
    padding-left: 3px;
    padding-right: 3px;
    font-size: calc(2rem + 1.25vw);
    font-family: "Helvetica", "Roboto";
}

@media screen and (max-width: 520px) {
    .headline {
        /* font-size: calc(1.375rem + 1vw) !important; */
    }
}

#home {
    background-color: white;
    z-index: 100;
}

#home .headline {
    padding-top: 80px;
}

@media screen and (max-width: 520px) {
    #home .headline {
        padding-top: 50px;
    }
}

#typewriter {
    margin-bottom: 130px;
    font-size: 20px;
}

#typewriter>.cursor {
    border-right: 0.1rem solid rgb(0, 0, 0);
}

#services {
    background-color: white;
    color: black;
}

.servicesgrid {
    width: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
}

.bi {
    font-size: 60px;
    margin: 14px;
}

.servicecard {
    margin: 16px 30px;
    width: 250px;
    /* height: 220px; with card shadow*/
    height: 180px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 1rem;
    padding: 2.5rem 1.3rem;
    /* FOR BLACK BG */
    /* box-shadow: 0 6px 8px 3px rgb(0 0 0 / 10%); */
    /*FOR WHITE BG*/
    /* box-shadow: 0 3px 40px 3px rgb(255 255 255 / 100%); */
}

@media screen and (max-width: 768px) {
    .servicesgrid {
        flex-direction: column;
    }

    .servicecard {
        /* FOR BLACK BG */
        /* box-shadow: 0 1px 20px 1px rgb(255 255 255 / 100%); */
    }
}

#about {
    background-color: black;
    color: white;
}

.aboutgrid {
    /* keep width of parent at 100% and add margins to children, thank me later */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.left {
    margin-left: 1vw;
    width: 33%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; causes problems: overlaps content in responsive*/
}

@media screen and (max-width: 768px) {
    .aboutgrid {
        flex-direction: column;
    }

    .left {
        width: 100%;
        margin-bottom: 20px;
    }

    .right {
        width: 96% !important;
        margin-right: 0px !important;
    }

    #ppic {
        align-self: center;
        width: 200px;
        height: 200px;
    }
}

#ppic {
    border-radius: 50%;
    /* background: url("./assets/pp.jpg");
    width: 200px;
    height: 200px; */
}

.sociallinks {
    margin: 25px 0px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /* same as ppic to keep it aligned when going to bigger screens */
    /* max-width: 300px; */
}

.sociallinks i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;

}

.right {
    width: 67%;
    padding-left: 3vw;
    margin-right: 12px;
    max-width: 500px;
}

@media screen and (min-width: 950px) {
    .left {
        margin-right: 80px;
    }
}

#projects {
    background-color: white;
}

.container {
    height: 40vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 10px; */
}

.swiper-container {
    width: 95%;
    height: 55vh;
    margin-bottom: 50px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    background-position: center;
    background-size: cover;
    max-width: 300px;
    width: 300px;
    height: 300px;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    max-width: 300px;
    line-height: 2;
    width: 100%;
    height: 55vh;
    position: relative;
    border-radius: 10px;
    transition: 0.2s ease;
}

.card-title {
    text-align: center;
    margin-bottom: .25rem !important;
    font-size: 1.2rem;
}

.project_title {
    margin-bottom: 0.7rem;
    color: white;
    text-align: center;
    /* background-color: #00adff; */
}

.card-text {
    margin-left: 10px;
    margin-bottom: 1.4rem;
}

.productbtns_grid {
    margin: 0px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.productbtn {
    padding: 6px 20px !important;
    margin: 0px 6px;
}

.toolscontainer {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 10%;
}

.toolscontainer i {
    font-size: 50px;
}


.bundlecard {
    margin: 10px 40px;
    width: 300px;
    height: 350px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 1rem;
    padding: 2.5rem 1.3rem;
    box-shadow: 0 6px 8px 3px rgb(0 0 0 / 10%);
}

.bundle-title {
    font-size: 1.5rem;
}

.bundle_description {
    margin-top: 25px;
    margin-bottom: 50px;
}

.btn-primary {
    color: white !important;
}

.shinybtn {
    background-color: transparent !important;
    border-color: transparent !important;
    background: linear-gradient(90deg, rgb(100 69 238), rgb(255 0 142), rgb(255, 235, 59), rgb(3, 169, 244)) 0% 0% / 400%;
    animation: 8s linear 0s infinite normal none running animate;
}


#contact {
    background-color: black;
    color: white;
}

#contactform {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 42px;
}

#mailmessage {
    display: none;
    color: green;
    padding: 16px;
    font-size: 18px;
}

.submitbtn {
    padding: 10px 60px !important;
    margin: 8px;
}