/* --Foundation-- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    position: relative;
    font-size: 16px;
    color: #191A1E;
    box-sizing: border-box;
    background-color: #ecebe4;
    box-sizing: border-box;
    font-family: raleway;
    font-weight: 700;

}

img {
    width: 100%;
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h1 {
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
}

h2 {
    font-family: "Raleway", sans-serif;
    font-size: 3em;
    font-weight: 900;
    padding-bottom: 10px;
    color: black;
    opacity: 100%;
}

h3 {
    font-family: "Raleway", sans-serif;
    font-size: 1.6em;
    font-weight: 500;
    margin-bottom: 20px;
    color: #414833;
    line-height: 1;
}

p {
    font-size: 20px;
    line-height: 1.5;
    opacity: 1;
    font-weight: 400;
    margin-bottom: 15px;
    color: #333333;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .3s, transform .3s;
    font-weight: 400;
}

a span {
    display: inline-block;
    transition: transform .3s;
}

a:hover {
    color: #969ca0;
}

a:hover span {
    transform: translateX(5px);
}

/* Typography Media Queries */
@media only screen and (min-width: 800px) {
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 3vw;
    }
}

@media only screen and (min-width: 1500px) {
    body {
        font-size: 18px;
    }

    h2 {
        font-size: 3.75vw;
    }
}




/* Buttons */
.primary-btn {
    background-color: #191A1E;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: .9em;
    margin: 15px 0;
    cursor: pointer;
    font-family: raleway;
    font-weight: 200;
    border-radius: 10px;
    border: 2px solid #191A1E;
    transition: all .3s;
}

.primary-btn:hover {
    background-color: transparent;
    color: #191A1E;
}



/* Layout */
section {
    box-sizing: border-box;
    position: relative;
    padding: 75px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
}

#section-1 {
    background-color: #c0b7b1;
}

