body {
    margin: 0;
    background-color: rgb(46, 46, 46);
    font-family: Arial, sans-serif;
    color: rgb(255, 132, 132);
    --sb-track-color: #232E33;
    --sb-thumb-color: #ff0000;
    --sb-size: 7px;
}

body::-webkit-scrollbar {
    width: var(--sb-size);
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 5px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
        scrollbar-color: var(--sb-thumb-color)
        var(--sb-track-color);
  }
}

h1 {
    text-align: center;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 550px;
    background-color: rgb(31, 31, 31);
    padding: 25px;
    border-bottom: 2px solid red;
}

header img:nth-child(1) {
    width: 100px;
    height: 100px;
    justify-content: left;
    transition: .5s;
}

header img:nth-child(2) {
    width: 300px;
    height: 100px;
    transition: .5s;
}

header img:nth-child(1):hover, header img:nth-child(2):hover {
        filter: drop-shadow(2px 2px 6px red);
}

header img:nth-child(3) {
    width: 200px;
    height: 100px;
    transition: .5s;
}

header img:nth-child(3):hover {
    filter: drop-shadow(2px 2px 6px white);
    cursor: pointer;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

iframe {
    border-radius: 15px;
    box-shadow: 0 0 5px red;
    transition: .5s;
}

iframe:hover {
    box-shadow: 0 0 20px red;
    transform: scale(1.03);
}

hr {
    border-color: red;
    margin: 70px 200px 70px 200px;
}

#counterDiv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(31, 31, 31);
    border: 2px solid red;
    padding: 30px;
    margin: 0 550px;
    border-radius: 10px;
    box-shadow: 0 0 15px red;
    transition: .5s;
}

#counterDiv h2 {
    text-align: center;
}

#counterDiv:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px red;
}

#boxes {
    display: flex;
    flex-direction: row;
}

.downloadBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(31, 31, 31);
    width: 200px;
    height: 250px;
    margin: auto;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 0 15px red;
    transition: .5s;
}

.downloadBox:hover {
    box-shadow: 0 0 30px red;
    transform: scale(1.05);
}

#nessgames {
    box-shadow: 0 0 15px red;
}

#nessgames h2 {
    transition: .5s;
}

#nessgames:hover {
    box-shadow: 0 0 30px #380980;
}

#nessgames:hover button {
    background-color: #380980;
}

#nessgames:hover h2 {
    color: #380980;
}

.downloadBox button {
    border: none;
    padding: 15px;
    border-radius: 5px;
    background-color: rgb(255, 68, 68);
    color: white;
    transition: .5s;
}

.downloadBox button:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 10px white;
    cursor: pointer;
}

.downloadBox img {
    height: 150px;
    width: 150px;
}

#socials ul {
    list-style-type: none;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#socials ul li a img {
    width: 50px;
    height: 50px;
    transition: .5s;
}

#dc:hover {
    filter: drop-shadow(0 0 5px rgb(102, 102, 247));
    transform: scale(1.05);
}

#yt:hover {
    filter: drop-shadow(0 0 5px red);
    transform: scale(1.05);
}

#tt:hover {
    filter: drop-shadow(0 0 5px rgb(24, 138, 245));
    transform: scale(1.05);
}

footer {
    background-color: rgb(31, 31, 31);
    display: flex;
    align-items: center;
    padding: 25px;
}

footer img {
    width: 200px;
    height: 100px;
    filter: drop-shadow(0 0 5px white);
}

footer ul {
    list-style-type: none;
}

footer ul li {
    margin: 10px;
}

footer a {
    text-decoration: none;
}

footer img {
    display: block;
    margin: auto;
}

#footerDc, #footerYt, #footerTt {
    transition: .5s;
}

#footerDc {
    color: rgb(102, 102, 247);
}

#footerDc:hover {
    text-shadow: 0 0 5px rgb(102, 102, 247);
}

#footerTt {
    color: rgb(24, 138, 245);
}

#footerTt:hover {
    text-shadow: 0 0 5px rgb(24, 138, 245);
}

#footerYt {
    color: red;
}

#footerYt:hover {
    text-shadow: 0 0 5px red;
}

@media only screen and (min-width: 320px) {
    header img:nth-child(1), header img:nth-child(3) {
        display: none;
    }

    iframe {
        width: 250px;
        height: 200px;
    }

    #counterDiv {
        margin: 0;
        width: 200px;
        margin: auto;
    }

    #counterDiv h2 {
        font-size: 15px;
    }

    #boxes {
        flex-direction: column;
        gap: 45px;
    }

    #socials ul a img {
        width: 50px;
        height: 50px;
    }

    .downloadBox {
        width: 200px;
    }

    footer ul {
        display: none;
    }

    hr {
        margin: 30px;
    }
}

@media only screen and (min-width: 768px) {
    footer ul {
        display: block;
    }

    hr {
        margin: 50px 100px 50px 100px;
    }

    iframe {
        width: 450px;
        height: 250px;
    }

    #counterDiv {
        width: 450px;
        height: 200px;
    }

    #counterDiv h2 {
        font-size: 20px;
    }

    #socials ul li a img {
        width: 50px;
        height: 50px;
    }
}

@media only screen and (min-width: 1024px) {
    #boxes {
        flex-direction: row;
        margin: 0;
        justify-content: center;
    }

    .downloadBox {
        padding: 10px;
        margin: 0;
    }

    .downloadBox img {
        width: 100px;
        height: 100px;
    }
}

@media only screen and (min-width: 1920px) {
    header img:nth-child(1), header img:nth-child(3) {
        display: block;
    }

    #boxes {
        gap: 80px;
    }

    .downloadBox {
        padding: 30px;
    }

    #counterDiv {
        width: 650px;
        height: 250px;
        padding: 5px;
    }

    iframe {
        width: 650px;
        height: 350px;
    }
}