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

html {
    font-size: 62.5%;
}

body {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 2.6rem
}

li, button, label, input, p {
    font-size: 2rem;
}

h2 {
    font-size: 4.8rem;
}

h3 {
    font-size: 3rem;
    font-weight: 400;
}

h4, h5 {
    font-size: 2.8rem;
}

a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

button {
    padding: 2rem 6rem;
    background: #4c6e97;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.8rem;
    transition: background-color 0.5s ease-in-out;
}

button:hover {
    background: #27394e;
}

/* Navigation and Hero */
.main-head {
    background-color: #131c27;
    color: white;
}

nav {
    min-height: 10vh;
    display: flex;
    width: 90%;
    margin: auto;
    padding: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

#logo {
    flex: 1 1 40rem;
    font-family: 'Pattaya', sans-serif;
    font-weight: 400;
}

nav ul {
    display: flex;
    flex: 1 1 40rem;
    justify-content: space-around;
    list-style: none;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), transparent), url('./img/blomster1.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 90vh;
}

.hero-text {
    background: rgba(19, 28, 39, 0.85);
    border-radius: 25px;
    padding: 1.5rem 0;
}

.hero h3 {
    padding: 5rem;
}

/* PRODUKTER SECTION */
#produkter {
    min-height: 100vh;
    background-color: rgba(251, 231, 239);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.produkter-head {
    width: 90%;
    margin: auto;
}

.produkter-head h2 {
    padding: 1rem 0;
    text-decoration: underline;
}

.produkter-head h3 {
    padding: 1rem 0;
    background: linear-gradient(#131c27, #663b34);
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.imageGallery {
    display: flex;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    gap: 2rem;

    img {
        width: 350px;
    }
}

.imageGalleryHorizontal {
    display: flex;
    flex-wrap: wrap;
    padding: 1.5rem 0 2.5rem;
    gap: 2rem;

    img {
        max-width: 500px;
    }
}

/* HISTORIE SECTION */
.benefits-head {
    background: #343c44;
    padding: 3rem;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.benefits-head h3 {
    padding: 1rem;
}

.cards {
    display: flex;
    width: 90%;
    margin: auto;
    min-height: 70vh;
    align-items: center;
    flex-wrap: wrap;
}

.card {
    flex: 1 1 25rem;
    min-height: 40vh;
    margin: auto;
    box-shadow: 0 10px 10px rgba(0,0,0,0.2), 0 20px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 350px;
}

.card-icon {
    background: #343c44;
}

.cards img {
    max-width: 100px;
    margin: 2rem;
}

.card h4, .card p {
    margin-top: 1rem;
    padding: 1rem;
}

/* CONTACT US */
#contact {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), transparent), url('./img/contact-mountain.png');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper {
    background: rgba(19, 28, 39, 0.8);
    width: 60%;
    color: white;
    border-radius: 20px;
    flex-wrap: wrap;
}

.form-head {
    text-align: center;
    padding: 4rem;

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        font-size: 24px;

        a {
            text-decoration: underline;
        }
    }
}

.form-wrapper button {
    width: 100%;
    padding: 2rem;
    margin-top: 8rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.form-wrapper input {
    padding: 1rem 3rem;
}

/* FOOTER SECTION */
footer {
    color: white;
    background: rgb(19, 28, 39);
}

.footer-wrapper {
    display: flex;
    padding: 2rem;
    width: 90%;
    margin: auto;
    align-items: center;
    min-height: 10vh;
}

footer h5 {
    flex: 7 1 40rem;
}

footer ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 932px) {
    html {
        font-size: 45%;
    }

    nav {
        text-align: center;
    }

    #logo {
        padding: 2rem;
    }

    .form-wrapper {
        width: 95%;
        text-align: center;
    }

    .form-wrapper label {
        padding-bottom: 2rem;
    }

    .imageGalleryHorizontal {
        img {
            max-width: 350px;
        }
    }
}
