
body{
    width: 100%;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    padding: 20px;
    background-image: url('image21.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

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

.Head{
    width: 100%;
    padding: 5rem 5rem 10rem 5rem;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;

}

#Logo{
    position: absolute;
    border-radius: 100%;
    left: 2rem;
}

ul{
    list-style: none;
    display: flex;
    gap: 10rem;
}

li a{
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 20px;
    padding: 10px 15px;
    transition: 0.6s;
}

li a:hover{
    background-color: aqua;
}

.top{
    background-color: aqua;
}


button{
    border: 2px solid aqua;
    background: transparent;
    border-radius: 5px;
    padding: 10px 15px;
    margin-left: 30px;
    font-size: 18px;
    font-weight: 600;
    color: aqua;
    cursor: pointer;
    transition: 0.6s;
}

button:hover{
    background-color: white;
}

.slutet{
    padding: 2rem 5rem 2rem 5rem;
    align-items: center;
    height: 70vh;
}


.slutet h1{
    color: white;
    font-size: 4rem;
    padding-bottom: 30px;
    overflow: hidden;
    width: 900px;
}

.slutet p{
    color: white;
    padding-bottom: 20px;
}
.button2{
    margin-left: 25px;
}
.button4{
    margin-left: 25px;
}

.button3{
    margin-left: 25px;
}

@media (max-width: 1024px) {
    .Head {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1rem;
    }

    ul {
        gap: 2rem;
        justify-content: center;
    }

    #Logo {
        margin-bottom: 1rem;
        max-width: 120px;
        height: auto;
    }

    .slutet h1 {
        font-size: 2.5rem;
        width: 100%;
    }

    button {
        margin: 10px;
        font-size: 16px;
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .Head {
        padding: 1rem;
    }

    ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    li a {
        font-size: 16px;
    }

    #Logo {
        max-width: 100px;
        height: auto;
    }

    .slutet h1 {
        font-size: 2rem;
        width: 100%;
    }

    .slutet p {
        font-size: 16px;
    }

    .slutet {
        text-align: center;
    }

    .button2,
    .button3,
    .button4 {
        margin-left: 0;
        display: block;
        width: 90%;
        max-width: 300px;
        margin: 10px auto;
    }


}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .Head {
        padding: 1rem;
    }

    #Logo {
        max-width: 80px;
        height: auto;
    }

    .slutet h1 {
        font-size: 1.6rem;
        width: 100%;
    }

    .slutet p {
        font-size: 14px;
    }

    button {
        width: 90%;
        max-width: 280px;
        padding: 12px;
        font-size: 15px;
    }
}
