/* ---------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- BASE --- --- --- --- --- --- --- --- --- */
/* ---------------------------------------------------------------------------- */

/* --- COMMON BREAKPOINTS --- */
/* HD screens */
@media only screen and (min-height: 900px) and (min-width: 1500px){}
/* FullHD screens */
@media only screen and (min-height: 1000px) and (min-width: 2400px){}
/* UltraHD screens */
@media only screen and (min-height: 2000px) and (min-width: 3500px) {}

/* Laptop screens */
@media only screen and (max-height: 900px) {}
/* Medium devices / tablets 770 - 1030 width*/
@media only screen and (max-width: 1030px) {}
/* Medium devices / tablets 500px - 770px */
@media only screen and (max-width: 770px) {}
/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 500px) {}

/* --- custom font --- */
@font-face {
    font-family: 'Nunito';
    src: url('./assets/fonts/NunitoSans-Regular.ttf') format("truetype");;
    font-weight: normal;
}
@font-face {
    font-family: 'Nunito';
    src: url('./assets/fonts/NunitoSans-SemiBold.ttf') format("truetype");;
    font-weight: 500;
}
@font-face {
    font-family: 'Nunito';
    src: url('./assets/fonts/NunitoSans-Bold.ttf') format("truetype");;
    font-weight: 800;
}
@font-face {
    font-family: 'Satoshi';
    src: url('./assets/fonts/Satoshi-Regular.otf') format("opentype");;
    font-weight: normal;
}


/* --- ROOT --- */
:root {
    /* main colors */
    --main-background:          #89957F;
    --main-text-color:          #F5EADC;
    --main-accent:              #FD6738;
    --secondary-brown:          #DED7CF;
    --dark-brown:               #CBC3B9;
    /* font & others */
    --main-font:                normal 12px 'Satoshi', sans-serif;
    --main-paragraph-font:      normal clamp(0.75rem, 0.35vw + 0.403rem, 1.5rem) 'Satoshi', sans-serif;
    --border-radius:            15px;
    --outline-width:            1px;
    --main-outline:             var(--outline-width) solid var(--main-text-color);
    /* proportions */
    --main-margin:              20px;
    --split-proportion:         35svw;
    --main-width:               calc( 100svw - (2 * var(--main-margin)) - (2 * var(--outline-width)) );
    --half-proportion:          calc( (100svw - (6 * var(--main-margin)) - (3 * var(--outline-width))) / 2 );
    --one-third-proportion:     calc( (100svw - (8 * var(--main-margin)) - (4 * var(--outline-width))) / 3 );
    --one-fourth-proportion:    calc( (100svw - (10 * var(--main-margin)) - (5 * var(--outline-width))) / 4 );
    --mobile-section-width:     85svw;
    --navbar-height:            calc(4 * var(--main-margin));
    
}

@media (prefers-color-scheme: dark) {
    :root {
        --main-background:      #2B2727;
        --main-text-color:      #F4F1EC;
    } 
}

[data-theme="light"] {
    color-scheme: light;
    --main-background:          #F4F1EC;
    --main-text-color:          #2B2727;
}

[data-theme="dark"] {
    color-scheme: dark;
    --main-background:          #2B2727;
    --main-text-color:          #F4F1EC;
}

/* HD screens */
@media only screen and (min-height: 900px) and (min-width: 1500px){
    :root {
        --main-margin: 30px;
        --main-outline: 2px solid var(--main-text-color);
    }
}
/* FullHD screens */
@media only screen and (min-height: 1000px) and (min-width: 2400px){
    :root {
        --main-margin: 40px;
        --main-outline: 2px solid var(--main-text-color);
    }
}
/* UltraHD screens */
@media only screen and (min-height: 2000px) and (min-width: 3500px) {
    :root {
        --main-margin:  40px;
        --main-outline: 2px solid var(--main-text-color);
    }
}
/* Laptop screens */
@media only screen and (max-height: 899px) and (max-width: 1499px){
    :root {
        --main-margin: 20px;
        --main-outline: 1px solid var(--main-text-color);
    }
}
/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 550px) {
    :root {
        --main-margin: 10px;
        --navbar-height: calc(8 * var(--main-margin));
    }
}
/* ------------------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- MAIN ELEMENTS --- --- --- --- --- --- --- --- --- */
/* ------------------------------------------------------------------------------------- */
html {
    margin: 0px;
    padding: 0px; 
}
body {
    margin: 0px var(--main-margin) var(--main-margin) var(--main-margin);
    padding: 0px;
    font: var(--main-font);
    color: var(--main-text-color);
    background: var(--main-background);
    /* overflow-x: hidden; */
    position: relative;
    z-index: 1;
}

