* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

.navbar {
    background: #ffffff;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    margin-top: 0px;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: #000000;
    background-image: url('Images/potetfolket\ logo.png');
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    margin-top: 0px;
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #007fb9c4;
    color: #ffffff;
}

.button:hover {
    background: #004299be;
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #000000;
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: 80px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        height: 50vh;
        z-index: -1;
        background: #fff;     
    }

    .navbar__menu.active {
        background: #fff;
        top: 100%;
        opacity: 1;
        visibility: visible;
        transition: all 0.2s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #000000;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80%;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active {
        .navbar__links {
            color: #ffffff;
            text-align: center;
        }
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }






.main {
    background-color: #ffffff;
}

.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: 90vh;
    background-color: #ffffff;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
}

.main__content h1 {
    font-size: 4rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content h2 {
    font-size: 4rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #b721ff 0%, #21d4fd 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content p {
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.main__btn:after {
    position: relative;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #4837ff;
    transition: all 0.35s;
    border-radius: 4px;
}

.main__btn:hover {
    color: #fff;
}

.main__btn:hover:after {
    width: 100%;
}

.main__img--container {
    text-align: center;
}

#main__img {
    height: 80%;
    width: 80%;
}


@media screen and (max-width: 768px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;
    }

    .main__content {
        text-align: center;
        margin-bottom: 4rem;
    }

    .main__content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main__content h2 {
        font-size: 3rem;
    }

    .main__content p {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2 {
        font-size: 2rem;
    }

    .main__content p {
        margin-top: 2rem;
        font-size: 1.5rem;
    }

    .main__btn {
        padding: 12px 36px;
        margin: 2.5rem 0;

    }
}


.services {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin-bottom: 100px;
    margin-top: 100px;
}

.services h1 {
    background-color: #000000;
    background-image: linear-gradient(to right, #000000 100%);
    background-size: 100%;
    margin-bottom: 5rem;
    font-size: 2.5rem;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.services__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.services__card {
    margin: 1rem;
    transition: 0.2s ease-in;
    height: 525px;
    width: 425px;
    border-radius: 4px;
    background-image: linear-gradient(
        to bottom,
     rgba(0,0,0,0) 0%,
     rgba(5,5,5,0.1) 60%,
     rgba(30, 30, 30, 0.6) 100%),
    url('Images/potet1.jpg');
    background-size: cover;
    position: relative;
    color: rgb(32, 31, 31);
    display: flex; /* Add display: flex */
    flex-direction: column; /* Stack child elements vertically */
    justify-content: center; /* Center child elements vertically */
    align-items: center; /* Center child elements horizontally */
}

.services__card img {
    max-width: 100%;
    max-height: 100%; /* Ensure the image does not exceed the card height */
    border-radius: 4px;
    align-items: center;
}

.services__card:nth-child(2) {
    background-image: linear-gradient(
        to bottom,
     rgba(0,0,0,0) 0%,
     rgba(5,5,5,0.1) 60%,
     rgba(30, 30, 30, 0.6) 100%),
    url('Images/potet2.jpg');
}
.services__card:nth-child(3) {
    background-image: linear-gradient(
        to bottom,
     rgba(0,0,0,0) 0%,
     rgba(5,5,5,0.1) 60%,
     rgba(30, 30, 30, 0.6) 100%),
    url('Images/potet3.jpg');
}
.services__card:nth-child(4) {
    background-image: linear-gradient(
        to bottom,
     rgba(0,0,0,0) 0%,
     rgba(5,5,5,0.1) 60%,
     rgba(30, 30, 30, 0.6) 100%),
    url('Images/potet4.jpg');
}

.services__card:nth-child(2) h2 {
    top: 370px;
}
.services__card:nth-child(3) h2 {
    top: 390px;
}
.services__card:nth-child(4) h2 {
    top: 370px;
}


.services h2 {
    position: absolute;
    top: 410px;
    left: 20px;
    color: #fff;
}

.services__card p {
    position: absolute;
    bottom: 10px;
    left: 12px;
    margin: 10px; /* Add margin for spacing if needed */
    color: #fff; /* Set the text color */
    text-align: left;
}

.services__card button {
    color: #fff;
    padding: 10px 20px;
    transition: 0.2s ease-in;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #007fb9c4;
    position: absolute;
    top: 440px;
    left: 30px;
    font-size: 1.1rem;
    cursor: pointer;
}

.services h1 {
    font-size: 2rem;
}



@media screen and (max-width: 960px) {
    .services {
        height: 2750px;
        margin-bottom: 200px;
    }

    .services h1 {
        font-size: 2rem;
        margin-top: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .services {
        height: 2550px;
        margin-bottom: 200px;
    }

    .services h1 {
        font-size: 1.2rem;
    }

    .services__card {
        width: 300px;
    }
}


/* Footer CSS */
.footer__container {
    background-color: #141414;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    margin-top: 100px;
}

@media screen and (max-width: 960px) {
    .footer__container {
        /* Ensure visibility */
        display: block; /* or any suitable display value */
        /* Adjust positioning if necessary */
        position: relative; /* or any other suitable position */
    }
}

@media screen and (max-width: 480px) {
    .footer__container {
        /* Ensure visibility */
        display: block; /* or any suitable display value */
        /* Adjust positioning if necessary */
        position: relative; /* or any other suitable position */
    }
}

#footer__logo {
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.footer__link--wrapper {
    display: flex;
}

.footer__link--items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 16px;
    text-align: left;
    width: 160px;
    box-sizing: border-box;
}

.footer__link--items h2 {
    margin-bottom: 16px;
}

.footer__link--items > h2 {
    color: #fff;
}

.footer__link--items a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__link--items a:hover {
    color: #e9e9e9;
    transition: 0.3s ease-out;
}

@media screen and (max-width: 960px) {
    .footer__container {
        min-height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .footer__container {
        min-height: 400px;
    }
    }

/* Social Icons*/
.social__icon--link {
    color: #fff;
    font-size: 24px;
}

.social__media {
    max-width: 1000px;
    width: 100%;
}

.social__media--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.social__icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}

.social__logo {
    color: #fff;
    justify-self: flex-start;
    margin-left: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.website__rights {
    color: #fff;
}

@media screen and (max-width: 820px) {
    .footer__links {
        padding-top: 2rem;
    }

    #footer__logo {
        margin-bottom: 2rem;
    }

    .website__rights {
        margin-bottom: 2rem;
    }

    .footer__link--wrapper {
        flex-direction: column;
    }

    .social__media--wrap {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .footer__link--items {
        margin: 0;
        padding: 10px;
        width: 100%;
    }
}

.banner-area {
    background-image: url(Images/potetfolket\ logo2.jpg);
    background-size: cover;
    background-position: center center;
    height: 54vh;
    position: absolute;
    width: 100%;
}

.banner-area:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: .7;
    z-index: -1;
}

* {
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    height: 75vh;
}

.banner {
    width: 100%;
    height: 65vh;
    background-image: url(Images/potetfolket\ logo2.jpg);
    background-size: cover;
    background-position: 69%;
    border-radius: 50px;
}

.banner-text {
    padding: auto;
}

.banner-text h2 {
    letter-spacing: 1px;
    text-align: center;
    font-weight: bold;
    font-size: 25px;
}

.banner-text h1 {
    font-size: 100px;
    padding-top: 7rem;
}

#btn {
    width: 150px;
    height: 35px;
    font-weight: bold;
    background-color: black;
    letter-spacing: 3px;
    color: #fff;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

@media screen and (max-width: 240px) {
    .container h1 {
        width: 50%;
        height: 50%;
    }
}

.center {
    position: absolute;
    top: 50%;
    left: 88%;
    transform: translate(-50%,-50%);
}

.center button {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #007fb9c4;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 5px;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(0.1);
    width: 380px;
    text-align: center;
    padding: 20px 30px;
    background:#fff;
    box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    transition: transform 0.4s, top 0.4s;
    visibility: hidden;
}

.open-popup {
    visibility: visible;
    top: 50%;
    transform: translate(-50%,-50%) scale(1);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    background: #888;
    color: #eee;
    text-align: center;
    line-height: 15px;
    border-radius: 15px;
    cursor: pointer;
}

.form h2 {
    text-align: center;
    color: #222;
    margin: 10px 0px 20px;
    font-size: 25px;
}

.form-element {
    margin: 15px 0px;
}

.form-element label {
    font-size: 14px;
    color: #222222;
}

.form-element input[type="text"] {
    margin-top: 5px;
    display: block;
    width: 100%;
    padding: 10px;
    outline: none;
    border: 1px solid #aaa;
    border-radius: 5px;
}

.form-element input[type="password"] {
    margin-top: 5px;
    display: block;
    width: 100%;
    padding: 10px;
    outline: none;
    border: 1px solid #aaa;
    border-radius: 5px;
}

.form-element input[type="checkbox"] {
    margin-right: 5px;
}

.form-element button {
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    font-size: 15px;
    background: #007fb9c4;
    color: #f5f5f5;
    border-radius: 10px;
    cursor: pointer;
    
}

.form-element a {
    display: block;
    text-align: center;
    font-size: 15px;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

.form-element2 a {
    display: block;
    text-align: center;
    font-size: 15px;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}
