:root {
    --background:           #D4D9D1;
    --accent:               #D17772;
    --mediumlightaccent:    #E2A8A5;
    --lightaccent:          #F2D8D7;
    --verylightaccent:      #FBF1F0;
    --greenaccent:          #637459;
    --greenlightaccent:     #B8C0B3;
    --greenverylightaccent: #EAECE8;
}
@font-face {
    font-family: 'abatorsgrowthregular';
    src: url('abatorsgrowth-goloo-webfont.woff2') format('woff2'),
         url('abatorsgrowth-goloo-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/*
body {
  scroll-padding-top: constant(safe-area-inset-top); /* for iOS devices 
  scroll-padding-top: env(safe-area-inset-top); /* for modern browsers 
}

.wrapper {
  scroll-padding-top: constant(safe-area-inset-top); 
  scroll-padding-top: env(safe-area-inset-top); 
}

.body {
  height: calc(100% - env(safe-area-inset-top)); /* for modern browsers 
  height: calc(100% - constant(safe-area-inset-top)); /* for iOS devices 
  overflow-y: scroll;
}
*/
#mobilpad, #hamburgerbutton, #hamburgerbutton2, #sevardpad, #sevardpad2, .topbar { /*   #mobil-meny,    */
    display: none;
}

#padding-sidor {
    padding-top: 30px;
}


#left-content {
    position: fixed;
    left: 2.5%;
    width: 20%;
    height: 90%;
    /*background-color: white;*/
    overflow: auto;
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    margin: 0;
    top: auto;
    bottom: 4%;
    transform: translateY(0); /* No need to use translateY here */
    overflow-y: hidden;
}

#right-content {
    position: fixed;
    right: 2.5%;
    width: 20%;
    height: 90%;
    /*background-color: white;*/
    overflow: auto;
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    margin: 0;
    top: auto;
    bottom: 4%;
    transform: translateY(0); /* No need to use translateY here */
    overflow-y: hidden;
}

.liquid-glass {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    backdrop-filter: blur(10px) saturate(105%) contrast(120%);
    -webkit-backdrop-filter: blur(30px) saturate(150%) contrast(120%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05), inset 0 0 0.5px rgba(255, 255, 255, 0.4);
    border: 0.1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}



.left-content-square {
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width:100%;
}

.right-content-square {
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    margin: 0;
    position: absolute;
    top: 50%; /*44%*/
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width:100%
}

@media screen and (max-width: 700px) {
    #left-content {
        width: 100%;
        height: auto;
        position: relative;
        margin-top: 20px;
    }
    div.content {
        margin-left: 0;
        margin-right: 0;
    }
}

/* The side navigation menu */
.right-text {
    width: 100%;
    /*background-color: white;*/
    height: 700%;
    overflow: auto;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1vw;
    text-align: center; /* Center text */
    
    position: absolute;
    z-index: 1;
    overflow-x: hidden;
    top: -80%;
}
.sidebar-right {
    width: 100%;
    /*background-color: white;*/
    height: 50vh;
    overflow: auto;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1vw;
    text-align: center; /* Center text */
    
    position: absolute;
    z-index: 1;
    overflow-x: hidden;
    top: -10%;
}
.sidebar-right {
    transition: transform 0.5s ease-out;
}
#right-content:hover .sidebar-right img {
    transform: scale(1.2);
}
.sidebar {
    width: 100%;
    /*background-color: white;*/
    height: 1000%;
    overflow: auto;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1vw;
    text-align: center; /* Center text */
    
    position: absolute;
    z-index: 1;
    overflow-x: hidden;
    top: -70%;
}
/* Sidebar links */
.sidebar a{
    display: block;
    color: black;
    padding: 1.5%;
    text-decoration: none;

    
    border: none;
    background: none;
    width:100%;
    text-align: left;
    cursor: pointer;
    outline: none;
    padding-left: 15%;
    cursor: pointer;
    outline: none;
}