.mobile-only {
    display: none;
}
.container {
    margin: 0px;
    padding: 0px;
    width: calc(var(--main-width) + 1px);
    border: var(--main-outline);
    border-top: none;
    box-sizing: border-box;
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--navbar-height);
    width: inherit;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito';
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
}
h1 {
    /* font-size: 40px; */
    font-size: clamp(1.5rem, 1.5vw + 1rem, 5rem)
}
h2 {
    /* font-size: 26px; */
    font-size: clamp(1.25rem, 1.257vw + 0.983rem, 4rem);
}
h3 {
    /* font-size: 24px; */
    font-size: clamp(1.125rem, 0.857vw + 0.943rem, 3rem);
}
h4 {
    /* font-size: 18px; */
    font-size: clamp(1rem, 0.40vw + 0.7rem, 2.25rem)
}
h5 {
    /* font-size: 14px;
    font-weight: 600; */
    font-size: clamp(0.875rem, 0.398vw + 0.79rem, 1.75rem);
}
h6 {
    font-size: clamp(0.75rem, 0.28vw + 0.6rem, 1.5rem);
}
p {
    font: var(--main-paragraph-font);
    letter-spacing: 2px;
    line-height: 2;
}
a {
    font: var(--main-paragraph-font);
    text-decoration: none;
    color: var(--main-text-color);
    letter-spacing: 2px;
    margin: 0px;
    padding: 0px;
}
a.disabled {
    pointer-events: none;
    cursor: default;
  }
.link:hover {
    font-weight: bold;
    text-decoration: 1px solid var(--main-text-color);
}

.regular-button {
    width: fit-content;
    align-self: center;
    color: var(--main-background);
    background-color: var(--main-text-color);
    outline: none;
    border: none;
    text-decoration: none;
    font: var(--main-font);
    font-weight: normal;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: calc(var(--main-margin) / 2) calc(var(--main-margin) * 3);
    margin-top: calc(var(--main-margin) * 2);
    cursor: pointer; 
    transition: 0.5s;
}
.regular-button:hover {
    padding: calc(var(--main-margin) / 2) calc(var(--main-margin) * 5);
}

.outline {
    outline: var(--main-outline);
}

