/* =====================================
   RESET
===================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #ff1493;
    color: white;

    font-family:
        "Neue Haas Grotesk Text Pro",
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 400;
}


/* =====================================
   NAVIGASJON
===================================== */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding: 24px 32px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    align-items: start;

    z-index: 1000;
}

.navbar a {
    color: white;
    text-decoration: none;

    font-size: 17px;
    line-height: 1;
}

.navbar a:hover {
    opacity: 0.55;
}


/* =====================================
   PROSJEKTER DROPDOWN
===================================== */

.projects-dropdown {
    position: relative;

    justify-self: start;
}

.projects-dropdown::after {
    content: "";

    position: absolute;

    top: 100%;
    left: 0;

    width: 220px;
    height: 20px;
}

.dropdown-menu {
    position: absolute;

    top: 28px;
    left: 0;

    width: 220px;

    padding: 10px 0 0 0;

    display: flex;
    flex-direction: column;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;

    z-index: 2000;
}

.dropdown-menu a {
    display: block;

    padding: 4px 0;

    font-size: 14px;
    line-height: 1.2;
}

.dropdown-menu a:hover {
    opacity: 0.55;
}

.projects-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


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

.logo {
    justify-self: center;

    text-align: center;

    font-size: 18px !important;
}


/* =====================================
   KONTAKT-LENKE
===================================== */

.contact-link {
    justify-self: end;

    text-align: right;
}


/* =====================================
   KONTAKT SIDE
===================================== */

.contact-page {
    min-height: 100vh;

    padding-top: 125px;
    padding-bottom: 100px;

    display: flex;
    align-items: flex-start;
}

.contact-content {
    width: 94%;
    max-width: 1900px;

    margin: 0 auto;

    padding-top: 35px;
}

.contact-content h1 {
    margin: 0;

    font-size: 100px;
    line-height: 0.85;
    font-weight: 400;
}


/* =====================================
   KONTAKTINFO
===================================== */

.contact-info {
    margin-top: 120px;

    display: flex;
    flex-direction: column;

    gap: 35px;

    max-width: 500px;
}

.contact-item {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.contact-label {
    margin: 0;

    font-size: 15px;
    line-height: 1.2;
}

.contact-item a {
    color: white;

    text-decoration: none;

    font-size: 18px;
    line-height: 1.2;
}

.contact-item a:hover {
    opacity: 0.55;
}


/* =====================================
   MOBIL
===================================== */

@media (max-width: 700px) {

    .navbar {
        padding: 18px;
    }

    .navbar a {
        font-size: 15px;
    }

    .logo {
        font-size: 16px !important;
    }


    /* DROPDOWN */

    .dropdown-menu {
        top: 25px;
        width: 200px;
    }

    .dropdown-menu a {
        font-size: 13px;
        padding: 4px 0;
    }


    /* KONTAKT SIDE */

    .contact-page {
        padding-top: 90px;
        padding-bottom: 80px;
    }

    .contact-content {
        width: 94%;
        padding-top: 35px;
    }

    .contact-content h1 {
        font-size: 60px;
        line-height: 0.9;
    }


    /* KONTAKTINFO */

    .contact-info {
        margin-top: 80px;

        gap: 30px;

        max-width: 380px;
    }

    .contact-label {
        font-size: 13px;
    }

    .contact-item a {
        font-size: 16px;
    }

}