:root{
    font-family:  "Quicksand", sans-serif;
    scroll-behavior: smooth;

    --main-background-color: #f6f2cb;
    --secundair-background-color: #f2e6db;
    --third-background-color: #a08f6e;
}

* {
  box-sizing: border-box;
}

body{
    margin: 0;
    background-color: var(--main-background-color);
}

/* <- HEADER -> */

.header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 1rem;
    background-color: var(--main-background-color);
    flex-wrap: wrap;
    position: relative; 
}

.header p {
    font-size: 1.5rem;
    margin: 0;
    flex: 1;        
    padding-right: 3rem; 
    word-break: break-word; 
}

nav{
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav li a {
    display: block;
    color: black;
    padding: .6rem 1rem;
    font-size: 1.2rem;
    text-decoration: none;
}

/* <- SIDE BAR SWITCH ->*/
.menu-button {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.2rem;
    color: black;
    z-index: 1100;
}

.side-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 220px;
    height: 100%;
    background-color: var(--third-background-color);
    padding-top: 4rem;
    z-index: 1000;
    flex-direction: column;
}

/* OPEN SIDEBAR */
.side-nav.open {
    transform: translateX(0); 
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-nav ul li a {
    color: black;
    font-size: 1.2rem;
    text-decoration: none;
    padding: .5rem 1rem;
}

/* <- HOVER EFFECT NAV -> */
.hoverline {
  display: inline-block;
  position: relative;
}

.hoverline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--third-background-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hoverline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* <- INTRO -> */

.intro {
    background: url(/Src/Achtergrond.png);
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    height: 53rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-wrapper{
    text-align: center;
    color: white;
    padding: 4rem 1rem;
}

h1{
    font-size: clamp(3rem, 8vw, 10rem);
    margin: 0;
}

.subheading{
    font-size: 2rem;
    text-decoration: underline;
}

/* <- WRAPPER -> */

.wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 1.5rem;
    justify-content: center;
}

.work .context{
    height: 450px;
}

.wrapper img{
    width: 100%;
    max-width: 400px;
    height: auto;
}

.context{
    max-width: 50rem;
    flex: 1 1 300px;
    padding: 1rem;
    border: 1px solid var(--third-background-color);
    background-color: var(--secundair-background-color);
}

.context p{
    font-size: 1.3rem;
}

/* <-ABOUT IMAGE -> */

.aboutme img{
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* <-TARRIFS -> */

.tarrifs {
    display: grid;
    grid-template-columns: 19rem 8rem 8rem;
    justify-content: left;
    margin: 10px 0;
    padding: 0;
}

.tarrifs-context{
    padding: 10px;
    border: 1px solid black;
    text-align: center;
}

.tarrifs-context p{
    font-size: 1.4rem;
}

.old-price{
  font-size: 1.5rem;
  color: black;
  background-color: transparent;
  background-image: repeating-linear-gradient(163deg, transparent 0%, transparent 48%, black 50%, transparent 52%, transparent 100%);
}

/* <- CONTACT -> */

.info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; 
}

.contact-info {
    flex: 1 1 300px;
    padding: 1rem;
    box-sizing: border-box;
}

.contact-info .context {
    width: 100%; 
    padding: 10px;
    border: 1px solid var(--third-background-color);
    background-color: var(--secundair-background-color);
}

.contact-info p{
    font-size: 1.5rem;
}

.contact-info ul li{
    font-size: 1.3rem;
}

.closed{
    font-size: 1.2rem;
}

/* <- FOOTER -> */

.footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--third-background-color);
}

.footer-context p{
    font-size: 1.4rem;
}

.footer-context  a{
    display: inline-block;
    text-decoration: none;
    font-size: 1.6rem;
    color: var(--main-background-color);
}

.footer-iconTop a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-background-color);
    border-radius: .8rem;
}

.footer-iconTop a i{
    font-size: 2.4rem;
    color: var(--third-background-color);
}

.footer-iconTop a:hover{
    box-shadow: 0 0 1rem var(--main-background-color);
}


p{
    font-size: 1.5rem;
}


@media (max-width: 1024px){
    .header p{
        font-size: 1.3rem;
    }
    nav li a{
        font-size: 1.1rem;
    }

    .top-nav {
        display: flex;     
    }
    .side-nav {
        display: none;    
    }
}


@media (max-width: 768px){
    nav{
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    nav li a{
        font-size: 1rem;
    }
    .header p{
        font-size: 1.1rem;
    }
    .intro-wrapper{
        padding: 2rem 1rem;
    }
    h1{
        font-size: 3rem;
    }

    .menu-button {
        display: flex;
    }
    
    .top-nav {
        display: none; 
    }
    
}

@media (max-width: 700px){
    .tarrifs-context p{
        font-size: 1.2rem;
    }
}

@media (max-width: 600px){
    p{
        font-size: 1.2rem;
    }
    .contact-info ul li{
        font-size: 1.1rem;
    }
    .closed{
        font-size: 1rem;
    }

    .work .context{
        height: 650px;
    }
}

@media (max-width: 500px){
    .tarrifs-context p{
        font-size: 1.1rem;
    }
}

@media (max-width: 480px){
    .header p {
        font-size: 1rem;
        text-align: left;
        padding-right: 2.5rem; 
        width: calc(100% - 2.5rem); 
    }

    nav li a{
        font-size: 0.9rem;
        padding: .5rem;
        text-align: center;
        width: 100%;
    }

    .intro-wrapper{
        padding: 1.5rem .5rem;
    }

    .side-nav {
        width: 180px;  
    }
    .side-nav ul li a {
        font-size: 1rem;
    }

    h1{
        font-size: 2.2rem;
    }

    .wrapper{
        flex-direction: column;
        padding: 2rem .5rem;
    }

    .wrapper img, .context{
        width: 100%;
        max-width: 100%;
    }

    .aboutme img{
        max-width: 100%;
        height: auto;
    }

    .contact-info {
        padding: 10px;       
        flex: 1 1 100%;      
    }

    .contact-info .context {
        padding: 5px;        
        min-height: auto;    
    }

    .info {
        gap: 0.5rem;      
    }

    .tarrifs {
        grid-template-columns: .2fr .2fr .2fr; 
    }

    .tarrifs-context, .old-price {
        font-size: 1rem;
        width: 100%;
    }

    .footer{
        flex-direction: column;
        align-items: center;
        padding: 1.5rem .5rem;
    }

    .footer-text p{
        font-size: 1.2rem;
        text-align: center;
    }

    .footer-iconTop a{
        margin: .5rem;
    }
}

@media(max-width:400px){

    .tarrifs {
        grid-template-columns: .2fr .2fr .2fr; 
    }

    .tarrifs-context, .old-price {
        font-size: .8rem;
        width: 100%;
    }

    .tarrifs-context p{
        font-size: .8rem;
    }
}