.grid {
    width: var(--main-width);
    display: grid;
}
.grid-1 {
    grid-template-columns: 1fr;
}
.grid-2 {
    grid-template-columns: 1fr 3fr;
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-8 {
    grid-template-columns: repeat(8, 1fr);
}
.title-row {
    grid-row: 1;
    grid-column: 1/5;
    text-align: center;
    display: flex;
}
.grid-1 .title-row {
    grid-column: 1/3;
}
.grid-2 .title-row{
    grid-column: 1/3;
}
.grid-3 .title-row {
    grid-column: 1/4;
}
.cell {
    padding: var(--main-margin);
    border-bottom: var(--main-outline);
    border-right: var(--main-outline);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
/* .cell:last-child, #portfolio .cell:nth-child(5){
    border-right: none;
} */
.grid-cell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.5fr 1fr 3fr 0.5fr;
    align-items: flex-start;
}
.grid-cell a {
    justify-self: center;
    margin: 0px 0px 30px 0px;
}
/* potrzebne do logo */
.half {
    min-width: var(--main-width);
    border-top: var(--main-outline);
    border-bottom: var(--main-outline);
    display: flex;
    align-items: center;
}
.half h1 {
    display: flex;
    /* width: fit-content; */
    white-space: pre;
}
.clear {
    padding: 0px;
    margin: 0px;
}

.labels {
    display: flex;
}
.label {
    /* border: 0.5px solid var(--main-text-color); */
    outline: 1px solid var(--main-text-color);
    padding: 3px 10px;
    border-radius: 2px;
    margin-right: 10px;
}
.icon {
    height: 20px;
    aspect-ratio: 1/1;
    width: auto;
    object-fit: contain;

}
.icon-15 {
    height: 15px;
}
.reverse-color {
    filter: invert(1);
}
/* HD screens */
@media only screen and (min-height: 900px) and (min-width: 1500px){}
/* FullHD screens */
@media only screen and (min-height: 1000px) and (min-width: 2400px){}
/* UltraHD screens */
@media only screen and (min-height: 2000px) and (min-width: 3500px) {
    p {
        font-size: 26px;
    }
}
/* Laptop screens */
@media only screen and (max-height: 899px) and (max-width: 1499px){}
/* Medium devices / tablets 770 - 1030 width*/
@media only screen and (max-width: 1030px) {
    .grid-1 {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Medium devices / tablets 500px - 770px */
@media only screen and (max-width: 1030px) {
 
}

/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 550px) {
    .mobile-only {
        display: block;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 .title-row {
        grid-column: 1/3;
    }
    .grid-2 {
        display: flex;
        flex-direction: column;
    }
    .labels {
        flex-wrap: wrap;
    }
}
@media only screen and (max-width: 400px) {
    .label {
        word-break: break-word;
    }
}
/* ------------------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- SCREEN LOADER --- --- --- --- --- --- --- --- --- */
/* ------------------------------------------------------------------------------------- */
@keyframes hide {
    0% {transform: translateY(0);}
    100% {transform: translateY(-100%);}  
}
/* animation: name duration timing-function delay iteration-count direction fill-mode play-state; */
/* clouds-moving 180s linear infinite; 
animation: dekstopMessagePopup 6s ease-in-out forwards;
*/
.screen-loader-div {
    background-color: var(--main-background);
    color: var(--main-text-color);
    position: fixed;
    width: 100svw;
    height: 100svh;
    z-index: 9999;
    padding: var(--main-margin) 0px;
    animation: hide 0.5s linear 3s forwards;
}
.outline {
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--main-outline);
    width: calc(100svw - 40px);
    height: calc(100svh - 40px);
    margin: 0px;
}
.loader-wrapper {
    overflow: hidden;
}
.screen-loader-title {
    color: var(--main-text-color);
    font-family: 'Nunito';
    font-weight: 800;
    letter-spacing: 10px;
}
.single-letter {
    position: relative;
    top: -5rem;
}
/* HD screens */
@media only screen and (min-height: 900px) and (min-width: 1500px){}
/* FullHD screens */
@media only screen and (min-height: 1000px) and (min-width: 2400px){
    .outline {
        width: calc(100svw - 80px);
        height: calc(100svh - 80px);
    }
    .single-letter {
        top: -9rem;
    }
}
/* UltraHD screens */
@media only screen and (min-height: 2000px) and (min-width: 3500px) {}

/* Laptop screens */
@media only screen and (max-height: 900px) {}
/* Medium devices / tablets 770 - 1030 width*/
@media only screen and (max-width: 1030px) {}
/* Medium devices / tablets 500px - 770px */
@media only screen and (max-width: 770px) {}
/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 550px) {
    .outline {
        width: calc(100svw - 20px);
        height: calc(100svh - 20px);
    }
    .screen-loader-title {
     text-align: center;
     align-self: center;   
    }
}
/* ------------------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- SETTINGS MENU --- --- --- --- --- --- --- --- --- */
/* ------------------------------------------------------------------------------------- */
.settings-container {
    z-index: 999;
    position: fixed;
    bottom: 30px;
    right: calc(30px + var(--main-margin));
    -webkit-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.settings-circle {
    --size: 30px;
    height: var(--size);
    aspect-ratio: 1/1;
    border-radius: calc(var(--size)/2);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-text-color);
    cursor: pointer;
    transition: 0.5s linear;
}
.settings-circle:hover {
    transform: scale(1.1);
}
#settings-menu-container {
    display: none;
    overflow: hidden;
}
.color-choice {
    margin-bottom: 10px;
    transform: translateX(100%);
    opacity: 1;
}

/* ------------------------------------------------------------------------------ */
/* --- --- --- --- --- --- --- --- --- NAVBAR --- --- --- --- --- --- --- --- --- */
/* ------------------------------------------------------------------------------ */
nav {
    position: sticky;
    top: 0px;
    z-index: 4;
    margin: 0px;
    padding: var(--main-margin) 0px 0px 0px;
    background: var(--main-background);
    height: var(--navbar-height);
    width: calc(var(--main-width) + 1px);
}
.nav-container {
    border: var(--main-outline);
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px;
    padding: 0px;
}
.navbar-logo {
    height: calc(2 * var(--main-margin));
    width: auto;
    object-fit: contain;
    padding: var(--main-margin) calc(2 * var(--main-margin));
    border-right: var(--main-outline);
    vertical-align: middle;
}
.main-menu {
    display: flex;
    align-items: center;
    height: calc(4 * var(--main-margin));
    border-left: var(--main-outline);
}

