@font-face {
    font-family: "Roboto";
    src: url("../assets/font/RobotoCondensed-Bold.ttf");
}

body {
    font-size: 1.5rem;
    font-family: "Roboto";
    background-image: url('/assets/images/index/dofus-photo-1415381.jpeg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

html {
    font-size: 10px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.news-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.news-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 1200px;
    margin: 20px 0;
}

.main-news {
    flex: 2;
    margin-right: 20px;
}

.side-news {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-article {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-article .title-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.news-article img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
    z-index: 1;
    overflow: hidden;
}

.desc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/index/Shadow-PNG-Image.png');
    background-size: 120% auto;
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.5;
    z-index: -1;
}

.main-article .desc,
.side-article .desc {
    font-size: 16px;
}

.main-article .desc a,
.side-article .desc a {
    color: #f5c625;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.main-article .desc a img,
.side-article .desc a img {
    margin-right: 10px;
    width: 30px;
    height: 30px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    font-family: "Roboto";
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.news-header a {
    color: #f5c625;
    font-size: 14px;
}

.news-header a:hover {
    text-decoration: underline;
}

.news-header span {
    font-size: 20px;
    color: #fff;
}

.logo-container {
    margin-bottom: 50px;
}

.date-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-article img,
.side-article img {
    width: 100%;
    height: auto;
    display: block;
}

.main-article .desc,
.side-article .desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
}

main-article .desc a,
.side-article .desc a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

*:before,
*:after {
    box-sizing: border-box;
}

::selection {
    color: #fff;
    background: #f5c625;
}

@media (max-width: 768px) {
    .box {
        padding: 30px 10px;
        margin: 10px auto 0;
    }
    .box h2 {
        font-size: 22px;
        margin-top: 20px;
    }
    .box p {
        font-size: 14px;
    }
    body {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    .no-copy {
        user-select: none;
    }
}