@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/sourcesanspro/v21/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf) format('truetype');
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #e6e9ec;
    /* margin: 0; */
    /* padding: 0; */
    /* width: 100%; */
    /* height: 100vh; */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
}

nav {
    position: fixed;
    top: 5%;
    left: 50%;
    width: 100%;
    text-align: center;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
}

nav:after {
    content: "";
    display: table;
    clear: both;
}

nav ul li {
    list-style: none;
    display: inline-block;
}

nav ul li a {
    display: block;
    padding: 10px 40px;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(-15%);
    border-radius: 50px;
    width: 130%;
    text-align: center;
    transition-duration: 0.25s;
}

nav ul li a:hover {
    color: white;
}

nav ul li.active a {
    color: white;
}

nav ul li:nth-child(1) a {
    background-color: #a045a5;
}

nav ul li:nth-child(2n) a {
    background-color: #d4252a;
}

nav ul li:nth-child(3n) a {
    background-color: #ffbf06;
}

nav ul li:nth-child(4n) a {
    background-color: #10a343;
}

nav ul li:nth-child(5n) a {
    background-color: #117086;
}

nav .dot {
    background-color: red;
    width: 6px;
    height: 6px;
    position: absolute;
    bottom: 0px;
    left: 0;
    border-radius: 50%;
    transition-duration: 0.5s;
}

.slider {
    margin: 0px auto;
    width: 100vw;
    height: 400px;
    overflow: hidden;
}

.slides {
    width: 100vw;
    height: 400px;
    display: flex;
}

.slides input {
    display: none;
}

.slide {
    width: 100vw;
    position: relative;
    transition: 2s;
    object-fit: scale-down;
}

.slide img{
    width:100vw;
    height:400px;
}

.manual-navigation {
    margin-top: -40px;
    position: absolute;
    width: 100vw;
    display: flex;
    justify-content: center;
}

.manual-btn {
    border: 2px solid #fff;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 2s;
}

.manual-btn:not(:last-child) {
    margin-right: 40px;
}

.manual-btn:hover {
    background-color: #fff;
}

#radio1:checked ~ .first {
    margin-left: 0;
}

#radio2:checked ~ .first {
    margin-left: -100%;
}

#radio3:checked ~ .first {
    margin-left: -200%;
}

#radio4:checked ~ .first {
    margin-left: -300%;
}

#radio5:checked ~ .first {
    margin-left: -400%;
}

#radio6:checked ~ .first {
    margin-left: -500%;
}

#radio7:checked ~ .first {
    margin-left: -600%;
}

#radio8:checked ~ .first {
    margin-left: -700%;
}

.navigation-auto div{
    border: 2px solid #20a6ff;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 2s;
}

.navigation-auto {
    position: absolute;
    width: 100vw;
    margin-top: 360px;
    display: flex;
    justify-content: center;
}

.navigation-auto div:not(:Last-child) {
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1 {
    background-color: #fff;
}

#radio2:checked ~ .navigation-auto .auto-btn2 {
    background-color: #fff;
}

#radio3:checked ~ .navigation-auto .auto-btn3 {
    background-color: #fff;
}

#radio4:checked ~ .navigation-auto .auto-btn4 {
    background-color: #fff;
}

#radio5:checked ~ .navigation-auto .auto-btn5 {
    background-color: #fff;
}

#radio6:checked ~ .navigation-auto .auto-btn6 {
    background-color: #fff;
}

#radio7:checked ~ .navigation-auto .auto-btn7 {
    background-color: #fff;
}

#radio8:checked ~ .navigation-auto .auto-btn8 {
    background-color: #fff;
}

.btn-sm {
    color: #a045a5;
    transition: 0.5s;
    font-size: 25px;
    border-radius: 20px;
    background-color:rgba(230, 198, 232);
    margin-left: 80%;
    margin-top: 8px;
}

.menu {
    background-color: rgba(230, 198, 232);
    height: 4vw;
}

.historia {
    background-color: rgba(71, 7, 62);
    height: 5vw;
}

.corpo {
    background-color: rgba(71, 7, 62);
    height: 57vw;
}

.historia p {
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    text-align: center;
}

.corpo p {
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    margin-left: 80px;
    margin-right: 80px;
    text-align: justify;
}

.image_historia {
    background-color: rgba(71, 7, 62);
    margin-right: 80px;
    float: right;
}

.italico {
    font-size: x-large;
}