.navbar-link {
    letter-spacing: 2px;
    margin: 40px;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    padding: 0.75px 0px;
}
.hamburger .line{
    width: 35px;
    height: 1.5px;
    background-color: var(--main-text-color);
    display: block;
    margin: 6px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger:hover{
cursor: pointer;
}

#hamburger-1.is-active .line:nth-child(2){
opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1){
transform-origin: center center;
-webkit-transform: translateY(7.5px) rotate(45deg);
-ms-transform: translateY(7.5px) rotate(45deg);
-o-transform: translateY(7.5px) rotate(45deg);
transform: translateY(7.5px) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3){
transform-origin: center center;
-webkit-transform: translateY(-7.5px) rotate(-45deg);
-ms-transform: translateY(-7.5px) rotate(-45deg);
-o-transform: translateY(-7.5px) rotate(-45deg);
transform: translateY(-7.5px) rotate(-45deg);
}

/* Small devices (phones, 770px and down) */
@media only screen and (max-width: 770px) {
    .nav-container {
        display: grid;
        grid-template-columns: 4fr 1fr;
    }
    .navbar-logo {
        border-right: none;
    }
    .hamburger {
        display: block;
        margin: 25px 20px;
    }
    .main-menu {
        grid-column: 1 /  3;
        height: fit-content;
        display: flex;
        flex-direction: column;
        border-left: none;
        background-color: var(--main-background);
        border-top: var(--main-outline);
        border-bottom: none;
    }
    .navbar-link {
        display: block;
        margin: 20px 0px;
        padding: 20px;
        border-bottom: var(--main-outline);
    }
    .navbar-link:last-child {
        margin-bottom: 0px;
    }

}

/* ---------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- HERO --- --- --- --- --- --- --- --- --- */
/* ---------------------------------------------------------------------------- */
#hero {
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 1px;
    overflow-x: hidden;
}
/* wrappers & containers */
.wrapper1, .wrapper2 {
    width: var(--main-width);
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    overflow-x: hidden;
}
.wrapper2 {
    justify-content: flex-start;
    align-items: flex-start;
}
.hero-projects {
    display: flex;
}
.hero-logos {
    display: flex;
}

.grid {
    /* described in upper section */
}
.cell {
     /* described in upper section */
}
/* images */
.hero-project-div {
    height: 50svh;
    width: var(--one-fourth-proportion);
    position: relative;
}
.hero-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    -webkit-filter: brightness(100%);
    transition: 1s all linear;
}
.loupe-icon {
    --size: 30px;
    height: var(--size);
    width: var(--size);
    position: absolute;
    top: calc(25svh);
    left: calc((var(--one-fourth-proportion)/2));
    z-index: 2;
    opacity: 0;
    transition: all 0.5s ease;
}
.hero-image:hover, .loupe-icon:hover .hero-image {
    -webkit-filter: brightness(60%);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
    cursor: pointer;
}
.hero-project-div:hover .loupe-icon {
    opacity: 1;
}
/* logos */
.large-hero-logo {
    width: calc(var(--main-width) - 2*var(--main-margin));
    height: auto;
    object-fit: cover;
    padding: var(--main-margin);
    border-bottom: var(--main-outline);

}
/* Medium devices / tablets 770 - 1030 width*/
@media only screen and (max-width: 1030px) {
    .hero-project-div {
        height: 50svh;
        width: var(--half-proportion);
    }
    .large-hero-logo {
        width: calc((var(--main-width) - 2*var(--main-margin))*2);
    }
}
/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 550px) {
    #hero {
        padding-top: (2* var(--navbar-height));
    }
    .hero-projects .grid {
        width: fit-content;
    }
    .hero-project-div {
        height: 70svh;
        width: calc(var(--main-width) - 2*var(--main-margin));
    }
    .large-hero-logo {
        width: calc((var(--main-width) - 2*var(--main-margin))*2);
    }
}


