@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

:root{
    --blue: #0652DD
}

html{
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto Mono", monospace;
}

#watermark{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .05;
    display: flex;
    justify-content: center;
    align-items: center;
}

#watermark img{
    width: 50%;
    max-width: 550px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    padding: 20px 30px 20px 20px;
    z-index: 99;
    background-color: red;
}

nav a {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    column-gap: 5px;
    padding: 5px 10px;
    border: 1px solid white;
}

.links{
    display: flex;
    column-gap: 20px;
    margin-left: auto;
}

.paper {
    position: absolute;
    inset: 0;
    background-image: url("../images/paper.jpg");
    opacity: .4;
    background-size: cover;
    z-index: -1;
}

#main {
    position: relative;
    margin: 100px 20px 20px 20px;
    padding-top: 50px;
    overflow: hidden;
}

nav img {
    width: 25px;
}

.logo {
    width: 140px;
    z-index: 100;
    background-color: white;
    padding: 10px;
    box-shadow: .1em .1em 1em 0px rgba(0,0,0,0.2);
    position: absolute;
    top: 10px;
}

.logo img {
    width: 100%;
}

h1 {
    text-align: center;
    font-family: "Bebas Neue", sans-serif;
    font-size: 13svw;
    line-height: 1;
    margin: 0;
    transform: translateY(-300px);
    animation: entrance 1.5s ease .3s forwards;
}

@keyframes entrance {
    0% {
        transform: translateY(-300px);
    }

    100% {
        transform: translateY(0px);
    }
}

.sharpie {
    background-color: red;
    position: absolute;
    top: 0%;
    bottom: 30%;
    left: -5%;
    width: 110%;
    z-index: -1;
}

.location {
    position: relative;
    display: inline-block;
    transform: translateY(-50px) rotate(-3deg) ;
}

.location p {
    text-align: center;
    margin-top: 0;
    font-size: 25px;
}

.side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    justify-content: center;
    margin: 0px 20px 20px 20px;
}

.side-by-side h2{
    background-color: #000;
    color: white;
}

.side-by-side .working {
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 480px;
}

h2 {
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    text-align: center;
    padding: 10px 0;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 5px;
}

.image1 p {
    font-size: 18px;
    text-align: right;
    text-transform: uppercase;
}

.image1 img {
    border: 1px solid black;
}

.service {
    margin-top: 20px;
    padding: 10px 0;
    border-bottom: 1px solid black;
    display: flex;
    column-gap: 20px;
    align-items: flex-start;
}

.service-num{
    font-size: 50px;
    color: var(--blue);
    line-height: 1;
    margin: 0;
    transform: translateY(-7px);
}

.service-icon {
    width: 20px;
}

.service-title {
    display: flex;
    column-gap: 10px;
}

.service-title p {
    margin: 0;
    font-weight: bold;
}

.marquee {
    --gap: 1rem;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
}

.marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: var(--gap);
    align-items: center;
    animation: scroll 20s linear infinite;
}

.marquee__content {
    list-style: none;
}

.marquee__content img {
    filter: grayscale(1);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

.logo1 {
    width: 100px;
}

.logo2 {
    width: 100px;
}

.logo3 {
    width: 50px;
}

.logo4 {
    width: 100px;
}

#section2 h2 {
    background-color: black;
    color: white;
    margin-bottom: 40px;
    border-bottom: 2px solid red;
}

.offer{
    width: 18px;
}

#ourStory {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: 40px;
    position: relative;
    border-top: 1px dashed black;
}

#ourStory h3, #partners h3 {
    text-align: center;
    font-family: "Bebas Neue", sans-serif;
    font-size: 10svw;
    line-height: 1;
    margin: 0;
    color: var(--blue);
}

#ourStory p {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: justify;
}

#services h3{
    text-align: center;
    font-family: "Bebas Neue", sans-serif;
    font-size: 10svw;
    line-height: 1;
    margin: 0;
    color: var(--blue);
}

#services .sub-title{
    font-family: "Bebas Neue", sans-serif;
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 0;
    position: relative;
    margin-bottom: 20px;
    padding: 0 20px;
}

#services .sub-title::after{
    content: "";
    position: absolute;
    height: 1px;
    background-color: black;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0%;
}

.services-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 20px;
    padding: 0 20px;
}

.service-item{
    display: flex;
    border: 1px solid black;
    padding: 15px;
    background-color: white;
}

.service-item div:first-child{
    font-size: 14px;
    font-family: "Bebas Neue", sans-serif;
    margin-right: 10px;
    color: red;
}

.service-item div:last-child{
    font-size: 25px;
}

.service-item div:last-child h4{
    margin: 0;
}

#partners{
    margin-top: 40px;
}

#partners .marquee{
    padding: 30px 0;
}

