@import url('https://fonts.googleapis.com/css2?family=Agdasima:wght@400;700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Russo+One&family=Stalinist+One&display=swap');
@import url('https://fonts.cdnfonts.com/css/le-murmure');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff1ca;
    overflow-x: hidden;
    font-family: "Russo One", serif;
}


html {
    scroll-behavior: smooth;
}

header {
    background-color: black;
    padding: 40px;
    margin: 0px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    background: rgba(0, 0, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, backdrop-filter 0.3s;
    z-index: 1000;
}


nav,
a {
    text-decoration: none;
    color: white;
    font-family: "Russo One", serif;
    letter-spacing: 1.5px;
}

#navbar a {
    padding: 10px;
}

nav ul {
    list-style: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav li {
    display: inline;
    flex-wrap: wrap;
    cursor: pointer;
    padding: 10px;
    margin-left: 15vh;
}

.retour {
    background-color: #cc3333;
}

.nav_link {
    transition: .3s;
}

.scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: lightgray;
}


.img-propagande img {
    width: 100%;
    margin-top: 45px;
}

#History {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    background-color: black;
    margin-left: 20%;
    margin-right: 20%;
}


#History h1 {
    font-family: "Russo One", serif;
    margin: 20px;
    color: white;
    font-size: 100px;
}


.bouton {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    justify-content: space-around;
}

.typo,
.auteur {
    background-color: #cc3333;
    padding: 20px;
    border: none;
    font-family: "Russo One", serif;
    font-size: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    cursor: pointer;
    overflow: hidden;
    width: 230px;
    height: 100px;
    position: relative;
    text-align: center;
    color: white;
}

.button-text {
    display: block;
}

.hidden-text {
    display: none;
    font-size: 16px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.typo.expanded,
.auteur.expanded {
    width: 600px;
    height: auto;
    padding: 40px;
    margin-bottom: 40px;
}

.typo.expanded .hidden-text,
.auteur.expanded .hidden-text {
    display: block;
    opacity: 1;
}

.block {
    margin-top: 100px;
}

.img_decli {
    display: flex;
    justify-content: center;
}

.scrolling-text {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.text-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 90px;
    color: #cc3333;
    background-color: black;
    padding: 10px;
    animation: scroll 10s linear infinite;
    font-family: 'Le Murmure', sans-serif;
}


@keyframes scroll {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

#megaphone {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.texte {
    position: relative;
    font-size: 40px;
    font-weight: bold;
    color: black;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: 'Le Murmure', sans-serif;
}

.custom-textarea {
    width: 100%;
    height: 400px;
    background-color: black;
    color: white;
    font-size: 100px;
    font-family: 'Le Murmure', sans-serif;
    text-align: center;
    border: none;
    outline: none;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}

.carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
}

.list {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.list li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.list li {
    list-style-type: none;
    width: 551px;
    height: 779px;
    opacity: 0.25;
    border-radius: 2px;
    background: #cc3333;
    transition: transform 1s, opacity 1s;
    overflow: hidden;
}

.list .act {
    opacity: 1;
}

.list .prev,
.list .next {
    cursor: pointer;
}

.list .prev {
    transform: translateX(-220px) scale(.85);
}

.list .next {
    transform: translateX(220px) scale(.85);
}

.list .hide {
    transform: translateX(-420px) scale(.85);
}

.list .new-next {
    transform: translateX(420px) scale(.85);
}

.list .hide,
.list .new-next {
    opacity: 0;
    transition: opacity .5s, transform .5s;
}

.swipe {
    width: 270px;
    height: 200px;
    background-color: #cc3333;
    border-radius: 2px;
    opacity: 0;
    margin-top: 20px;
}


footer {
    display: flex;
    margin-top: 60px;
    background-color: black;
    padding: 50px;
    justify-content: space-between;
}

.credit {
    color: aliceblue;
}

.names {
    color: white;
}