#section-3 {
  background-color: #ecebe4;
  opacity: 1;
  background-image:  
    linear-gradient(30deg, #c0b7b1 12%, transparent 12.5%, transparent 87%, #c0b7b1 87.5%, #c0b7b1),
    linear-gradient(150deg, #c0b7b1 12%, transparent 12.5%, transparent 87%, #c0b7b1 87.5%, #c0b7b1),
    linear-gradient(30deg, #c0b7b1 12%, transparent 12.5%, transparent 87%, #c0b7b1 87.5%, #c0b7b1),
    linear-gradient(150deg, #c0b7b1 12%, transparent 12.5%, transparent 87%, #c0b7b1 87.5%, #c0b7b1),
    linear-gradient(60deg, #c0b7b177 25%, transparent 25.5%, transparent 75%, #c0b7b177 75%, #c0b7b177),
    linear-gradient(60deg, #c0b7b177 25%, transparent 25.5%, transparent 75%, #c0b7b177 75%, #c0b7b177);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  animation: scroll-background 5s linear infinite;
}

@keyframes scroll-background {
  0% {
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  }
  100% {
    background-position: 80px 0, 80px 0, 120px 70px, 120px 70px, 80px 0, 120px 70px;
  }
}


#section-4{
    background-color: #ecebe4;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.image-grid {
    background-color: #ecebe4;
    margin-top: -2em;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 0px;

  background: linear-gradient(-45deg, #ecebe4, #ecebe4, #E5D4ED, #CADBC8);
  background-size: 400% 400%;
  animation: gradient 10s ease infinite;
  height: 100vh;


}

.hero button {
    margin: 15px 25px;
}

#project {
    padding-top: 50px;
}

.col-left {
    margin: auto;
    margin-bottom: 35px;
}

.col-right {
    margin: auto;
    margin-bottom: 35px;
}

.auto-width {
    width: 80%;
}

.col-30,
.col-40,
.col-50,
.col-60,
.col-80 {
    width: 80%;
}

.logo{ 
    width: 50%;
 }

.full-width {
    width: 100%;
}

.margin-auto {
    margin: auto;
}

.center-text {
    text-align: center;
    margin-bottom: 30px;
}

.round-corners {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.round-corners:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Layout Media Queries */
@media only screen and (min-width: 800px) {
    section {
        flex-direction: row;
    }

    section.flex-reverse {
        flex-direction: row-reverse;
    }

    .col-left {
        margin: auto;
        margin-left: 10%;
        margin-right: 5%;
    }

    .col-right {
        margin: auto;
        margin-right: 10%;
        margin-left: 5%;
    }

    .auto-width {
        width: auto;
    }

    .col-30 {
        width: 30%;
    }

    .col-40 {
        width: 35%;
        background-color: #c0b7b1;
        padding: 20px;
        border-radius: 6px;
    }

    #aboutme {
        background-color: transparent;
        margin-top: 1em;
        color: #333333;
        font-weight: 300;
        border-radius: 15px;
    }

    #project-heading {
        margin-bottom: 60px;
        font-family: 'Chido';
    }

    .col-50 {
        width: 50%;
    }

    .col-60 {
        width: 60%;
        margin-top: 0px;
    }
}

@media screen and (min-width: 1025px) {
    section.full-height {
        min-height: 100vh;
        padding: 100px 0;
    }
}




header {
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    z-index: 998;
    font-size: 1.1em;
    background-color: rgba(255, 255, 255, 0);
    color: #000; /* Default text color */
    transition: all 0.3s ease;
}

.header-solid {
    background-color: #30362f;
    color: #ffffff;
}

/*Mobile Menu & Button Animation*/
.mobile-nav-input {
    display: none;
}

.menu--1 label {
    display: block;
    cursor: pointer;
    position: fixed;
    width: 25vw;
    height: 25vw;
    max-width: 80px;
    max-height: 80px;
    top: -5px;
    right: 0;
    z-index: 998;
    padding: 0 10px;
}

.menu--1 path {
    fill: none;
    stroke: #000;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    --length: 24;
    --offset: -38;
    stroke-dasharray: var(--length) var(--total-length);
    stroke-dashoffset: var(--offset);
    transition: all .8s cubic-bezier(.645, .045, .355, 1);
}

.menu--1 circle {
    fill: #fff3;
    opacity: 0;
}

.menu--1 label:hover circle {
    opacity: 1;
}

.cross input:checked+svg .line--1,
.cross input:checked+svg .line--3 {
    --length: 22.627416998;
}

.cross input:checked+svg .line--2 {
    --length: 0;
}

.back input:checked+svg .line--1,
.back input:checked+svg .line--3 {
    --length: 8.602325267;
}


.menu--1 .line--1,
.menu--1 .line--3 {
    --total-length: 126.64183044433594;
}

.menu--1 .line--2 {
    --total-length: 70;
}

.menu--1 input:checked+svg .line--1,
.menu--1 input:checked+svg .line--3 {
    --offset: -94.1149185097;
}

.menu--1 input:checked+svg .line--2 {
    --offset: -50;
}

nav a {
    margin-right: 0;
    margin-bottom: 35px;
}

nav a:last-of-type {
    margin-right: 0;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: -110%;
    flex-direction: column;
    z-index: 997;
    height: 100vh;
    width: 100vw;
    background-color: #F1F3F5;
    transition: right 1s;
    font-size: 2em;
    opacity: 1;
    font-weight: 600;
}

.header-solid + nav {
    color: #ffffff;
}

.show-nav-mob {
    right: 0;
}

.overflow-mob {
    width: 110%;
}

/* Mobile Menu Media Queries */
@media screen and (min-width: 800px) {
    .menu--1 {
        display: none;
    }

    nav {
        float: right;
        position: fixed;
        right: 0;
        top: 15px;
        width: 50%;
        padding: 10px 30px;
        background-color: transparent;
        z-index: 999;
        height: auto;
        width: auto;
        flex-direction: row;
        font-size: 1em;
    }

    nav a {
        margin-right: 35px;
        margin-bottom: 0;
    }

    nav a:last-of-type {
        margin-right: 0;
    }

    .overflow-mob {
        width: 40%;
    }
}




/* Grid */
.grid-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.grid-wrapper a {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.grid-wrapper article img {
    width: 100%;
    display: block;
    transition: transform .3s;
}

.grid-item-text {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    opacity: 0;
    transition: opacity .3s;
}

.grid-wrapper article:hover .grid-item-text {
    opacity: 1;
}

.grid-wrapper article:hover img {
    transform: scale(1.5);
}

/* Grid Media Queries */
@media screen and (min-width: 800px) {
    .grid-wrapper a {
        width: 50%;
        border: 1px solid rgb(148, 149, 155);
    }
}

@media screen and (min-width: 1024px) {
    .grid-wrapper a {
        width: 33.333%;
    }
}



/* Feature Boxes */
.feature-box-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feature-box {
    width: 30%;
    margin: 15px 0;
    padding: 10% 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: #F1F3F5;
}

.feature-box img {
    width: 15%;
    min-width: 50px;
    margin: 15px;
}




/* Slider */
.slider {
    width: 100%;
    aspect-ratio: 2/1;
    position: relative;
    overflow: hidden;
    /* <===  */
    border-radius: 15px;
}

.slide {
    width: 100%;
    aspect-ratio: 2/1;
    position: absolute;
    transition: all 0.5s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    z-index: 10px;
    cursor: pointer;
    background-color: #fff;
    font-size: 18px;
}

.btn:active {
    transform: scale(1.1);
}

.btn-prev {
    top: 45%;
    left: 2%;
}

.btn-next {
    top: 45%;
    right: 2%;
}




/* Footer */
footer {
    display: flex;
    align-items: center;
    padding: 30px;
    margin-top: 0px;
    background-color: #191A1E;
    color: #fff;
}

.linkedin-btn {
    position: relative;
    width: 35px !important;
    height: 35px;
    z-index: 20;
    background: url("../img/ico-linkedin-light.svg") no-repeat;
    transition: all .25s ease-in-out;
    margin-right: 30px;
}

.twitter-btn {
    position: relative;
    width: 35px !important;
    height: 35px;
    z-index: 20;
    background: url("../img/ico-twitter-light.svg") no-repeat;
    transition: all .25s ease-in-out;
}

#copyright {
    margin-left: auto;
    margin-bottom: 0;
    font-size: .85em;
}

.image-grid-container {
    display: grid;
     grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 60%;
    margin: auto;
    background-color: #381D2A;
    padding: 20px;
    border-radius: 15px;
}

.image-grid-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: solid 2px white;
    transition: transform 0.3s ease;
}

.image-grid-container img:hover {
    transform: scale(1.3);
}

.portrait {
    border-radius: 10px;
    width: 80%;
}

@font-face {
  font-family: 'Chido';
  src: url('../fonts/Chido.otf') format('opentype');
}

#chido {
    font-family: 'Chido';
    font-size: 6em;

}

#chido2 {
    font-family: 'Chido';
    font-size: 2em;
}