.dropdownbutton {
    display: block;
    color: black;
    padding: 0%;
    text-decoration: none;

    
    border: none;
    background: none;
    width:100%;
    text-align: left;
    cursor: pointer;
    outline: none;
    padding-left: 15%;
    padding-top:1.5%;
    transform: translateY();

    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1vw;
}
.dropdownbutton2{
    display: block;
    color: white;
    padding: 0%;
    text-decoration: none;

    
    border: none;
    background-color: var(--accent);
    width:100%;
    text-align: left;
    cursor: pointer;
    outline: none;
    padding-left: 15%;
    padding-top:1.5%;

    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1vw;
}

.fa-caret-down {
    float: right;
    width: 1vw;
    position: relative;
    right: 15%;
    transform: translateY(-15%);
}

.dropdownContainer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-bottom 0.5s ease-out;
    background-color: rgba(255, 255, 255, 0.5);
    padding-left: 10%;
    padding-right: 15%;
    font-size: 0.9vw;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 100%;
    box-shadow: inset rgba(0, 0, 0, 0.35) 0px 2px 15px;
}
.dropdownContainer2 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: rgba(255, 255, 255, 0.5);
    padding-left: 10%;
    padding-right: 15%;
    font-size: 0.9vw;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 100%;
    box-shadow: inset rgba(0, 0, 0, 0.35) 0px 2px 15px;
    z-index:10;
}

.active + .dropdownContainer2 {
    max-height: 500px;
}


.active, .sidebar a.active {
    /*background-color: var(--accent);*/
    color: white;
    transition: 0.15s;
    background: linear-gradient(to right, var(--accent), var(--mediumlightaccent));

}

.dropdownbutton a.active, .dropdownbutton2 a.active {
    background-color: var(--lightaccent);
    color: white;
    transition: 0.15s;
}


.sidebar a:hover:not(.active), .dropdownbutton:hover:not(.active) {
    background-color: var(--lightaccent);
    color: black;
    transform: scale(1.10);
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    transition: transform 0.5s ease; /* Smooth scaling transition */
}

div.content {
    height: 100%;
}

#ringar {
    border-radius: 50%;
    width: 12vw;
    text-align: center; /* Center the text within the container */
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    position: relative;
    top: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#bilder {
    height:50%
}


@media screen and (max-width: 700px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .sidebar a {
        float: left;
    }
    div.content {
        margin-left: 0;
    }
}


@media screen and (max-width: 600px) {
    .sidebar a {
        text-align: center;
        float: none;
    }
}


#blad2 {
    position: absolute;
    width: 100%;
    top: 0px;
    z-index: 0;
}

#blad2_ned {
    position: absolute;
    width: 100%;
    bottom: 0px;
    z-index: 0;
    transform: scale(-1,-1);
}

#blad2_right {
    position: absolute;
    width: 100%;
    left:0px;
    top: 0px;
    z-index: 0;
}

#blad2_ned_right {
    position: absolute;
    width: 100%;
    left:0px;
    bottom: 0px;
    z-index: 0;
    transform: scale(-1,-1);
}

#blommor {
    width:30%;
    position: relative;
    z-index: -1;
    top: 4%;
    
}
.right-content-square img {
    pointer-events: auto; /* Enables hover effect */
    transition: transform 0.3s ease; /* Smooth scaling transition */
    
}
.right-content-square img:hover {
    transform: scale(1.2); /* Scale up the image by 5% */
}








/* Reset some default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#test {
    /*background-color: var(--background);*/

}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    /*background-color: var(--background);*/
}
body {
    background-image: url('Wallpaper.png');
    background-size: cover; /* eller 'contain' eller 'auto' beroende på vad du föredrar */
    background-repeat: no-repeat;
    background-attachment: fixed; /* gör att bilden inte scrollas med */
    background-position: center;
}

/* Container styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* Center horizontally */
    text-align: center; /* Center text */
    position: relative;
    top:-10px;
    padding-bottom: 0;
}

