*, html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    background-color: #ff0000;
    font-family: 'DeJavu Sans Mono', monospace;
}
header {
    background-color: #DA291C;
    color: #FBE122;
    font-family: Ravie;
    padding: 10px; 
    text-align: center;
    display: flex;
    top: 0;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px;
}
header h1 {
    margin: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px; 
    margin-bottom: 3px;
}
.img {
    width: 2.5em;
    aspect-ratio: 1/1;
    border-radius: 100%;
}
nav {
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
}
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 10px;
    gap: 5%;
}
nav ul li {
    margin: 5px;
}
nav ul li a {
    color: #c8cdd1; 
    text-decoration: none;
}
nav a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.active {
    background-color: #DA291C;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 10px;
}
.active:hover {
    color: #FBE122 !important;
}

main {
    background-color: #2D2D2D;
    display: flex;
    align-items: center;
    width: 98%;
    text-align: center;
    margin: 1%;
    border-radius: 10px;
    padding-bottom:1%;
}
main h2{
    color: #FFFFFF;
}
main h2:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}
main div {
    width: 100%;
    padding: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
article {
    background-color: #111111;
    padding: 2%;
    width: 100%;
    margin: 1%;
}
article h3 {
    color: #E62429;
    margin-top: 0;
    transition: 0.3s;
}
article p {
    color: #FFFFFF;
    line-height: 1.6;
}
table {
    width: 100%;
    border-collapse: collapse;
}
table, th, td {
    color: #ffffff;
    padding: 10px;
    text-align: center;
	border : 1px solid;
}
article, aside {
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border-radius: 15px;
}
aside {
    background-color: #b31217;
    padding: 2%;
    margin: 2%;
    border-radius: 15px;
}
aside:hover  {
    box-shadow: 0 0 25px rgba(230,36,41,0.8);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}
.h2 {
    font-weight: 700;
    font-size: xx-large;
    padding: 1em;
}
aside p {
    color: #FFFFFF;
    font-weight: 700;
}
.card-poster  {
    position: relative;
    aspect-ratio: 10/15;
    border-radius: 15px;
    box-shadow: 0 4px 8px;    
    margin-bottom: 10px;
    overflow: hidden;
    width: 100%;
}
.card-poster img {
    object-fit: cover;
    display: block;
}
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    color: #ffffff;
    transform: translateY(100%); 
    transition: transform 0.4s ease;
    text-align: center;
}
aside:hover .card-info {
    transform: translateY(0%);
}
.facts {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px;  
}
.facts h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: x-large;
}
.ul {
    list-style: none;
    padding: 0;
}
.ul li {
    padding: 5px;
    border-bottom: 1px solid #eee;
}
.ul li:last-child {
    border-bottom: none;
}
footer {
    background-color: #2D2D2D;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.copy-right {
    font-size: 1.5em;
}
.social-media {
    display: flex;
    gap: 10%;
    justify-content: center;
}
.social-media li {
    list-style: none;
}
.social-item {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.5s ease;
}
.social-item img {
    width: 35px;
    aspect-ratio: 1/1;
    transition: transform 0.5s ease;
}
.social-item:hover {
    color: #FBE122;
    transform: translateY(-10px);
}
.social-item:hover img {
    filter: brightness(1.1);
}
.slogan {
    font-style: italic;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #7c7c7c;
    padding-top: 10px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    
    main {
        flex-direction: column;
        width: 96%;
        margin: 2%;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }

    nav ul li {
        margin: 0;
    }

    .social-media {
        gap: 20px;
        flex-wrap: wrap;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .card-poster {
        max-width: 350px;
    }
}
@media screen and (max-width: 480px) {
    .h2 {
        font-size: x-large;
        padding: 0.5em;
    }

    .social-item img {
        width: 30px;
    }
}