*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --main-color: rgb(182, 22, 184);
    /*--main-color: #4451DB;*/
    --submain-color: rgb(0, 161, 155);
    --page-color: #333;
    --text-color: #f3f3f3;
}

html, body{
    min-height: 100vh;
    max-width: 100%;
    height: auto;
    overflow: auto;
    transition: 0.5s ease;
    overflow-x: hidden;
    position: relative;
}

a,
abbr{
    text-decoration: none;
}

body{
    background-color: var(--page-color);
}

@font-face {
    font-family: 'Roboto Flex';
    src: url('/assets/fonts/RobotoFlex-Regular.woff2') format('woff2'),
        url('/assets/fonts/RobotoFlex-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Main Code */

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--page-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#loader.hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: inset(-45px);
  box-shadow: -60px 15px,-60px 15px,-60px 15px var(--submain-color);
  transform: translateY(-15px);
  animation: loaderAnimation 1s infinite linear;
}

@keyframes loaderAnimation { 
  16.67% {box-shadow:-60px 15px,-60px 15px,19px 15px}
  33.33% {box-shadow:-60px 15px,  0px 15px,19px 15px}
  40%,60%{box-shadow:-19px 15px,  0px 15px,19px 15px}
  66.67% {box-shadow:-19px 15px,  0px 15px,60px 15px}
  83.33% {box-shadow:-19px 15px, 60px 15px,60px 15px}
  100%   {box-shadow: 60px 15px, 60px 15px,60px 15px}
}

header{
   position: fixed;
   display: flex;
   justify-content: space-between;
   align-items: center; 
   padding: 0 1em 0 2em;
   background-color: rgba(51, 51, 51, 0.8);
   background-color: transparent;
   backdrop-filter: blur(10px);
   width: 100%;
   height: 3em;
   opacity: 1;
   animation: headerRefresh 4s ease-in-out 1 forwards;
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
   z-index: 999;
}

.static-header header{
    opacity: 1;
    animation: none;
}

@keyframes headerRefresh{
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.desktop-nav{
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5em;
}

.desktop-nav li{
    list-style-type: none;
}

.desktop-nav a{
    color: var(--text-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: 1.2rem; 
    transition: all 0.5s ease;
}

.desktop-nav a:focus{
    color: var(--submain-color);
}

.desktop-nav li a:hover{
    color: var(--submain-color);
}

.open-btn{
    line-height: 0;      
}

.open-btn{
    display: static;
}

.open-btn svg{
    width: 30px;
    height: 30px;
}

#sidebar{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--page-color);
    opacity: 1;
    z-index: 999;
}

#sidebar.open-header{
    padding: 3em 0 0;
    animation: headerOpen 0.5s ease 1 forwards;
}

#sidebar.close-header{
    height: 0;
    padding: 0;
    animation: headerClose 0.5s ease 1 forwards;
}


@keyframes headerOpen{
    0%{
        height: 0;
        opacity: 0;
    }
    100%{
        height: 100vh;
        opacity: 1;
    }
}


@keyframes headerClose{
    0%{
        height: 100vh;
        opacity: 1;
    }
    100%{        
        height: 0;
        opacity: 0;
    }
}

#sidebar li{
    display: flex;
    align-items: center;
    padding: 2.5em 2em;
    height: 1em;
    list-style-type: none;
}

#sidebar a{
    text-decoration: none;
    color: var(--text-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: 1.8rem;
}

#sidebar a:focus{
    color: var(--submain-color);
}

.hide-button{
    display: flex;
    justify-content: center;    
    align-items: center;
    position: absolute;
    top: 0.3em;
    right: 0.3em;
}

.hide-button svg{
    height: 40px;
    width: 40px;
    fill: var(--text-color);
}

.hero-section{
    position: relative;
    background-color: rgb(0, 0, 0);
    height: 100vh;
    width: 100vw;
    z-index: 3;
    overflow: hidden;
    z-index: -999;
}

.hero-image{ 
    height: 100%;
    width: 100%;
    transform-origin: top center;
    animation: zoomInPage 3s ease-in-out 1 forwards;
    z-index: -1;
    object-fit: cover;    
    object-position: center;
    display: block;
    user-select: none;
}

