header {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   align-items: flex-start;
}
#slider {
   margin: 10px auto;
   width: min(1180px, 100%);
   max-width: 100%;
   text-align: center;
   position: relative;
}
#slider input[type=radio] {
   display: none;
}
#slider label {
   cursor:pointer;
   text-decoration: none;
}

.hero-text {
   flex: 1 1 0;
}

#site-logo {
   display: block;
   margin: 0 auto 20px;
   width: 120px;
   height: auto;
}
#slides {
   position: relative;
   z-index: 1;
}
#overflow {
   width: 100%;
   overflow: hidden;
     border-radius: 10px;
     border: 2px solid #ffffff;
}
#slide1:checked ~ #slides .inner {
   margin-left: 0;
}
#slide2:checked ~ #slides .inner {
   margin-left: -100%;
}
#slide3:checked ~ #slides .inner {
   margin-left: -200%;
}
#slide4:checked ~ #slides .inner {
   margin-left: -300%;
}
#slides .inner {
   transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
   width: 400%;
   line-height: 0;
   height: 300px;
}
#slides .slide {
   width: 25%;
   float:left;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100%;
   color: #fff;
}
#slides .slide_1 {
   background-image: url('https://cdn.discordapp.com/attachments/1318607369168621638/1530216465699967016/Untitled_-_24_juli_2026_kl._15.51.55_1.png?ex=6a64c4a3&is=6a637323&hm=f1a9d2f0c9e10cba6579ea9248b8495df06c334babb6feb9467d1140429678b0&=&format=webp&quality=lossless&width=838&height=838');
}
   #slides .slide_2 {
   background: #003459;
}
#slides .slide_3 {
   background: #007EA7;
}
#slides .slide_4 {
   background: #00A8E8;
}
#controls {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 300px;
   z-index: 10;
   pointer-events: none;
}
#controls label {
   margin: 0 auto;
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   transition: opacity 0.2s ease-out;
   display: none;
   width: max(50px);
   height: max(50px);
   opacity: .9;
   pointer-events: auto;
   border-radius: 0;
   background: transparent;
   background-size: 24px 24px;
   background-position: center;
   background-repeat: no-repeat;
}
#controls label:hover {
   opacity: 1;
}
#slide1:checked ~ #controls label:nth-child(2),
#slide2:checked ~ #controls label:nth-child(3),
#slide3:checked ~ #controls label:nth-child(4),
#slide4:checked ~ #controls label:nth-child(1) {
   right: 0;
   display: block;
   background-image: url('https://media.discordapp.net/attachments/1318607369168621638/1529938416685551706/Untitled_-_23_juli_2026_kl._21.45.53-2.png?ex=6a63c1af&is=6a62702f&hm=f3eaf915d46eb484ae4dc08ccf31f4fb26e32478a72c845cce0e6758e827403d&=&format=webp&quality=lossless&width=838&height=838');
}
#slide1:checked ~ #controls label:nth-child(4),
#slide2:checked ~ #controls label:nth-child(1),
#slide3:checked ~ #controls label:nth-child(2),
#slide4:checked ~ #controls label:nth-child(3) {
   left: 0;
   display: block;
   background-image: url('https://media.discordapp.net/attachments/1318607369168621638/1529938416341487716/Untitled_-_23_juli_2026_kl._21.45.53-1.png?ex=6a63c1af&is=6a62702f&hm=2b51c539023a85add6e74f49423c3f6963afd76e64787bf1976a4251ca470643&=&format=webp&quality=lossless&width=838&height=838');
}
#controls label::before {
   content: none;
}
#bullets {
   margin: 10px 0 0;
   text-align: center;
}
#bullets label {
   display: inline-block;
   width: 10px;
   height: 10px;
   border-radius:100%;
   background: #ffffff;
   margin: 0 10px;
}
#slide1:checked ~ #bullets label:nth-child(1),
#slide2:checked ~ #bullets label:nth-child(2),
#slide3:checked ~ #bullets label:nth-child(3),
#slide4:checked ~ #bullets label:nth-child(4) {
   background: #000000;
}
@media screen and (max-width: 900px) {
   #slide1:checked ~ #controls label:nth-child(2),
   #slide2:checked ~ #controls label:nth-child(3),
   #slide3:checked ~ #controls label:nth-child(4),
   #slide4:checked ~ #controls label:nth-child(1) {
      right: 0;
   }
   #slide1:checked ~ #controls label:nth-last-child(2),
   #slide2:checked ~ #controls label:nth-last-child(3),
   #slide3:checked ~ #controls label:nth-last-child(4),
   #slide4:checked ~ #controls label:nth-last-child(1) {
      left: 0;
   }
   #slides {
      max-width: calc(100% - 140px);
      margin: 0 auto;
   }
}
/* Mobil */
@media screen and (max-width: 768px) {

    header {
        gap: 10px;
        padding: 10px;
    }

    #slider {
        width: 100%;
        margin: 0 auto;
    }

    #slides .inner {
        height: 200px;
    }

    #controls {
        height: 200px;
    }

    #controls label {
        width: 40px;
        height: 40px;
        background-size: 18px 18px;
    }

    #slides {
        max-width: 100%;
    }

    #site-logo {
        width: 80px;
        margin-bottom: 15px;
    }

    #bullets label {
        width: 8px;
        height: 8px;
        margin: 0 6px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    iframe {
        max-width: 100%;
    }
}

/* Extra små mobiler */
@media screen and (max-width: 480px) {

    #slides .inner {
        height: 160px;
    }

    #controls {
        height: 160px;
    }

    #controls label {
        width: 34px;
        height: 34px;
        background-size: 16px 16px;
    }

    #site-logo {
        width: 65px;
    }

}

@media screen and (max-width: 768px) {
    html {
        font-size: 90%;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 80%;
    }
}

@media screen and (max-width: 768px) {
    #slides .slide {
        font-size: 0.85rem;
    }

    #slides .slide h1 {
        font-size: 1.8rem;
    }

    #slides .slide h2 {
        font-size: 1.4rem;
    }

    #slides .slide p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 90%;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 80%;
    }
}