.container img, .container2 img, #Huvudbild {
    max-width: 80%;
    height: auto;
    border-radius: 2%;
    display: block;
    margin: 0 auto;
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px, rgba(0, 0, 0, 0.35) 0px 2px 15px;
    position: relative;
}/* Container for both images */
.image-container {
    position: relative;
    display: inline-block;
}
.image-container {
    transition: transform 0.5s ease; /* Smooth scaling transition */
    pointer-events: auto; /* Enables hover effect */
}
.image-container:hover {
    transform: scale(1.08);
}
/* Background image styles */
#Huvudbild {
    display: block;
    width: 100%;
    height: auto;
}
/* Foreground image styles */
#Huvudbild-faces {
    border-radius: 2%;
}
.face-container {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Prevents the foreground image from blocking interaction with other elements */
}

/* Foreground image scaling on hover */
.face-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Smooth scaling transition */
    pointer-events: auto; /* Enables hover effect */
}

/* Hover effect for the face image */
.image-container:hover .face-container img {
    transform: scale(1.06); /* Scale up the image by 5% */
}
.image-container-left {
    position: relative;
    display: inline-block;
    transform: translateY(20%);
}

/* Background image styles */
#ringar {
    display: block;
    width: 70%;
    height: auto;
    transition: transform 0.3s ease; /* Smooth scaling transition */
}
#left-content:hover #ringar{
    transform: scale(1.08);
}
#right-content:hover #ringar{
    transform: scale(1.08);
}
/* Foreground image styles */
#ringar-face {
    border-radius: 50%;
}
.face-container-left {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 70%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Prevents the foreground image from blocking interaction with other elements */
    transform: translateY(-20%);
}

/* Foreground image scaling on hover */
.face-container-left img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Smooth scaling transition */
    pointer-events: auto; /* Enables hover effect */
}

/* Hover effect for the face image */
#left-content:hover #ringar-face{
    transform: scale(1.15); /* Scale up the image by 10% */
}
#right-content:hover #ringar-face{
    transform: scale(1.15); /* Scale up the image by 10% */
}

#pad, #pad-sida {
    padding-top: 1%;
    padding-bottom: 1%;
}

#Bakgrund {
    width: 50%;
    height: 100%;
    margin: 0 auto;
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px/*, rgba(0, 0, 0, 0.35) 0px 2px 15px*/;
    /*background-color: white;
    z-index: 1;*/
}

#blad {
    position: relative;
    width: 100%;
}
#blad_main_ned {
    position: relative;
    width: 100%;
    transform: scale(-1,-1);
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
    z-index: 0;
}

#Titel {
    color: var(--accent);
    font-family: Hurricane;/*Verdana, Geneva, Tahoma, sans-serif;*/
    font-size: 4vw;
    font-weight: bold;
    background: white;
    border-radius: 50px;
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    height: 60px;
    display: flex;
    justify-content: center; /* Center the text horizontally */
    align-items: center; /* Center the text vertically */
    text-align: center; /* Center the text within the container */
    padding: 5%;
    margin: 0 auto;
    width: fit-content; /* Adjust the width to fit the content */
    position: relative;
    bottom: 30px;
    z-index: 1;
    pointer-events: auto; /* Enables hover effect */
    transition: transform 0.3s ease; /* Smooth scaling transition */
}
#Titel p {
    pointer-events: none; /* Enables hover effect */
}
#Titel:hover {
    transform: scale(1.1);
}

#Bakgrund1 {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: sticky;
}

#Under {
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    width: 85%;
    height: auto;
    border-radius: 15px; /* Apply border radius */
    margin: 0 auto;
    padding: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(calc(-100vw*0.04));
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    pointer-events:auto;
    background-color: white;
}
#Under.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events:auto;
}
#Under.visible:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease-out;
    pointer-events:auto;
}

#Under::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 25px;
    border-radius: 15px 15px 0 0; /* Apply border radius to top */
    background: linear-gradient(to right, var(--greenlightaccent), var(--greenverylightaccent));
}
#Under_stor {
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    width: 85%;
    height: auto;
    border-radius: 15px; /* Apply border radius */
    margin: 0 auto;
    padding: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(calc(-100vw*0.04));
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    pointer-events:auto;
    background-color: white;
}
#Under_stor.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events:auto;
}