/* ------------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- REASONS --- --- --- --- --- --- --- --- --- */
/* ------------------------------------------------------------------------------- */
#reasons {
    overflow-x: hidden;
}
.reasons-number {
    font-size: 64px;
    align-self: flex-end;
    margin-top: 0px;
    margin-bottom: 10px;
}
.reasons-title {
    align-self: flex-start;
    margin-top: 0px;
    margin-bottom: 10px;
}
.reasons-expl {
    margin-top: 0px;
    margin-bottom: 0px;
}
@media only screen and (max-width: 400px) {
    .reasons-title {
        word-break: break-word;
    }
}
/* --------------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- PORTFOLIO --- --- --- --- --- --- --- --- --- */
/* --------------------------------------------------------------------------------- */
#portfolio {
    overflow-x: hidden;
}
.project-descr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.web-project-link {
    display: flex;
    align-items: center;
}
.web-project-link .icon {
    vertical-align: middle;
    margin-right: 10px;
}
.link-name {
    display: flex;
    text-transform: uppercase;
    letter-spacing: 3px;
}
/* HD screens */
@media only screen and (min-height: 900px) and (min-width: 1500px){
    .project-image {
        height: 30svh;
        width: 25svw;
        object-fit: cover;
    }
}
/* FullHD screens */
@media only screen and (min-height: 1000px) and (min-width: 2400px){

}
/* UltraHD screens */
@media only screen and (min-height: 2000px) and (min-width: 3500px) {

}
/* Medium devices / tablets 770 - 1030 width*/
@media only screen and (max-width: 1030px) {
    .project-image {
        height: 100%;
        width: 250px;
        object-fit: cover;
    }
}
/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 550px) {
    .project-image {
        width: var(--mobile-section-width);
        height: 35svh;
        object-fit: cover;
    }
    #portfolio .cell {
        padding: 20px;
    }
}

/* ---------------------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- SLOGANS / HALVES --- --- --- --- --- --- --- --- --- */
/* ---------------------------------------------------------------------------------------- */
.halves {
    display: grid;
    width: 80svw;
    align-self: center;
    justify-self: center;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: max-content;
    gap: 50px;
    margin: 100px auto;
}
.half-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: end;
}
.half-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
}
.slide-in {
    transform: translateY(50%);
    opacity: 0;
}
.halves p:not(.detail), .halves h2{
    margin: 0px;
}

.details-group {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin: 30px 0px 10px 0px;
    flex-wrap: wrap;
}
.half-right .details-group {
    justify-content: flex-start;
}
.detail {
    outline: 1px solid var(--main-text-color);
    padding: 5px 20px;
    border-radius: 1px;
    white-space: nowrap;
    margin: 0px 20px 20px 0px;
}

.slogan-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
@media only screen and (min-height: 1000px) and (min-width: 2400px){
    .slogan-image {
        height: 600px;
    }
}
@media only screen and (min-height: 2000px) and (min-width: 3500px) {
    .slogan-image {
        height: 800px;
    }
}
/* Medium devices / tablets 770 - 1030 width*/
@media only screen and (max-width: 1030px) {
    .halves:not(#contact) {
        display: flex;
        flex-direction: column;
    }
    #slogan-01 {
        display: flex;
        flex-direction: column-reverse !important;
    }
    .slogan-image {
        width: 100%;
        height: auto;
        margin-bottom: 50px;
    }
    .half-left, .half-right{
        align-items: center;
        text-align: center;
    }
    .halves h2 {
        font-size: 36px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .halves p {
        text-align: justify;
    }
    .details-group {
        justify-content: center !important;
        margin: 40px 0px 40px 0px;
    }
    .detail {
        margin: 0px 0px 0px 20px;
    }
}

