* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b0e14;
    color: white;
    font-family: 'Roboto', sans-serif;
}

h1,
.nav-links a {
    font-family: 'Orbitron', sans-serif;
}

.navbar {
    background: rgba(18, 22, 31, 0.95);
    width: 100%;
    height: 70px;
    position: fixed;
    display: flex;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #00f2ff;
    align-items: center;
}

.nav-cont {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.LogoITC {
    height: 50px;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00f2ff;
}

.content {
    margin-top: 100px;
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    height: 450px;
}

.main-news {
    background: linear-gradient(rgba(0, 0, 0, 0.3), #000), url('../img/eSports.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    border: 1px solid #333;
}

.categoria {
    background: #00f2ff;
    color: #000;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 12px;
    border-radius: 4px;
}

.side-news {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.small-card {
    position: relative;
    overflow: hidden;
    height: 200px;
    border-radius: 10px;
    border: 1px solid #333;
}

.sliding-background {
    display: flex;
    width: 400%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    animation: scrollBackground 15s linear infinite;
}

.sliding-background img {
    width: 25%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.card-content p {
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@keyframes scrollBackground {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-75%);
    }
}