#Under_stor::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 25px;
    border-radius: 15px 15px 0 0; /* Apply border radius to top */
    background: linear-gradient(to right, var(--greenlightaccent), var(--greenverylightaccent));
}
#Under_stor2 {
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    width: 85%;
    height: auto;
    border-radius: 15px; /* Apply border radius */
    margin: 0 auto;
    padding: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(calc(-100vw*0.04));
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    pointer-events:auto;
    background-color: white;
}
#Under_stor2.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events:auto;
}

#Under_stor2::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 25px;
    border-radius: 15px 15px 0 0; /* Apply border radius to top */
    background: linear-gradient(to right, var(--greenlightaccent), var(--greenverylightaccent));
}
#rumstyper {
    width: 70%;
    margin: auto;
    display: block;
    padding-bottom: 2%;
}

#Rubrik {
    text-align: left;
    font-size: 1.6vw;
    padding-top: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
#Rubrik2 {
    text-align: left;
    font-size: 1.6vw;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#Under_text {
    text-align: left;
    font-size: 1.2vw;
    padding-top: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
#Under_text_spec {
    text-align: left;
    font-size: 1.2vw;
    padding-top: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-left: 30%;
    padding-right: 30%;
    font-size: 1.2vh;
    color: gray;
}
#Under_text a {
    color: var(--accent);
    font-weight: bold;
}

/* Added styles for iframe responsiveness */
.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%; /* Match the width of the images */
    padding-top: 100%; /* Adjusted aspect ratio for the form */
    margin: 0 auto; /* Center horizontally */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    border: 0;
}

.sevart-left {
    position: fixed;
    height: 35%;
}
.sevart-left #sevardtext-left {
    position: relative;
    /*transform: translateY(2%);*/
    font-size: 1vw;
    height:100%;
    z-index: -1;
    transition: transform 0.3s ease;
    margin-right: 2%;
}
.sevart-left:hover #sevardtext-left {
    transform: scale(1.05);
    transform: translateX(-0.5%);
}
.sevart-left #sevardbild-left{
    width: 35%;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 51, 0.4) 0px 2px 15px;
    float: left;
    margin-right: 2%;
    transition: transform 0.3s ease;
    background: blue;
}
.sevart-left:hover #sevardbild-left{
    transform: scale(1.05);
}
.sevart-right {
    position: fixed;
    height: 35%;
    padding-right: 2%;
}
.sevart-right #sevardtext-right {
    position: relative;
    /*transform: translateY(2%);*/
    font-size: 1vw;
    height:100%;
    z-index: -1;
    transition: transform 0.3s ease;
}
.sevart-right:hover #sevardtext-right {
    transform: scale(1.05);
    transform: translateX(0.5%);
}
.sevart-right #sevardbild-right{
    width: 35%;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    float: right;
    margin-left: 2%;
    transition: transform 0.3s ease;
}
.sevart-right:hover #sevardbild-right{
    transform: scale(1.05);
}
.sevart-left #sevardtext-left, .sevart-right #sevardtext-right {
    z-index: 1; /* Ensure elements are clickable */
}
#sevardhetspad {
    padding-top:40%;
}
#sevardhetspadbotten {
    padding-top:36%;
}


#Mobil {
    display: none;
}

#mobile-menu {
    display:none
}

#mobil-content {
    display: none;
}

.hamburgermenu, .hamburgermenu2 {
    display: none
}

#mobil-meny {
    position: relative;
    width: 100%;
    /*background-color: white; DENNA*/ 
    top: 0;
    overflow: hidden;
    max-height: 0px; /* Initially collapsed */
    transition: max-height 0.5s ease-out; /* Smooth transition */
}