#partners h2{
    background-color: black;
    color: white;
    border-bottom: 2px solid var(--blue);
}

#partners img{
    filter: grayscale(0) !important;
    width: 150px;
}

#partners .logo3{
    width: 65px;
}

#amazing {
    position: relative;
    border-top: 1px dashed black;
    padding-top: 100px;
    padding-bottom: 100px;
}

.bye {
    font-family: "Bebas Neue", sans-serif;
    font-size: 10svw;
    text-align: center;
    line-height: 1;
    margin: 0;
}

.num {
    position: absolute;
    background-color: red;
    top: 40%;
    font-size: 40px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(5deg);
    white-space: nowrap;
}

.space {
    display: none;
}


@media (min-width: 1980px) {
    .services-grid{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .services-grid{
        grid-template-columns: 1fr 1fr;
    }

    .side-by-side {
        grid-template-columns: 1fr;
    }

    .image1{
        margin-top: 30px;
    }

    .location p {
        font-size: 11px;
    }

    #ourStory p {
        text-align: justify;
    }

    #section2 h2 {
        font-size: 18px;
    }

    .space {
        display: block;
    }
}

@media (max-width: 780px) {
    .services-grid{
        grid-template-columns: 1fr;
    }

    #main {
        margin: 0px 0px 0px 0px;
        padding-top: 100px;
    }

    h1{
        font-size: 18svw;
    }
    
    #welcome .side-by-side{
        margin-top: 30px;
    }

    .logo{
        position:absolute;
    }

    nav {
        padding: 15px 10px 15px 10px;
    }

    .logo {
        width: 50px;
    }

    .num {
        font-size: 30px;
    }

    .location p {
        font-size: 11px;
    }

    h2 {
        font-size: 18px;
        letter-spacing: 2px;
        padding: 5px 0;
    }

    #ourStory h3, #partners h3, #services h3 {
        font-size: 18svw;
    }

    #ourStory {
        font-size: 14px;
    }

    nav a {
        font-size: 14px;
        padding: 2px 10px;

    }

    .marquee {
        --gap: 3rem;
    }

    .marquee__content {
        margin: 0;
    }

    nav a {
        border: 1px solid black;
    }

    .bye{
        font-size: 12svw;
    }
}


@media (max-width: 580px) {
    #section2 h2 {
        font-size: 13px;
        letter-spacing: 0;
        border-top: 2px solid black;
        border-bottom: 2px solid black;
    }

    .location {
        transform: translateY(-20px) rotate(-4deg);
    }

    .location p {
        font-size: 12px;
    }

    .image1 p {
        font-size: 14px;
        text-align: center;
    }

    .num {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    #amazing {
        padding: 50px 0;
    }
}

#menu, #mobileMenu, #number{
    display: none;
}


@media (max-width: 580px) {
    .num {
        font-size: 14px;
        top: 45%;
    }

    .links{
        display: none;
    }

    #menu{
        margin-left: auto;
        display: block;
        margin-right: 10px;
        transform: translateY(3px);
        position: relative;
    }

    #number{
        display:block;
        position: absolute;left: 52%;transform: translate(-50%, -50%);top: 50%;font-weight: 900;
    }

    #menu.open #close{
        opacity: 0;
        transition: all .2s ease;
    }

    #menu.close #close{
        opacity: 1;
        transition: all .2s ease;
    }

    #menu.close #open{
        opacity: 0;
        transition: all .2s ease;
    }

    #menu.open #open{
        opacity: 1;
        transition: all .2s ease;
    }

    #close{
        position: absolute;
        inset: 0;
        opacity: 0;
    }

    #mobileMenu{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,.7);
        z-index: 9;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #mobileMenu.hide{
        transform: translateX(101%);
        transition: all .3s ease;
    }

    #mobileMenu.open{
        transform: translateX(0%);
        transition: all .3s ease;
    }

    .mob-menu{
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .mob-menu a{
        color: white;
        font-family: "Bebas Neue", sans-serif;
        font-size: 10svw;
        margin-bottom: 40px;
    }

    .mob-menu a:visited{
        color: white;
    }
    
}

.splide {
    margin-top: 50px;
}

.splide .splide__slide div{
    width: 300px;
    height: 300px;
    padding: 20px 0;
}

.splide img {
    border: 1px solid black;
    filter: grayscale(1);
    width: 100%;
    object-fit: cover;
}

.splide__arrow {
    border-radius: 0 !important;
    opacity: 1 !important;
    border: 1px solid #000 !important;
    width: 30px !important;
    height: 30px !important;
    background-color: #000 !important;
}

.splide__arrow svg {
    width: 20px !important;
    height: 20px !important;
    z-index: 99 !important;
    fill: #fff !important;
}


@media (max-width: 780px) {
    #ourStory{
        padding-bottom: 40px;
    }
}