@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;  
}

section{
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: url(../images/stephan.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

header{
    position: relative;
    top: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo{
    position: relative;
    color: #000;
    font-size: 30px;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 1px;
}

header .navigation a{
    color: #000;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px; 
    padding: 2px 15px;
    border-radius: 20px;
    transition: 0.5s;
    transition-property: background;
}

header .navigation a:not(:last-child){
    margin-right: 30px;
}

header .navigation a:hover{
    background: #fff;

}

.content{
    max-width: 650px;
    margin: 60px 100px;
}

.content .info h2{
    color:#2f3533;
    font-size: 55px;
    text-transform: uppercase;
    font-weight: 800px;
    letter-spacing: 2px;
    line-height: 60px;
    margin-bottom: 30px;
}

.content .info h2 span{
    color: #fff;
    font-size: 50px;
    font-weight: 600; 
}

.content .info p{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
}

.content .info-btn{
    color: #fff;
    background: #2f3533;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.5s;
    transition-property: background;
}

.content .info-btn:hover{
    background: #fff;
    color: #000;

}

.media-icons{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;  
    transition: 2s;
    transition-property: transform;
}

.media-icons a{
    position: relative;
    color:#fff;
    font-size: 25px;
}

.media-icons a:not(:last-child){
    margin-right: 60px;
}

.media-icons a:hover{
    transform: scale(1.5);
}

label{
    display: none;
}

#check{
    z-index: 3;
}
 
@media(max-width: 960px){
    header .navigation{
        display: none;
    }

    label{
        display: block;
        font-size: 25px;
        cursor: pointer;
        transition: 0.5s;
        transition-property: color;
    }

    label :hover{
        color: #fff;
    }

    label .close-btn{
        display: none;
    }

    #check:checked ~ header .navigation{
        z-index : 2;
        position: fixed;
        background: #dbab95;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }   

    #check:checked ~ header .navigation a{
        font-weight: 700;
        margin-right: 0;
        margin-bottom: 50px;
        letter-spacing: 2px;
    }

    #check:checked ~ header label .menu-btn{
        display: none;
    }

    #check:checked ~ header label .close-btn{
        z-index: 2;
        display: block;
        position: fixed;
    }

    laber .meny-btn{
        position: absolute;
    }

    header .logo{
        position: absolute;
        bottom: -20px;
        left: 20px;
    }
}
@media screen and (max-width: 768px) {
    .navigation {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust as needed */
        left: 0;
        width: 100%;
        background-color: #f8f9fa; /* Adjust background color as needed */
        padding-top: 10px; /* Add some padding for better spacing */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better visibility */
    }

    .navigation a {
        padding: 10px;
        text-align: center;
    }

    .menu-btn {
        display: block;
        position: absolute;
        top: 20px; /* Adjust as needed */
        right: 20px; /* Adjust as needed */
        cursor: pointer;
    }

    .close-btn {
        display: none;
        cursor: pointer;
    }

    #check:checked ~ .navigation {
        display: flex;
    }

    #check:checked ~ .menu-btn {
        display: none;
    }

    #check:checked ~ .close-btn {
        display: block;
    }
}