body {
    margin: 0;
    background-color: #111;
    color: #fff;
    font-family: Arial, sans-serif;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1f1f1f;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #e6b000, #ddba48);
    border-radius: 10px;
    border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #aaaaaa, #fff);
}

.logo {
    font-family: 'Minecraftia', sans-serif; 
    text-align: center;
}

.logo h1 {
    background-image: url(https://cookiecraftmods.com/images/banner.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 165px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    color: #ffffff;
    text-shadow: 3px 2px 4px rgb(0, 0, 0); 
}

.logo p {
    margin: 5px 0 0;
    font-size: 1.2em;
    color: #666;
}

.logo span {
    color: #dfaf14;
}

.nav {
    justify-content: space-between;
    text-align: center;
    padding: 20px;
    margin-top: 15px;
    top: 0px;
    position: sticky;
    background-color: rgba(2, 2, 2, 0.8);
    border-top: 2px solid #ccc;
    font-family: 'Minecraftia', sans-serif; 
    overflow: hidden;
}

.nav a {
    justify-self: center;
    margin: 5px;
    color: #f2f2f2;
    text-align: center;
    padding: 7px;
    text-decoration: none;
    font-size: 17px;
    border-radius: 10px;
    transition: 0.2s;
}
  
.nav a:hover {
    background-color: #ddd;
    color: black;
}
  
.nav a.active {
    background-color: #e6b000;
    color: black;
}

.nav button {
    float: right;
    background-color: #e6b000;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border-radius: 10px;
    margin: 5px;
    transition: 0.2s;
}

.nav button:hover {
    background-color: #ddd;
    color: black;
}

main {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.left-content {
    margin: 10px;
    background-color: #222;
    padding: 10px;
    border-radius: 10px;
    float: left;
    width: 60%;
}

.mod-nav {
    font-family: 'Minecraftia', sans-serif; 
    overflow: hidden;
    background-color: #333;
    border-radius: 10px;
    margin: 10px;
}

.mod-nav a {
    background-color: #2d2d2d;
    border: solid 2px #111;
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border-radius: 10px;
    margin: 5px;
    transition: 0.2s;
}

.mod-nav a:hover {
    background-color: #ddd;
    color: black;
}

.mod-nav a.active {
    background-color: #e6b000;
    color: black;
}

.mod-nav span {
    float: right;
}

.left-content h4{
    color: #aaa;
}

.heading {
    margin: 10px;
    padding: 10px;
    border-bottom: solid 2px #eee;
}

.description {
    margin: 10px;
    padding: 10px;
    color: #fff;
    text-decoration: none;
}

.description img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 30px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
    border: solid 2px #aaa;
    filter: brightness(70%);
    transition: 1s;
}

.description img:hover {
    filter: brightness(100%);
    scale: 1.01;
}


.right-content {
    border-radius: 10px;
    margin: 10px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    float: right;
    width: 30%;
}

.inside-box {
    padding: 5px;
    color: #f2f2f2;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.2s;
}

.inside-box a {
    text-decoration: underline;
    color: #f2f2f2;
}

.inside-box:hover a {
    color: black;
}

.inside-box:hover {
    background-color: #ddd;
    color: black;
}

.box {
    border-bottom: solid 1px #ddd;
    margin: 10px;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

.member-list {
    color: #ccc;
    margin-left: 10px;
    border-bottom: solid 1px #ddd;
}

footer {
    background-color: #000000;
    padding: 20px;
    color: #fff;
    font-size: 0.9em;
    width: auto;
    height: auto;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer ul {
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: #e6b000;
    text-decoration: none;
    transition: color 0.2s;
}

footer ul li a:hover {
    color: #fff;
    text-shadow: #000000;
}

footer p {
    color:#666;
    text-decoration: none;
    margin: 10px 0 0;
}

.footer-content .socials {
    text-align: left;
}

.footer-content .informations {
    text-align: right;
}

.gallery {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    background-color: #333;
    border-radius: 10px;
    margin: 10px;
    color: #fff;
    justify-content: space-around;
}

.gallery img {
    max-width: 329px;
    height: auto;
    border-radius: 10px;
    border: 2px solid #ccc;
    transition: 1s;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

.gallery img:hover {
    scale: 1.01;
}

.image {
    display: flex;
    width: fit-content;
    align-items: left;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
}

.changelog-box {
    background-color: #333;
    border-radius: 10px;
    margin: 10px;
    color: #fff;
}

.download {
    margin: 10px;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.2s;
}

.platforms {
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.platform {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    margin: 5px;
    width: 30%;
    padding: 10px;
    background-color: #333;
}

.version {
    border-bottom: 2px solid #eee;
}

.version h4{
    text-align: center;
}

.version ul {
    padding: 5px;
    border-radius: 10px;
}

.version li {
    color: #fff;
    list-style: none;
    border: 2px solid #222;
    margin: 5px;
    padding: 5px;
    background-color: #2a2a2a;
    border-radius: 10px;
    transition: 0.2s;
}

.version li:hover {
    color: #000;
    background-color: #ccc;
}

.version li a {
    padding: 10px;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.version li a:hover {
    color: #000;
}

.version li a svg {
    color: #e6b000;
    float: right;
    transition: 0.1s;
}

.version li a svg:hover {
    color: inherit;
}

@media (max-width: 750px) {
    main {
        flex-direction: column;
    }

    .left-content {
        width: 95%;
    }

    .right-content {
        width: 95%;
    }
}