/*************************
Home
*********************/

#home {
    position: relative;
    background-color: #070606;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100dvh - var(--nav-height));
}

#homeTitle {
    font-size: 70px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

#homeTitle span.orange {
    color: var(--orange);
}

#homeTitle span.white {
    color: white;
}

#homeParticles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#homeScroll {
    text-align: center;
    z-index: 1;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#homeScroll svg {
    cursor: pointer;
    color: white;
    width: 80px;
    height: auto;
}

@media (max-width: 1200px) {
    #homeTitle {
        font-size: 50px;
    }
}

@media (max-width: 1000px) {
    #homeTitle {
        font-size: 40px;
    }
}

@media (max-width: 800px) {
    #homeTitle {
        font-size: 30px;
    }
}

/***************************
About
 *********************/

#about {
}

#aboutBody {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    color: black;
}

#aboutBody p {
    padding-bottom: 20px;
}

/*****************
Services
 ******************/

#services {
    background-color: #f7f7f7
}

#servicesGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    width: 100%;
    margin: auto;
}

.servicesGridItem {
    border: 3px solid var(--light-orange);
    background-color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    transition: 0.3s top;
    top: 0;
    width: 100%;
    align-items: flex-start;
}

.servicesGridItem:hover {
    top: -10px;
}

.servicesGridItemIcon {
    color: black;
    margin-bottom: 10px;
    transition: 0.3s;
    height: 48px;
    width: auto;
}

.servicesGridItem:hover .servicesGridItemIcon {
    color: var(--orange);
}

.servicesGridItemTitle {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 8px;
}

.servicesGridItemDescription {
    font-size: 15px;
}

@media (max-width: 800px) {
    #servicesGrid {
        grid-template-columns: 1fr;
    }

    .servicesGridItem {
        max-width: none;
    }
}

/***************
Clients
*****************/

#clients {
}

#clientsGrid {
    display: flex;
    flex-wrap: wrap;
    max-width: 1150px;
    margin: auto;
    justify-content: center;
}

.clientsGridItem {
    display: flex;
    aspect-ratio: 3/2;
    width: 33.3%;
    transition: 0.3s;
}

.clientsGridItem:hover {
    opacity: 0.6;
}

.clientsGridItemPicture {
    display: flex;
}

.clientsGridItemPictureImage {
    max-height: 55%;
    object-fit: contain;
    max-width: 66%;
    margin: auto;
}

@media (max-width: 800px) {
    .clientsGridItem {
        width: 50%;
    }
}

/**********************
Contact
****************/

#contact {
    background-color: #f7f7f7;
}

#contactForm {
    display: none;
}

#contactForm.active {
    display: block;
    max-width: 500px;
    margin: 0 auto;
    border: 3px solid var(--light-orange);
    padding: 20px;
    background-color: white;
    width: 100%;
}

#contactForm [name] {
    font-size: 16px;
    display: block;
    width: 100%;
    padding: 15px;
    transition: 0.3s;
    margin-bottom: 15px;
    color: black;
    background-color: white;
    border: 3px solid rgba(0, 0, 0, 0.5)
}

#contactForm [name]:focus {
    border: 3px solid black;
}

#contactForm .cf-turnstile {
    margin-bottom: 15px;
}

#contactForm textarea {
    resize: none;
    height: 300px;
}

#contactForm button {
    display: block;
    width: 100%;
    margin: auto;
    background-color: black;
    padding: 20px 0;
    font-size: 20px;
    cursor: pointer;
    color: white;
    border: 3px solid black;
    transition: 0.3s;
    text-transform: uppercase;
}

#contactSuccess {
    display: none;
}

#contactSuccess.active {
    display: block;
    max-width: 500px;
    margin: 0 auto;
    border: 3px solid var(--light-orange);
    padding: 20px;
    background-color: white;
    width: 100%;
    font-size: 20px;
    text-align: center;
}