/*FÖLJE*/
.datorpersoner {
    display: block;
}
.mobilpersoner {
    display: none;
}
.folje {
    position: relative;
    display: flex;
    padding-left: 2%;
    
}
.persontyp {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.2vw;
    border-radius: 50%;
    width: 90%;
    text-align: center;
}
.personbild {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1vw;
    border-radius: 50%;
    width: 90%;
    margin: 0 auto;
}
.person {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.8vw;
    border-radius: 50%;
    width: 90%;
    margin: 0 auto;
    transition: max-height 0.5s ease-out; /* Smooth transition */
}
.person:hover {
    transform: scale(110%);
    transition: transform 0.3s ease;
}
.person:hover #Under_stor {
    height: fit-content;
    transition: height 0.3s ease;
}
.person:hover #Under_stor.visible {
    height: fit-content;
    transition: height 0.3s ease;
}
.person:hover #Under_stor2.visible {
    height: fit-content;
    transition: height 0.3s ease;
}
.name {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.8vw;
    border-radius: 50%;
    width: 90%;
    text-align: center;
}
.omperson {
    font-size: 0.6vw;
    background-color: var(--lightaccent);
    width: 100%;
    padding: 10px 10px;
    display: none;
    border-radius: 15px 0 15px 0; /* Apply border radius to top */
    
}
.person:hover .omperson {
    display: block;
    transition: display 2s ease;;
}