/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 550px) {
    .halves {
        width: var(--mobile-section-width);
        margin: 0px auto;
    }
    .details-group {
        justify-content: center;
        margin: 20px 0px 20px 0px;
    }
    .detail {
        text-align: center;
        margin: 10px 10px 10px 10px !important;
    }
    
    .slogan-image {
        width: var(--mobile-section-width);
        height: auto;
        margin-bottom: 50px;
    }

}
/* -------------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- SERVICES --- --- --- --- --- --- --- --- --- */
/* -------------------------------------------------------------------------------- */
#services {
    overflow-x: hidden;
}
#services .cell h2 {
    font-size: 54px;
    text-align: end;
    font-weight: 500;
    align-self: flex-end;
}
#services .cell p {
    text-align: justify;
}
.points {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin: 40px 0px;
    align-self: flex-start;
}
.point {
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-bottom: var(--main-outline);
}
.point p {
    display: flex;
    align-self: flex-end;
    justify-self: flex-end;
    text-align: end;
}
.point:first-child {
    border-top: var(--main-outline);
}
.inactive {
    color: var(--dark-brown);
    border-bottom: 1px solid var(--dark-brown);
}
#add-services .grid-3 {
    width: var(--main-width);
    border-bottom: var(--main-outline);
}
#add-services .points {
    width: auto;
    height: 100%;
    margin: 0px 10px 0px 10px;
}
#add-services .point:first-child {
    border-top: none;
}
#add-services .point:last-child {
    border-bottom: none;
}
@media only screen and (min-height: 1000px) and (min-width: 2400px){
    #services .cell h2 {
        font-size: 80px;
    }
}
@media only screen and (max-width: 1030px) {
    #services .cell h2 {
        font-size: 54px;
    }
    .grid-cell {
        grid-template-rows: 0.6fr 0.9fr 2fr 0.3fr;
    }
}
/* @media only screen and (max-width: 800px) {
    #services .grid-3 {
        display: flex;
        flex-direction: column;
    } 
    .grid-cell {
        grid-template-rows: 0.6fr 0.9fr 2fr 0.3fr;
    }
} */
/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 550px) {
    #services .grid-3 {
        display: flex;
        flex-direction: column;
    }
    .grid-cell {
        grid-template-rows: 0.5fr 1.0fr 3fr 0.3fr;
    }
    #services .cell h2 {
       margin-top: 20px;
       margin-bottom: 20px;
    }
    #add-services .grid-3 {
        display: flex;
        flex-direction: column;
    }
    #add-services .points {
        width: var(--mobile-section-width);
        margin: 0px 10px 0px 15px;
    }
}
/* -------------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- WRAPPERS --- --- --- --- --- --- --- --- --- */
/* -------------------------------------------------------------------------------- */
/* wrappers!! */
.wrapper3, .wrapper4, .wrapper5, .wrapper6 {
    width: var(--main-width);
    overflow-x: hidden;
    border-top: var(--main-outline);
    border-bottom: var(--main-outline);
}
.reasons-title-div, .services-title-div, .add-services-title-div, .portfolio-title-div {
    display: flex;
    width: calc( 2* var(--main-width));
    overflow: visible; 
}
.title-half-h1 {
    text-wrap: nowrap;
    display: inline-block;
}
.title-half {
    width: var(--main-width);
    display: flex;
    justify-content: flex-start;
    overflow-y: hidden;
}
/* ------------------------------------------------------------------------------- */
/* --- --- --- --- --- --- --- --- --- CONTACT --- --- --- --- --- --- --- --- --- */
/* ------------------------------------------------------------------------------- */

#contact .half-left {
    align-self: flex-start;
}
#contact h1 {
    margin-top: 0px;
}
form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 350px;
}
input {
    background-color: transparent;
    outline: none;
    border: none;
    border-bottom: var(--main-outline);
    font: var(--main-paragraph-font);
    letter-spacing: 1.6px;
    margin: 0px 0px var(--main-margin) var(--main-margin);
    color: var(--main-text-color);
    border-radius: 0px;
}
input:last-child {
    grid-column: 1/3;
}
input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
}
textarea {
    grid-column: 1/3;
    height: 100px;
    background-color: transparent;
    margin: 0px 0px var(--main-margin) var(--main-margin);
    border: var(--main-outline);
    color: var(--main-text-color);
    font: var(--main-paragraph-font);
    letter-spacing: 2px;
    line-height: 2;
    border-radius: 0px;
}
textarea:focus {
    outline: none;
}
::placeholder {
    color: var(--main-text-color);
}
::-webkit-resizer {
    appearance: none;
}

