@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}


:root {
    --hsl-frozen-water: #BEE9E8;
    --hsl-pacific-blue: #62B6CB;
    --hsl-yale-blue: #1B4965;
    --hsl-pale-sky: #CAE9FF;
    --hsl-fresh-sky: #5FA8D3;
    --header-color: #4e7bb1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

section {
    min-height: 100vh;
}

p,
li {
    line-height: 26px;
}

/* NAV */
nav {
    background-color: var(--hsl-yale-blue);
    font-family: "Nunito", sans-serif;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

.logo-container {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.logo-container:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}

.logo {
    color: white;
    font-size: 30px;
}

.nav-links {
    display: flex;
    gap: 15px;
    font-size: 18px;
}

.nav-links a {
    text-decoration: none;
    letter-spacing: 1px;
    padding: 10px;
    border-radius: 25px;
    color: white;
    min-width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid transparent;
}

.nav-links a:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.1);
    border-color: var(--hsl-frozen-water);
    color: var(--hsl-frozen-water);
    transition: 0.5s;
}

/* FOOTER */
footer {
    background-color: var(--hsl-frozen-water);
    min-width: 100vw;
    min-height: 30px;
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    list-style: none;
    font-style: none;
    display: flex;
    flex-direction: column;
}

.footer-links a {
    cursor: pointer;
    text-decoration: none;
    color: var(--hsl-yale-blue);
    padding: 10px;
}

/* HJEMMESIDE */
/* HEADER */
.header {
    background-color: var(--header-color);
    position: relative;
}

.bølge-bilde{
    position: absolute;
    min-width: 100%;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.header .container {
    min-height: 100vh;
    padding: 2rem;
}

h1 {
    color: rgb(122, 214, 232);
    position: absolute;
    top: 140px;
    left: 430px;
    font-size: 140px;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
    z-index: 1;
}


/* FUN-FACTS */
.ff-section .container {
    padding: 2rem;
    min-height: 100vh;
}

.bildepynt {
    position: absolute;
    min-width: 1700px;
    bottom: -20px;
    left: -100px;
    z-index: -10;
}

.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    align-items: start;
}

.ff-title {
    text-align: center;
    font-size: 50px;
    padding: 1rem;
    font-family: "Cormorant Garamond", serif;
}

.grid-card {
    box-shadow: rgba(0, 0, 0, 0.3) 5px 10px 5px 2px;
    z-index: 100;
}

.grid-card img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}

.grid-card h3 {
    font-size: 24px;
    text-transform: uppercase;
    text-align: center;
    padding: 15px;
    font-family: "Cormorant Garamond", serif;
}

.grid-card-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    gap: 20px;
}

.btn-container {
    min-width: 100%;
    display: flex;
    justify-content: center;
}

.btn-container.active .mer {
    display: none;
}

.btn-container.active .mindre {
    display: flex;
}

.visBtn {
    padding: 15px;
    font-weight: bold;
    letter-spacing: 1.5px;
    min-width: 40%;
    background-color: rgb(122, 214, 232);
    border: none;
    border-radius: 10px;
    text-transform: lowercase;
    text-decoration: underline transparent;
}

.visBtn:hover {
    cursor: pointer;
    text-decoration: underline 1px;
    background-color: rgb(68, 203, 230);
}

.mindre {
    display: none;
}

.visTekst {
    display: none;
    flex-direction: column;
    font-family: "Nunito", sans-serif;
}

.grid-card-text.active .visTekst {
    display: flex;
}