* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url(../img/background.gif);
    background-color: black;
    background-size: 4%;
    color: rgb(255, 47, 255);
}

a:link {
    color: red;
    margin-left: 50px;
    margin-right: 50px;
    font-size: 20px;
}

a:visited {
    color: red;
}


#tudo {
    display: flex;
    justify-content: center;
    align-items: start;
}

.hidden {
    display: none;
}

.inactive {
    pointer-events: none;
    cursor: default;
}

#imgClickandChange {
    background-color: red;
    border-color: green;
    cursor: pointer;
}

footer {
    padding: 1rem;
}

/*INDEX*/
#links {
    background-color: rgb(30, 0, 30);
    border: groove 10px rgb(255, 47, 255);
    text-align: center;
    margin-top: 20px;
    margin-left: 10%;
    width: 10%;
    height: 50%;
}

#ads {
    background-color: rgb(30, 0, 30);
    text-align: center;
    border: groove 10px;
    display: block;
    position: absolute;
    z-index: 9;
    left: 17%;
    top: 52%;
    width: 200px;
    margin-right: 50px;

    #adsheader {
        padding: 10px;
        cursor: move;
        z-index: 10;
        display: flex;
        justify-content: right;

        h2{
            font-size: 30px;
        }

        #close {
            margin-left: 35px;
            background-color: black;
            border: solid 2px red;
            color: red;
            font-size: 15px;
            font-family: Arial, Helvetica, sans-serif;
            justify-self: end;
            cursor: pointer;
        }
    }


}

main {
    background-color: rgb(30, 0, 30);
    border: groove 10px rgb(255, 47, 255);
    margin-top: 10px;
    margin-left: 5px;
    text-align: center;
    width: 36%;

    #principal {
        padding: 10px;
        padding-top: 0px;
        padding-bottom: 0px;
    }


    nav {
        border-bottom: groove 10px rgb(255, 47, 255);
        margin-bottom: 5px;

        ul{
            display: flex;
            justify-content: space-around;
            list-style: none;
        }

        a:link {
            text-transform: uppercase;
        }
    }

    #updates {
        overflow-y: scroll;
        background-color: rgb(7, 0, 7);
        margin: auto;
        border: solid 5px rgb(255, 47, 255);
        border-top: groove 20px rgb(255, 47, 255);
        text-align: center;
        max-height: 200px;
        min-height: 100px;
        margin-left: 100px;
        margin-right: 100px;
        padding-bottom: 20px;
        color: rgb(0, 255, 0);
    }
}

#arts {
    background-color: rgb(30, 0, 30);
    overflow-y: scroll;
    border: groove 10px rgb(255, 47, 255);
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 25%;
    max-height: 25px;
    min-height: 100px;
    padding-top: 5px;
    padding-bottom: 500px;
    margin: 5px;
    margin-top: 50px;
    color: rgb(0, 255, 0);

    h2 {
        padding-right: 25px;
    }
}

#siteUpd {
    background-color: black;
    text-align: center;
    border: groove 10px rgb(255, 47, 255);
    border-bottom: solid 10px rgb(255, 47, 255);
    display: block;
    position: absolute;
    z-index: 9;
    right: 1%;
    top: 2%;
    width: 200px;
    margin-right: 50px;
    overflow-y: hidden;
    height: 25%;

    color: rgb(0, 255, 0);

    #siteUpdheader {
        padding: 10px;
        cursor: move;
        z-index: 10;
        display: flex;
        justify-content: right;

        h2 {
            font-size: 17px;
        }

        #siteClose {
            margin-left: 20px;
            background-color: black;
            border: solid 2px red;
            color: red;
            font-size: 15px;
            font-family: Arial, Helvetica, sans-serif;
            justify-self: end;
            cursor: pointer;
        }
    }

    #updText {
        overflow-y: scroll;
        text-align: center;
        max-height: 25px;
        min-height: 100px;
        margin: 5px;
        color: rgb(0, 255, 0);
    }
}

#siteBlink,
#adBlink {
    animation: colorChange 2s infinite steps(1, start);

}

@keyframes colorChange {
    0% {
        color: red;
    }

    10% {
        color: yellow;
    }

    20% {
        color: red;
    }

    30% {
        color: yellow;
    }

    40% {
        color: red;
    }

    50% {
        color: red;
    }

    60% {
        color: yellow;
    }

    70% {
        color: red;
    }

    80% {
        color: yellow;
    }

    90% {
        color: red;
    }

    100% {
        color: yellow;
    }
}

/*ocs*/
#oc {
    padding-bottom: 5px;
}

#others {
    background-color: rgb(30, 0, 30);
    border: groove 10px rgb(255, 47, 255);
    text-align: center;
    width: 11%;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 5px;
    margin-top: 50px;
    margin-right: 11%;
    color: rgb(0, 255, 0);
}