/* HD screens */
@media only screen and (min-height: 900px) and (min-width: 1500px){
    input {
        font-size: 18px;
}
    textarea {
        height: 150px
    }
}
/* FullHD screens */
@media only screen and (min-height: 1000px) and (min-width: 2400px){
    input {
        font-size: 24px;
        margin: 0px 0px calc(var(--main-margin) * 2) var(--main-margin);
}
    textarea {
        height: 200px
    }
}
/* UltraHD screens */
@media only screen and (min-height: 2000px) and (min-width: 3500px) {
    input {
        font-size: 36px;
        margin: 0px 0px calc(var(--main-margin) * 2) var(--main-margin);
}
    textarea {
        height: 300px
    }
}
/* Medium devices / tablets 500px - 770px */
@media only screen and (max-width: 1030px) {
}
/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 550px) {
    #contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 100px 0px;
    }
    #contact .half-left, #contact .half-right {
        align-self: center;
        align-items: center;
        justify-content: center;
        padding: 0px;
        width: 100%;
    }
    form {
        margin-top: 50px;
        min-width: none;
        width: 100%;
        padding: 0px;
        gap: 20px;
    }
    input, textarea, #contact .regular-button  {
        /* width: calc((100svw - 10*var(--main-margin))/ 2); */
        box-sizing: border-box;
        width: 100%;
        margin: var(--main-margin) 0px var(--main-margin) 0px;
    }
}
/* ------------------------------------------------------------------------------ */
/* --- --- --- --- --- --- --- --- --- FOOTER --- --- --- --- --- --- --- --- --- */
/* ------------------------------------------------------------------------------ */
#footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    border: var(--main-outline);
    border-top: none;
    width: calc(var(--main-width) + 1px);
    box-sizing: border-box;
}
#footer-menu {
    display: flex;
    padding: var(--main-margin) calc(var(--main-margin) * 2);
    justify-content: space-between;
    flex-grow: 2;
    border-left: var(--main-outline);
}
.footer-column {
    display: flex;
    flex-direction: column;
}
.footer-p {
    letter-spacing: 1px;
    margin: 8px;
}
.footer-logo {
    height:  calc(var(--main-margin) * 2);
    width: auto;
    object-fit: contain;
    padding: var(--main-margin) calc(var(--main-margin) * 2);
    vertical-align: middle;
}
/* Small devices (phones, 500px and down) */
@media only screen and (max-width: 770px) {
    .footer-column:nth-child(2) {
        display: none;
    }
    .footer-column h5 {
        font-size: 10px;
    }
    .footer-p {
        font-size: 8px;
        margin: 5px;
    }
}
/* ------------------------------------------------------------------------------ */
/* --- --- --- --- --- --- --- --- --- OTHERS --- --- --- --- --- --- --- --- --- */
/* ------------------------------------------------------------------------------ */
.thanks {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   padding: 50px 0px;
}
.thanks-image {
    height: 25svh;
    width: auto;
    object-fit: contain;
    margin: var(--main-margin);
}
.privacy {
    margin: 60px 120px;
}
.privacy h1 {
    text-align: center;
    margin: 70px 0px 70px 0px;
}
.privacy h5 {
    font-weight: normal;
}

/* Small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .privacy {
        margin: 20px 50px;
    }
    .privacy h1 {
        font-size: 24px;
    }
}
@media only screen and (max-width: 300px) {
    .privacy {
        margin: 10px 30px;
    }
}

/* --- SCROLLBAR --- */

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: transparent;
}
  
/* Track */
::-webkit-scrollbar-track {
    width: 5px;
    background-color: transparent;
    background-clip: padding-box;
}

/* Handle */
/* not visible because of width - red left for monitoring */
::-webkit-scrollbar-thumb {
    width: 0px;
    background: transparent;
    background-clip: padding-box;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    width: 5px;
    background-color: var(--dark-brown);
    background-clip: padding-box;
}


/* --- INSPECTIONS --- */
/* * {
  outline: 2px solid rgb(0, 217, 255) !important;
} */


/* -------------------------------------------------- */
/* --- --- --- --- --- ANIMATIONS --- --- --- --- --- */
/* -------------------------------------------------- */
/* .slide-in {
    transform: translateY(-50px);
    opacity: 0;
    transition: 1s;
    animation: slide 1s linear forwards;
}
@keyframes slide {
    0% {transform: translateY(-50px); opacity: 0;}
    100% {transform: translateY(0px); opacity: 1;}
} */
/* animation: name duration timing-function delay iteration-count direction fill-mode play-state; */
/* clouds-moving 180s linear infinite; 
animation: dekstopMessagePopup 6s ease-in-out forwards;
*/