@import url('https://fonts.googleapis.com/css2?family=Kdam+Thmor+Pro&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

body {
    background-color: #e0e0eb;
}

header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #00004d;
}

nav {
    width: 60%;
}

ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

li {
    list-style: none;
    color: white;
    cursor: pointer;
    font-size: 19px;
    transition: .5s;
    font-family: 'Kdam Thmor Pro', sans-serif;
}

li:hover {
    transition: .1;
    color: black;
}

#logo {
    width: 150px;
    height: auto;
}

.tittle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
}

h1 {
    font-family: 'Kdam Thmor Pro', sans-serif;
    color: black;
    padding-top: 10px;
}

.subtittle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

P {
    width: 70%;
    font-family: 'Kdam Thmor Pro', sans-serif;
    color: black; 
    font-size: 19px;
    text-align: center;
}
.content {
    height: 500px;
    width: 800px;
    overflow: hidden;
    position: relative;
    margin-top: 250px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navigation {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translate(-50%);
    display: flex;
}

.bar {
    width: 70px;
    height: 17px;
    border: 2px solid white;
    margin: 6px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s;
}

.bar:hover {
    background-color: white;
}

input {
    display: none;
}

.slides {
    display: flex;
    width: 500%;
    height: 100%;
}

.slide {
    width: 20%;
    transition: .6s;
}

.slide video {
    width: 100%;
    height: 100%;
}

#slide1:checked ~ .s1 {
    margin-left: 0;
}

#slide2:checked ~ .s1 {
    margin-left: -20%;
}

#slide3:checked ~ .s1 {
    margin-left: -40%;
}

#slide4:checked ~ .s1 {
    margin-left: -60%;
}

#slide5:checked ~ .s1 {
    margin-left: -80%;
}

footer {
    height: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: #e0e0eb;
    margin-top: -200px;

}

#li-bottom {
    color: black;
    transition: 0.5s;
}


#li-bottom:hover {
    color: white;
}

span {
    color: black;
    font-size: 15px;
    font-family: 'Kdam Thmor Pro', sans-serif;
}

a {
    color: black;
}

.footer-navigation {
    display: none;
}

@media(max-width:768px) {
    .content {
        width: 90%;
    }
}

@media(max-width:480px) {
    nav {
        display: none;
    }
    
    .footer-navigation {
        display: block;
    }

    .tittle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        }

    h1 {
        width: 90%;
        text-align: center;
        }

    .subtittle {
        width: 100%;
    }

    p {
        width: 85%;
        height: 150px;
        font-size: 16px;
    }

    .content {
        width: 95%;
        height: 350px;
    }

    .slides {
        width: 500%;
        height: 350px;
    }

    .navigation {
        width: 90%;
    }

    .bar {
        transition: 0.5s;
    }

    .bar:hover {
        background-color: white;
    }

    footer {
        width: 100%;
        height: 250px;
    }

    .footer-navigation {
        width: 80%;
        height: 60%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-list {
        width: 90%;
        height: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}