/* Media query for smaller devices */
@media (max-width: 1023px) { /*600*/
    .datorpersoner {
        display: none;
    }
    .mobilpersoner {
        display: block;
    }
    .sidebar a:hover:not(.active), .dropdownbutton:hover:not(.active) {
        transform: scale(1); /*1*/
    }
    .container img, .container2 img, #Huvudbild {
        max-width: 90%;
        border-radius: 15px 15px 15px 15px
    }
    .face-container {
        position: absolute;
        bottom: 0;
        left: 5%;
        margin-left:auto;
        margin-right: auto;
        width: 90%;
        display: block;
        pointer-events: none; /* Prevents the foreground image from blocking interaction with other elements */
    }
    /*#Huvudbild-faces {
        border-radius: 8%;
    }*/
    .face-container:hover {
        transition: 0.5s ease;
        transform: scale(1); /*1.05*/
    }
    
    #left-content {
        display: none;
    }

    #right-content {
        display: none;
    }

    .iframe-container {
        padding-top: 200%; /* Adjust to a taller aspect ratio for mobile */
    }
    
    #pad {
        padding-top: 2%;
        padding-bottom: 2%;
    }

    #pad-sida {
        padding-top: 4%;
        padding-bottom: 9%;
    }

    #mobil-content {
        display: none;
        background-color: white;
    }
    
    #Rubrik {
        font-size: 4vw;
    }

    #Under {
        width: 90%;
        padding: 15px;
        top: -10px;
    }
    #Under_stor {
        width: 90%;
        padding: 15px;
        top: -10px;
        transition: transform 0.3s ease;
    }
    #Under_stor2 {
        width: 90%;
        padding: 15px;
        top: -10px;
        transition: transform 0.3s ease;
    }

    #Under_text {
        font-size: 3.5vw;
    }
    #Under_text_spec {
        padding-top: 15%;
        padding-left: 10%;
        padding-right: 10%;
    }
    #sevardhetspad {
        padding-top:10%;
    }
    #sevardhetspadbotten {
        padding-top:9%;
    }
    #sevardpad {
        display: block;
    }
    #sevardpad2 {
        display: none;
    }
    .sevart-left #sevardtext-left {
        top: -18px;
        font-size: 2.2vw;
    }
    .sevart-left #sevardbild-left {
        width: 40%;
    }
    .sevart-left {
        height: 40%;
        margin-right: 0.5%;
    }
    .sevart-right #sevardtext-right {
        top: -18px;
        font-size: 2.2vw;
    }
    .sevart-right #sevardbild-right {
        width: 40%;
    }
    .sevart-right {
        height: 40%;
        padding-right: 2%;
    }
    #Dator {
        display: none;
    }

    #Mobil {
        display: block;
    }

    .container img {
        max-width: 100%;
    }
    
    #Bakgrund {
        width: 94%;
        height: 90%;
        margin: 0 auto;
        box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
        position:relative;
        top:25px;
        padding-bottom: top%;
    }
    
    #Under::before {
        content: '';
        position: absolute;
        top: 0px;
        left: 0;
        right: 0;
        height: 20px;
        border-radius: 15px 15px 0 0; /* Apply border radius to top */
    }
    #Under_stor::before {
        content: '';
        position: absolute;
        top: 0px;
        left: 0;
        right: 0;
        height: 20px;
        border-radius: 15px 15px 0 0; /* Apply border radius to top */
    }
    #Under_stor2::before {
        content: '';
        position: absolute;
        top: 0px;
        left: 0;
        right: 0;
        height: 20px;
        border-radius: 15px 15px 0 0; /* Apply border radius to top */
    }

    #Bakgrund1 {
        width: 85%;
        left: 7%;
    }
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    .menu {
        display: none;
    }
    #toggle-menu:checked + .menu {
        display: block;
    }


    #blad2-mobil {
        transition: max-height 0.5s ease-out;
        position: relative;
        width: 100%;
        top: 0px;
        z-index: 1;
    }
    #rumstyper {
        width:100%;
        margin: auto;
        display: block;
    }






    #Titel {
        font-size: 10vw;
        background-color: white;
    }
    #Titel p {
        transform: translateY(0); /*8%*/
    }

    .topbar {
        height: 11vw;
        background-color: white;
        box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
        position: fixed;
        width: 100%;
        z-index: 2;
        display: block
    }
    #hamburgare, #hamburgare2 {
        position: absolute;
        top:0%;
        left:0%;
        height: 11vw;
    }
    #mobil-meny {
        position: fixed;
        width: 100%;
        height: calc(100vh - 11vw);
        /*background-color: white; DENNA*/
        overflow: auto;
        margin: 0;
        top: 11vw;
        max-height: 0px; /* Initially collapsed */
        transition: max-height 1s ease-out, padding-bottom 1s ease-out;
        z-index: 1;
        box-shadow: rgba(0, 0, 51, 0.4) 0px 20px 20px;
    }

    .hamburgermenu, .hamburgermenu #text, .hamburgermenu .hamburgerbutton, .hamburgermenu #hamburgare {
        display: block;
        height: 100%;
        overflow-y: hidden;
    }

    .hamburgermenu #text {
        color: var(--accent);
        font-size: 7vw;
        font-family: 'Oooh Baby';
        position: relative;
        text-align: center;
        width: 100%;
        height: 100%;
        padding: 2.8vw;
        box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
    }
    .hamburgermenu #text a {
        z-index: 100;
        position: absolute;
        height: 100%;
        width: 85%;
        left: 15%;
        top: 0;
    }
    .hamburgermenu #text b {
        position: relative;
        top: -25%;
    }
    #mobilpad {
        display: block
    }
    .mobile-content-square {
        text-align: center;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 4vw;
        margin: 0;
        position: absolute;
        top: 70vw;
        -ms-transform: translateY(-50%);
        transform: translateY(-60%);
        width:100%;
        
        backdrop-filter: blur(20px) saturate(160%) brightness(1.2);
        -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(1.2);
        background-color: rgba(255, 255, 255, 0.2); /* ljusreflektion genomskinas */
    }

    .mobile-content-square #menutext {
        padding-left: 5%;
        padding-right: 5%;
    }

    .image-container-left {
    }
    .face-container-left {
    }
    #ringar-mobil {
        position: relative;
        display: inline-block;
        
        border-radius: 50%;
        width: 50%;
        text-align: center; /* Center the text within the container */
        box-shadow: rgba(0, 0, 51, 0.35) 0px 2px 15px;
        margin-left: auto;
        margin-right: auto;
    }
    .face-container-mobil img {
        border-radius: 50%;
        width: 50%;
        text-align: center; /* Center the text within the container */
        margin-left: auto;
        margin-right: auto;
        
        position: absolute;
        top: 0;
        left: 50%;
        
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translate(-50%);
    }

    
    .dropdownbutton{
        padding: 0%;
        padding-left: 15%;
        padding-top:2.2%;
        padding-bottom:2.2%;

        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 4vw;
    }
    .dropdownbutton2{
        padding: 0%;
        padding-left: 15%;
        padding-top:2.2%;
        padding-bottom:2.2%;

        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 4vw;
    }
    .fa-caret-down {
        float: right;
        width: 3.5vw;
        position: relative;
        right: 18%;
        transform: translateY(2%);  /*Move the image up by 5 pixels */
    }



    .sidebar-mobile {
        width: 100%;
        /*background-color: white; DENNA*/
        height: calc(100%+100px);
        overflow: auto;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 4vw;
        text-align: center; /* Center text */
        
        position: absolute;
        z-index: 1;
        overflow-x: hidden;
        border-top: 0.01px solid gray;
        padding-bottom: 50px;
    }
    /* Sidebar links */
    .sidebar-mobile a{
        display: block;
        color: black;
        padding: 2%;
        text-decoration: none;
    
        
        background: none;
        width:100%;
        text-align: left;
        cursor: pointer;
        outline: none;
        padding-left: 15%;
        border-bottom: 0.01px solid gray;
    }
    .dropdownContainer-mobile a, .dropdownContainer2-mobile a {
        border: none;
        /*transform: translateY(-1px);*/
        z-index: 4;
    }
    .dropdownContainer-mobile, .dropdownContainer2-mobile {
        border-top: 0.01px solid white;
    }
    .sidebar-mobile a.active  {
        /*background-color: var(--accent);*/
        background: linear-gradient(to right, var(--accent), var(--mediumlightaccent));
        color: white;
    }
    .dropdownbutton-mobile a  {
        background-color: var(--verylightaccent);
    }
    .dropdownbutton-mobile a.active  {
        background-color: var(--verylightaccent);
        color: white;
    }
    .dropdownbutton-mobile a.active  {
        background-color: var(--verylightaccent);
        color: white;
    }
    
    /* Links on mouse-over */
    .sidebar-mobile a:hover:not(.active), .dropdownbutton-mobile:hover:not(.active) {
        background-color: var(--verylightaccent);
        color: black;
    }

    .dropdownContainer-mobile, .dropdownContainer2-mobile {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out, padding-bottom 0.5s ease-out;
        background-color: rgba(255, 255, 255, 0.8);
        font-size: 2.5w;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        width: auto;
        padding-left: 10%;
        padding-right: 10%;
    }
    
    #bilder-mobil {
        height: 100%;
        transform: translateY(10%);
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    #right-content:hover .sidebar-right img {
        transform: scale(1);
    }
    .right-content-square img:hover {
        transform: scale(1);
    }
    .image-container:hover {
        transform: scale(1);
    }
    .image-container:hover .face-container img {
        transform: scale(1);
    }
    #left-content:hover #ringar{
        transform: scale(1);
    }
    #right-content:hover #ringar{
        transform: scale(1);
    }
    #left-content:hover #ringar-face{
        transform: scale(1);
    }
    #right-content:hover #ringar-face{
        transform: scale(1);
    }
    #Titel:hover {
        transform: scale(1);
    }
    #Under.visible:hover {
        transform: scale(1);
    }
    
    


}

