
/* ========================================
   FONTS
======================================== */

@font-face {
    font-family: 'Nexa';
    src: url('./fonts/Nexa.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Filson Pro';
    src: url('./fonts/FilsonProMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}


/* ========================================
   ALGEMEEN
======================================== */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    padding: 20px;

    background-color: #fbf7f0;
    color: #1d1d1b;

    font-family: 'Nexa', sans-serif;
    text-align: center;

    position: relative;
    isolation: isolate;

    overflow-x: clip;
}


/* ========================================
   LOGO LINKSBOVEN
======================================== */

.logo {
    position: absolute;
    top: 30px;
    left: 25px;

    width: 180px;
    max-width: 55%;
    height: auto;

    margin: 0;
    z-index: 2;
}


/* ========================================
   ACHTERGRONDVORMEN EN DOODLES
======================================== */

/* Decoraties vastzetten aan het scherm */
.decoraties {
    position: fixed;
    inset: 0;

    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

/* Algemene instellingen */
.vormblauw,
.vormgeel,
.vormrood,
.hartje,
.lijntje1,
.lijntje2 {
    position: absolute;
    display: block;
    height: auto;
    pointer-events: none;
}


/* Blauwe vorm - rechtsonder */
.vormblauw {
    width: clamp(180px, 30vw, 350px);

    bottom: -80px;
    right: -100px;

    transform: rotate(15deg);
}


/* Gele vorm - rechtsboven */
.vormgeel {
    width: clamp(150px, 25vw, 250px);

    top: -70px;
    right: -100px;

    transform: rotate(15deg);
}


/* Rode vorm - linksonder */
.vormrood {
    width: clamp(180px, 25vw, 280px);

    bottom: -80px;
    left: -100px;

    transform: rotate(15deg);
}


/* Hartje - linksonder */
.hartje {
    width: clamp(40px, 6vw, 65px);

    bottom: 5%;
    left: 8%;

    transform: rotate(15deg);
}


/* Eerste doodle - rechtsonder */
.lijntje1 {
    width: clamp(150px, 20vw, 270px);

    bottom: 3%;
    right: -10px;

    transform: rotate(-15deg);
}


/* Tweede doodle - rechtsboven */
.lijntje2 {
    width: clamp(80px, 12vw, 140px);

    top: 5%;
    right: +10px;

    transform: rotate(20deg);
}


/* ========================================
   CONTENT
======================================== */

.content {
    width: 100%;
    max-width: 600px;

    min-height: calc(100vh - 40px);
    min-height: calc(100dvh - 40px);

    margin: 0 auto;

    padding-bottom: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* ========================================
   TEKST
======================================== */

.tekst {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0;
}

h1 {
    font-family: 'Filson Pro', sans-serif;
    font-weight: 500;

    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.2;

    max-width: 600px;
    margin: 0 0 20px;
}

p {
    font-family: 'Nexa', sans-serif;

    font-size: 1rem;
    line-height: 1.5;

    max-width: 450px;
    margin: 0 0 30px;
}


/* ========================================
   BUTTONS
======================================== */

.buttons {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 15px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 260px;
    max-width: 100%;

    padding: 14px 28px;
    border-radius: 50px;

    background-color: #1d1d1b;
    color: #fbf7f0;
    border: 2px solid #1d1d1b;

    font-family: 'Nexa', sans-serif;
    font-size: 16px;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
    transition: all 0.3s ease;
}


/* ========================================
   BUTTON ICONEN
======================================== */

.button-icon {
    width: 20px;
    height: 20px;

    object-fit: contain;
    flex-shrink: 0;
}

/* Instagram-icoon wit */
.button:not(.button-outline) .button-icon {
    filter: brightness(0) invert(1);
}

/* Mail-icoon zwart */
.button-outline .button-icon {
    filter: brightness(0);
}


/* ========================================
   HOVER EFFECTEN
======================================== */

/* Hover eerste button */
.button:hover {
    background-color: #E65345;
    border-color: #E65345;

    transform: translateY(-3px);
}

/* Tweede button */
.button-outline {
    background-color: transparent;
    color: #1d1d1b;
}

/* Hover tweede button */
.button-outline:hover {
    background-color: #F2C744;
    border-color: #F2C744;
    color: #1d1d1b;
}


/* ========================================
   DESKTOP - VANAF 768PX
======================================== */

@media (min-width: 768px) {

    body {
        padding: 30px;
    }

    /* Logo */
    .logo {
        width: 250px;
        top: 40px;
        left: 40px;
    }

    /* Content */
    .content {
        min-height: calc(100vh - 60px);
        min-height: calc(100dvh - 60px);

        padding-top: 80px;
        padding-bottom: 20px;
    }

    /* Titel */
    h1 {
        font-size: 4rem;
    }

    /* Beschrijving */
    p {
        font-size: 1.1rem;
    }

    /* Buttons naast elkaar */
    .buttons {
        flex-direction: row;
        justify-content: center;
    }


    /* Hartje - linksonder */
.hartje {
    width: clamp(40px, 6vw, 65px);

    bottom: 15%;
    left: 8%;

    transform: rotate(15deg);
}


/* Eerste doodle - rechtsonder */
.lijntje1 {
    width: clamp(120px, 25vw, 300px);

    bottom: 2%;
    right: -20px;

    transform: rotate(-15deg);
}


/* Tweede doodle - rechtsboven */
.lijntje2 {
    width: clamp(80px, 12vw, 140px);

    top: 10%;
    right: +100px;

    transform: rotate(20deg);
}
}


/* ========================================
   TABLET - 768PX T/M 1023PX
======================================== */

@media (min-width: 768px) and (max-width: 990px) {

    body {
        padding: 25px;
    }

    /* Logo */
    .logo {
        width: 200px;
        top: 35px;
        left: 30px;
    }

    /* Content */
    .content {
        min-height: calc(100dvh - 50px);
        max-width: 550px;

        padding-top: 100px;
        padding-bottom: 30px;
    }

    /* Titel */
    h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    /* Beschrijving */
    p {
        font-size: 1rem;
        max-width: 450px;
    }


    .button {
        width: 240px;
        padding: 14px 18px;
    }

    /* Hartje - linksonder */
.hartje {
    width: clamp(60px, 6vw, 65px);

    bottom: 3%;
    left: 8%;

    transform: rotate(15deg);
}


/* Eerste doodle - rechtsonder */
.lijntje1 {
    width: clamp(200px, 20vw, 270px);

    bottom: 3%;
    right: -30px;

    transform: rotate(-15deg);
}


/* Tweede doodle - rechtsboven */
.lijntje2 {
    width: clamp(120px, 12vw, 140px);

    top: 5%;
    right: +10px;

    transform: rotate(20deg);
}

}
