.body {
    margin: 0; 
    padding: 0; 
    height: 100vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

:root {
    --primary: #042A2B;
    --light: #FDF8EA;
    --dark: #2E0014;
} 

.wrapper {
    width: 1170px;
    margin: auto;
}
 
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', Helvetica;
}
 
.container {
    max-width: 1280px;
    margin: 0 auto;
 
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 50px 0;
    z-index: 99;  
    background-color: var(--dark);
    padding: 16px 32px;
    font-size:small;
    border-bottom: 1px solid var(--light)
}  
 
h1 {
    color: rgb(126, 16, 228);
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 850;
    letter-spacing: 2px;
    padding: 25px 0;
    font-family: 'Kanit', sans-serif;
    border: 2px solid rgb(124, 23, 255);
    padding: 5px 7px;
    display: inline-block;
    color: (107, 26, 213);
 
} 

.hamburger {
    display: block;
    position: relative;
    z-index: 1;
 
    user-select: none;
 
    appearance: none;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}
 
.hamburger span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
 
    background-color: var(--light);
    border-radius: 6px;
    z-index: 1;
 
    transform-origin: 0 0;
 
    transition: 0.4s;
}
 
.hamburger:hover span:nth-child(2) {
    transform: translateX(10px);
    background-color: plum;
}
 
.hamburger.is-active span:nth-child(1) {
    transform: translate(0px, -2px) rotate(45deg);
}
 
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(15px);
}
 
.hamburger.is-active span:nth-child(3) {
    transform: translate(-3px, 3px) rotate(-45deg);
}
 
.hamburger.is-active:hover span {
    background-color: plum;
}
 
.menu {
    display: none;
    flex: 1 1 0%;
    justify-content: flex-end;
    margin: 0, 16px;
}
 
.menu a {
    color: #FDF8EA;
    margin: 0 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.4s;
    padding: 8px 16px;
    border-radius: 99px;
 
}
 
.menu a.is-active, .menu a:hover {
    background-color: blueviolet;
}
 
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
 
    .menu {
        display: flex;
    } 
}

.fwh-slide {
    height: 100vh;
    background-color: #6e0633;
    box-sizing: border-box;
    padding: 35px; 
}  

.fwh-slide img {
    margin-top: 135px; 
    top:0
}

.fwh-slide img.is-active, .fwh-slide img:hover{
    background-color: rgb(8, 208, 95);
}

.fwh-slide h1 {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 50px;
    margin-top: 15px;
    border: none; 
    color: rgb(228, 228, 250);
}

.fwh-slide p {   
    text-align: center;
    color: rgb(228, 228, 250);
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    margin-top: 10px;
}

.fwh-slide--bg-image, .content {
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url('ber.jpg');
    background-size: cover;
    margin: 0; 
    padding: 0; 
    display: flex; 
    text-align: center;
    justify-content: center;
}


.slider {
    width: 800px;
    height: 500px; 
    border-radius: 10px;
    overflow: hidden;
}

.slides {
    width: 500%; 
    height: 500px;
    border-radius: 10px;
    display: flex; 
} 

.slides input {
    display: none;
} 

.slide {
    width: 20%; 
    transition: 2s;
}

.slide img {
    width: 700px; 
    height: 400px; 
    margin-left: -50px;
    margin-top: 40px;
    justify-content: center;
}

.navigation-manual {
    position: absolute;
    width: 800px; 
    margin-top: 450px;
    justify-content: center;
    display: flex; 

} 

.manual-btn {
    border: 2px solid palegreen;
    padding: 5px; 
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;

} 

.manual-btn:not(:last-child){
    margin-right: 40px;
}

.manual-btn:hover{
    background: palegreen;
}

#radio1:checked ~ .first {
    margin-left: 0;
}

#radio2:checked ~ .first {
    margin-left: -20%;
} 

#radio3:checked ~ .first {
    margin-left: -40%;
} 

.fwh-slide--bg-img {
    background-image: url('im.jpg');
    background-size: cover; 
}  

.fwh-slide--bg-img h1 {
    text-align: center;
    color: bisque;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-size: 50px;
    margin-top: 15px;
    border: none;
}


.fwh-slide--bg-img img {
    margin-top: -50px; 

} 

.fwh-slide--bg-img img:hover {
    background: none;
}

.fwh-slide--bg-darkslategray {
    background-color: rgb(45, 32, 32);
} 

.fwh-slide--bg-darkslategray h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 40px; 
    color: rgb(228, 228, 250);
    margin-top: 150px;
}

.fwh-slide--bg-darkslategray a {
    border: 5px solid rgb(229, 229, 251); 
    padding: 10px 25px; 
    text-decoration: none;
    font-size: 30px; 
    display: inline-block; 
    color:rgb(229, 229, 251); 
} 

.fwh-slide--bg-darkslategray a:hover {
    background: #4a3f4e; 
    color: #5f0cc5;
}  

.fwh-slide--bg-purple {
    background-color: #14022b;
} 

.fwh-slide--bg-purple h1 {
    font-size: 60px;
    font-style: 'Roboto Condensed', sans-serif;  
    color: rgb(228, 228, 250);
    margin-top: 40px;

}


.fwh-slide--bg-purple img:hover {
    background: none;
}  