#chido3 {
    font-family: 'Chido';
    font-size: 6em;
    margin-bottom: 0px;

}

#littleheader {
    font-size: 3em;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#designethos {
    font-size: 1.8em;
    font-family: "Raleway", sans-serif;
    font-weight: 700;   

}

#designethos2 {
    font-family: raleway;
    font-size: 1.2em;
    font-weight: 400;
    text-align: left;

}

::selection {
  color: yellowgreen;
  background: black;
}

.cars {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
    }

.cars:hover {
    transform: scale(1.7);
}

#copyright {
    color: mintcream;
}

#calltoaction {
    display: inline-block;
    margin-top: 1em;
    font-size: 0.8em;
    color: mintcream;
    background-color: #253031;
    padding: 30px 15px; 
    border-radius: 20px;
    font-family: 'Raleway';
    transition: transform 0.3s ease;
}

#calltoaction:hover {
    transform: scale(1.1);
}

.watermark {
    width: 3%;
    margin-right: 1em;
    filter: brightness(0) invert(0); 
    transition: filter 0.3s ease;
}

.watermark.scrolled {
    filter: brightness(0) invert(1); 
}

.skills{
    margin:auto;
    margin-top: 1em;
    font-weight: 300;
    line-height: 3em;
}

#category{
    background-color: #381D2A;
    color: white;
    padding: .4em;
    border-radius: 15px;
    font-weight: 400;
    margin-right: .2em;
    line-height: 1em;
}

#designcontainer {;
}

#final {
    margin-top: 0px;
}

#background-video {
   width: 100vw;
   height: 100vh;
   object-fit: cover;
   position: fixed;
   left: 0;
   right: 0;
   top: 0;
   bottom: 0;
   z-index: -1;
}

#margin-override {
    margin-top: 2em;
}

#calltoactiontwo {
    display: inline-block;
    margin-top: 6em;
    font-size: 1.4em;
    color: black;
    background-color: #ECEBE4;
    padding: 30px 15px; 
    border-radius: 20px;
    font-family: 'Raleway';
    transition: transform 0.3s ease;
}

#contact {
    font-size: 3em;
    font-family: 'Chido';
}