@media (max-width: 789px) {
    .dropdownbutton{
        font-size: 5vw;
        border-bottom: 0.01px solid gray;
    }
    .dropdownbutton2{
        font-size: 5vw;
    }

    .sidebar-mobile {
        font-size: 5vw;
    }


    .dropdownContainer2-mobile {
        max-height: none; /* Fully expanded */
        overflow: hidden;
        transition: max-height 0.5s ease-out;
        background-color: rgba(255, 255, 255, 0.8);
        padding-left: 10%;
        padding-right: 15%;
        font-size: 5vw;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        width: 100%;
    }
    
    .persontyp {
        font-size: 3vw;
    }
    .name {
        font-size: 2.33vw;
    }
    .person {
        font-size: 2.92vw;
    }
    .omperson {
        font-size: 2.33vw;
    }
    
    
@media (max-width: 480px) {
    #Rubrik {
        font-size: 4.5vw;
    }
    .sevart-left #sevardtext-left {
        font-size: 4vw;
        float: none;
    }
    .sevart-left #sevardbild-left {
        width: 70%;
        float: left;
    }
    .sevart-left {
        position: relative;
        height: 40%;
        margin-right: 0.5%;
        float: none;
    }
    .sevart-right #sevardtext-right {
        font-size: 4vw;
        float: none;
    }
    .sevart-right #sevardbild-right {
        width: 70%;
        float: right;
    }
    .sevart-right {
        position: relative;
        height: 40%;
        margin-right: 0.5%;
        float: none;
    }
    #sevardpad2 {
        display: block;
    }
}
/*
    #right-content:active,#right-content:focus .sidebar-right img {
        transform: scale(1.2);
    }
    .right-content-square img:active, .right-content-square img:focus {
        transform: scale(1.2);  Scale up the image by 5%
        }
    .image-container:active, .image-container:focus {
        transform: scale(1.1);
    }
    .image-container:active, .image-container:focus .face-container img {
        transform: scale(1.075); /* Scale up the image by 5%
        }
    #left-content:active, #left-content:focus #ringar{
        transform: scale(1.1);
    }
    #right-content:active, #right-content:focus #ringar{
        transform: scale(1.1);
    }
    #left-content:active, #left-content:focus #ringar-face{
        transform: scale(1.20); /* Scale up the image by 10%
    }
    #right-content:active, #right-content:focus #ringar-face{
        transform: scale(1.20); /* Scale up the image by 10%
        }
    #Titel:active, #Titel:focus {
        transform: scale(1.1);
    }
    #Under.visible:active, #Under.visible:focus {
        transform: scale(1.03);
        transition: transform 0.3s ease-out;
        pointer-events:auto;
    }
    .sevart-left:active, .sevart-left:focus #sevardtext-left {
        transform: scale(1.05);
        transform: translateX(-0.5%);
    }
    .sevart-left:active, .sevart-left:focus #sevardbild-left{
        transform: scale(1.05);
    }
    .sevart-right:active, .sevart-right:focus #sevardtext-right {
        transform: scale(1.05);
        transform: translateX(0.5%);
    }
    .sevart-right:active, .sevart-right:focus #sevardbild-right{
        transform: scale(1.05);
    }
    .person:active, .person:focus {
        transform: scale(110%);
        transition: transform 0.3s ease;
    }
 Media query for smaller devices 
@media (max-width: 910px) { /*600
    #mobil-meny {
        top: 40px;
    }
    #Bakgrund {
        position:relative;
        top:30px
    }
}

@media (max-width: 820px) { /*600
    #mobil-meny {
        top: 30px;
    }
}

@media (max-width: 730px) { /*600
    #mobil-meny {
        top: 20px;
    }
    #Bakgrund {
        position:relative;
        top:25px
    }
}

@media (max-width: 640px) { /*600
    #mobil-meny {
        top: 10px;
    }
    #Bakgrund {
        position:relative;
        top:20px
    }
    .mobile-content-square {
        top: 26%;
    }
}

@media (max-width: 550px) { /*600
    #mobil-meny {
        top: 0px;
    }
    #Bakgrund {
        position:relative;
        top:15px
    }
    .mobile-content-square {
        top: 25%;
        font-size: 4vw;
    }
}

/* Media query for smaller devices 
@media (max-width: 450px) { /*600
    #mobil-meny {
        top: -5px;
    }
    #Bakgrund {
        position:relative;
        top:5px
    }
    .mobile-content-square {
        top: 24%;
    }
}

/* Media query for smaller devices 
@media (max-width: 425px) { /*600
    #mobil-meny {
        top: -10px;
    }
    #Bakgrund {
        position:relative;
        top:2px
    }
}

/* Media query for smaller devices 
@media (max-width: 365px) { /*600
    #mobil-meny {
        top: -20px;
    }
    #Bakgrund {
        position:relative;
        top:-5px
    }
}

/* Media query for smaller devices 
@media (max-width: 300px) { /*600
    #mobil-meny {
        top: -25px;
    }
}
*/