.img-shader{
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

@keyframes zoomInPage {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.logo{
    z-index: 2;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo svg path{
    fill: transparent;
    stroke: #fff;
    stroke-width: 1;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: logoAnimation 3s ease-in-out 1 forwards;
    width: clamp(300, 20vw, 450);
    height: 120px;
}

@keyframes logoAnimation{
    0%{
        stroke-dashoffset: 500;
    }
    80%{
        fill: transparent;
    }
    100%{
        fill: #fff;
        stroke-dashoffset: 0;
    }
}

.cta-button{
    color: var(--text-color);
    border-radius: 2em;
    font-family: "Roboto Flex", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    width: 9.5em;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.cta-primary{
    background-color: var(--submain-color);
}

.cta-primary:hover,
.cta-primary:focus{
    border: 2px solid var(--submain-color);
    color: var(--submain-color);
    background-color: transparent;
    outline: none;
}

.cta-secondary{
    background-color: var(--main-color);
}

.cta-secondary:hover,
.cta-secondary:focus{
    border: 2px solid var(--main-color);
    color: var(--main-color);
    background-color: transparent;
    outline: none;
}

.error-page{
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.error-page h1{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(2.3rem, 7vw, 4.3rem);
    letter-spacing: 1px;    
    font-weight: 600;
    text-transform: uppercase;
    user-select: none;
    margin-bottom: 0.7em;
    background: linear-gradient(to right,var(--main-color) 0%, var(--submain-color) 99%);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 3s linear infinite;
}

@keyframes animate-gradient{
    to{
        background-position: 200%;
    }
}

.error-page #footer{
    position: absolute;
    bottom: 0;
    left: 0;    
}

.error-button{
    width: 8em;
}

.cart-section{
    margin: 6em auto 0;
    width: 100%;
    max-width: 1250px;
    padding: 1em;
    background-color: rgba(51, 51, 51, 0.9);
    border-radius: 1em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cart-section h2{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.3rem);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25em;
}

.cart-section hr{
    border: none;
    border-top: 2px solid var(--submain-color);
}

.cart-item-img{
    align-self: center;
    justify-self: center;
    margin-right: calc(0.25em + 25px);
    border-radius: 10px;
}

.top-cart-img{
    position: absolute;
    left: calc(0.25em + 25px);
    margin: 0;
}

.cart-content{
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
}

.cart-item{
    display: flex;
    justify-content: center;
    margin-top: 0.75em;
    border: 2px solid var(--submain-color);
    background-color: var(--page-color);
    padding: 0.25em 0.5em; 
    border-radius: 10px;
    width: 100%;
    max-width: 850px;
    position: relative;
}

.project-files-price{
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2em;
}

.project-files-price span{
    font-family: "Roboto Flex", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 1px;
}

.item-description{
    display: flex;
    position: relative;
    flex-direction: column;
    width: 75%;
}

.item-description h3{
    font-family: "Roboto Flex", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--submain-color);
    margin-bottom: 0.125em;
}

.item-description p{
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-color);
}

.item-description a{
    text-decoration: underline;
    color: var(--submain-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.cart-form{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    width: 100%;
    max-width: 400px;
    margin-top: 2em;
}

.cart-form label{
    font-family: "Roboto Flex", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.cart-form label a{
    font-family: "Roboto Flex", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline;
    color: var(--submain-color);
}

.cart-form input[type="email"]{
    width: 100%;
    height: 2.5em;
    padding: 0 1em;
    font-family: "Roboto Flex", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    border: 2px solid var(--submain-color);
    border-radius: 2em;
    background-color: var(--page-color);
    color: var(--text-color);
    transition: all 0.4s ease;
}

.cart-form input[type="email"]:focus{
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(182, 22, 184, 0.1);
}

.cart-form input[type="checkbox"]{
    width: 1.2em;
    height: 1.2em;
    accent-color: var(--submain-color);
}

.cart-form button{
    width: 100%;
    height: 2.5em;
    font-family: "Roboto Flex", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 2em;
    border: 2px solid transparent;
    background-color: var(--submain-color);
    color: var(--text-color);
    transition: all 0.4s ease;
    cursor: pointer;
}

.cart-form button:hover,
.cart-form button:focus{
    border: 2px solid var(--submain-color);
    color: var(--submain-color);
    background-color: transparent;
    outline: none;
}

.total-calc{
    padding: 0.5em 0.8em;
    background-color: var(--page-color);
    border: 2px solid var(--submain-color);
    border-radius: 1em;
    width: 100%;
    max-width: 400px;
    margin: 1em auto 0;
}

.total-calc h4{
    font-family: "Roboto Flex", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--submain-color);
    margin: 0.5em 0;
}

.total-calc span{
    font-family: "Roboto Flex", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-left: auto;
}

.total-calc hr{
    border: none;
    border-top: 1px solid var(--submain-color);
    margin: 1em 0;
}

.total-calc div{
    display: flex;
    align-items: center;
}

.success-payment{
    width: 100%;
    margin-top: 30vh;
    padding: 0.4em 0.8em; 
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.success-payment h1{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(2.3rem, 6vw, 3.5rem);
    font-weight: 600;
    color: var(--main-color);
    align-self: center;
}

.success-payment a{
    font-family: "Roboto Flex", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 2em;
    border: 2px solid transparent;
    background-color: var(--main-color);
    color: var(--text-color);
    transition: all 0.4s ease;
    padding: 0.5em 0.6em;
    width: 9em;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    margin: 1em 0;
}

.success-payment a:hover{
    border: 2px solid var(--main-color);
    color: var(--main-color);
    background-color: transparent;
    outline: none;
}

.success-payment p{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 500;
    color: var(--text-color);
    align-self: center;
    margin: 0 0.5em;
}

.success-email-disclaimer{
    font-size: clamp(0.8rem, 2vw, 1rem) !important;
    margin-top: 1em !important;
}

.project-files{
    width: 100%;
    margin-top: 4em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    padding: 0 0.5em;
}

.project-cards{
    position: relative;
}

.project-preview{
    border: 2px solid var(--submain-color);
    border-radius: 1em;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-15deg) translateX(-25%);
}

.second-project{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transform: rotate(15deg) translateX(25%);
}

.project-preview img{
    width: 135px;
    height: 247.5px;
    border-radius: 0.8em;
}

.project-description{
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-heading{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.5em;
}

/*
.project-heading img{
    border-radius: 0.4em;
}
*/

.project-heading a, 
.project-heading p{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2em;
    color: var(--submain-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-size: 1.7rem;
    font-weight: 500;
    text-decoration: underline;
}

.project-heading p{
    color: var(--text-color);
    text-decoration: none;
}

.project-heading h1{
    color: var(--text-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1.95rem, 4.5vw, 2.7rem);
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 1em;
}

.project-description hr{
    border: none;
    border-top: 2px solid var(--submain-color);
    margin: 0.5em 0;
}

.project-text{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.project-text > div{
    width: 75%;
    max-width: 32em;
    align-self: center;
    padding: 0.5em 1.5em;
    border-bottom: 1px solid var(--submain-color);
    border-radius: 1em;
    box-shadow: 0 1px 3px rgba(0, 161, 155, 0.3);
}

.project-text p {
    color: var(--text-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 500;
    text-align: center;
    margin-top: 0.25em;
}

.project-text h3{
    color: var(--text-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.project-text ul {
    list-style: none;
    padding-left: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.project-text ul li{
    color: var(--text-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 500;
    position: relative;
}

.project-text ul li::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--submain-color);
    border-radius: 50%;
}

.project-content{
    margin-top: 1em;
    max-width: 32em;
    width: 75%;
    align-self: center;
    padding: 0.5em 1.5em;
    border-bottom: 1px solid var(--submain-color);
    border-radius: 1em;
    box-shadow: 0 1px 3px rgba(0, 161, 155, 0.3)
}

.project-content h3{
    color: var(--text-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.project-content ul{ 
    list-style: none;
    padding-left: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.project-content ul li{
    position: relative;
    color: var(--text-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 500;
    position: relative;
}

.project-content ul li a {
    color: var(--text-color);
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 600;
    text-decoration: underline;
    letter-spacing: 1px;
}

.project-content ul li::before{
    content: "";
    position: absolute;
    left: -1rem;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: var(--submain-color);
    border-radius: 50%;
}

.price{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    align-self: center;
    margin-top: 1em;
    gap: 0.2em;
}

.price span{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
    color: var(--text-color);
}

.project-summary{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5em;
}

.project-summary h4{
    color: var(--text-color);
    border-radius: 2em;
    font-family: "Roboto Flex", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    width: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid var(--submain-color);
}

.project-summary a{
    color: var(--text-color);
    border-radius: 2em;
    font-family: "Roboto Flex", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 3rem;
    width: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--submain-color);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.project-summary a:hover{
    border: 2px solid var(--submain-color);
    color: var(--submain-color);
    background-color: transparent;
    outline: none;
}

footer{
    margin-top: 45vh;
    width: 100vw;
    background-color: var(--page-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navigation-sections{
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto auto;       
    gap: 1rem;   
    padding: 1.5em 1.25em ;
}

.navigation-row{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 210px;
    justify-self: center;
}

.navigation-sections > :last-child {
    grid-column: 1 / -1; 
    justify-self: center;
    width: calc(50% - 0.5em);
}

.navigation-row h4{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.3rem);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25em;
    text-align: center;
}

.navigation-row a{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.3rem);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: underline;
    margin-top: 0.5em;
    text-align: center;
}

.navigation-row hr{
    border: none;
    border-top: 2px solid var(--submain-color);
}
    
.navigation-row nav{
    display: flex;
    flex-direction: column;
}

.copyright{
    font-family: "Roboto Flex", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--submain-color);
    text-align: center;
}

.legal-head{
    margin-top: 20vh;
    padding: 0 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.legal-paragraph{
    padding: 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.legal-head h1,
.legal-paragraph h2{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--submain-color);
    margin-left: 0.25rem;
}

.legal-head strong,
.legal-head p,
.legal-paragraph p,
.legal-paragraph li,
.legal-paragraph strong{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(0.9rem, 2.3vw, 1.075rem);
    font-weight: 600;
    color: var(--text-color);
    margin-left: 0.75rem;
}

.legal-head p{
    font-weight: 500;
}

.legal-paragraph h2{
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.legal-paragraph p{
    font-weight: 500;
}

.legal-paragraph ul{
    list-style: none;
    padding-left: 1.5rem;
}

.legal-paragraph li{
    position: relative;
    font-weight: 500;
}

.legal-paragraph li::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 6px; 
    width: 6px;
    height: 6px;
    background-color: var(--submain-color);
    border-radius: 50%;
}

.cookie-popup{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8vh;
    width: 100%;
    background-color: #212121;
    color: var(--page-color);
    padding: 0 0.75rem ;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: none;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    gap: 5px;
    opacity: 0; 
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.cookie-popup p,
.cookies-link{
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(0.9rem, 2.3vw, 1.1rem);
    font-weight: 500;
    color: var(--text-color);
}

.cookies-link{
    color: var(--submain-color);
    text-decoration: underline;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
    display: flex;
}

.cookie-popup .buttons {
    display: flex;
    gap: 10px;
}

.cookie-popup button {
    background-color: var(--submain-color);
    border: 2px solid transparent;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-popup button:hover {
    background-color: transparent;
    border: 2px solid var(--submain-color);
    color: var(--submain-color);
}

.cookie-popup #decline-cookies {
    background-color: #555;
    padding: 4px 8px;
}

.cookie-popup #decline-cookies:hover {
    background-color: transparent;
    border: 2px solid #333;
    color: var(--text-color);
}








@media(min-width: 350px){
    .card p{
        text-align-last: center;
    }
}

@media(min-width: 550px){
    .card{
        width: 28em;
        justify-self: center;
    }
    /* .error-page h1{
        font-size: 3rem;
    } */
}


@media(min-width: 834px){
    header{
        justify-content: center;
        height: 4em;
    }
    .open-btn{
        display: none;
    }
    .desktop-nav{
        display: flex;
    }
    .sub-headline{
        font-size: 1.2rem;
    }
    .offer-cards{
        gap: 1.5em;
    }
    .cart-content{
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        
    }
    .cart-form{
        margin-left: 0;
        max-width: 300px;
    }
    .total-calc{
        max-width: 300px;
    }
    .success-payment a{
        font-size: 1.2rem;
        width: 10em;
    }
    .project-files{
        margin-top: 12em;
        flex-direction: row;
        align-items: start;
        gap: 1em;
        height: fit-content;
    }
    .project-cards{
        align-self: center;
    }
    .project-preview{
        transform: rotate(0) translateX(0);
        display: none;
    }
    .second-project{
        display: flex;
        position: relative;
    }
    .project-preview img{
        width: 202.5px;
        height: 371.25px;
    }
    .project-description{
        height: 100%;
    }
    .project-heading h1{
        margin-top: 0.25em;
    }
    .project-text > div{
        align-self: start;
    }
    .project-content{
        align-self: start;
    }
    .price{
        position: absolute;
        bottom: 0;
        right: 0;
    }
    .project-summary{
        align-self: end;
    }
    .price{
        bottom: 0;
        transform: translate(0);
    }
    .total-calc{
        margin: 1em 0 0 auto;
    }
    .cart-form{
        margin-top: auto;
    }
    .cart-section{
        margin: 9em auto 0;
    }
    .navigation-sections{
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto; 
        padding: 2em 1.5em;
    }
    .navigation-sections > :last-child {
        grid-column: auto;
        width: 100%;
    }
    .navigation-row{
        max-width: 23em;
    }
    .navigation-row h4{
        font-size: 1.8rem;
    }
    .navigation-row a{
        font-size: 1.2rem;
    }
    .cart-section{
        padding: 2em;
    }
}

@media(min-width: 1050px){
    .project-files{
        width: fit-content;
        margin: 12em auto 0;
    }
    .project-summary a,
    .project-summary h4{
        width: 10rem;
    }
    .cart-item{
        padding: 0.5em 0.75em;
        margin-top: 1em;
    }
    .top-cart-img{
        left: calc(0.5em + 25px);
    }
    .cart-item-img{
        width: 60px;
        height: 100px;
    }
    .item-description h3{
        font-size: 1.4rem;
    }
    .item-description p,
    .item-description a{
        font-size: 1.05rem;
    }
    .legal-head{
        padding: 0 2.5rem 0.5rem;
    }
    .legal-paragraph{
        padding: 0.5rem 2.5rem;
    }
}

@media(min-width: 1400px){
    .sub-headline{
        font-size: 1.5rem;
    }
    .offer-cards{
        width: 70%;
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: 1fr 1fr;
        gap: 2.5em;
        margin: 2.5em 0;
    }
    .card{
        width: 33em;
    }
    .card svg{
        width: 60px;
        height: 60px;
    }
    .card h3{
        font-size: 1.5rem;
    }
    .card p{
        font-size: 1rem;
    }
    .cta-button{
        width: 11em;
        height: 2.7em;
        font-size: 1.2rem;
    }
    /* .error-page h1{
        font-size: 4.5rem;
        margin-bottom: 0.7em;
    } */
    .project-files{
        gap: 1.5em;
        height: 470px;
    }
    .project-preview{
        padding: 1.5em;
    }
    .project-preview img{
        width: 253.125px;
        height: 450px;
    }
    .project-text > div{
        margin-top: 0.5em;
        padding: 0.75em 2em;
    }
    .project-content{
        margin-top: 1.5em;
        padding: 0.75em 2em;
    }
    .project-content ul{
        gap: 0.75em;
    }
    .project-description hr{
        margin: 0.75em 0;
    }
    .project-summary a,
    .project-summary h4{
        padding: 0.625em 0;
        width: 15rem;
        font-size: 1.2rem;
    }
    .project-text p{
        padding: 0 0.5em;
    }
    .project-summary{
        gap: 0.75em;
    }
    .price{
        bottom: 25.5px;
        transform: translate(0, 50%);
    }
}

@media(min-width: 1700px){

}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
