﻿@keyframes bronzeAnimation {
    0% {
        transform: scale(0.7);
        opacity: 1;
    }

    50% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(0.7);
        opacity: 1;
    }
}

@keyframes silverAnimation {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    50% {
        transform: scale(0.9);
        opacity: 0.9;
    }

    100% {
        transform: scale(0.8);
        opacity: 1;
    }
}

@keyframes goldAnimation {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.9);
    }
}

@keyframes diamondAnimation {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes diamondAnimationReverse {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0);
  }
}

main img {
    border: 3px solid black;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

h3 {
    text-align: center;
}

main article {
    margin: 20px 0;
    padding: 10px;
    background-color: bisque;
    border: 2px solid black;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#sponsers section {
    display: flex;
    margin: 10px;
    padding: 10px;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

    #sponsers section.diamond {
        flex-flow: column wrap;
        align-items: center;
    }

#sponsers a {
    display: block;
    margin: 10px 0px;
    max-width: 500px;
    min-width: 150px;
    width: 100%;
    height: auto;
    text-align: center;
}

.diamond a {
    background-color: transparent;
}

#sponsers img {
    border: none;
    border-radius: 0px;
    width: 100%;
    height: auto;
    object-fit: contain;
}


.diamond .border-wrapper {
    position: relative;
    border: 20px solid #00ffff;
    display: inline-block;
}


.gold .border-wrapper {
    border: 15px solid #FFD700;
    display: inline-block;
}

.silver .border-wrapper {
    border: 10px solid #C0C0C0;
    display: inline-block;
}

.brons .border-wrapper {
    border: 5px solid #CD7F32;
    display: inline-block;
}

#sponsers section.hidden {
    display: none;
    visibility: hidden;
}

#sponsers img.diamond {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 1;
    animation-name: diamondAnimation;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

#sponsers img.rev.diamond {
  animation-name: diamondAnimationReverse;
}

#sponsers img.image_1 {
    top: -43px;
    right: -43px;
    rotate: 45deg;
}

#sponsers img.image_2 {
    top: -43px;
    left: -43px;
    rotate: -45deg;
}

#sponsers img.image_3 {
    bottom: -43px;
    right: -43px;
    rotate: 135deg;
}

#sponsers img.image_4 {
    bottom: -43px;
    left: -43px;
    rotate: -135deg;
}

.brons a {
    animation-name: bronzeAnimation;
    animation-duration: 30s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.silver a {
    animation-name: silverAnimation;
    animation-duration: 20s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.gold a {
    animation-name: goldAnimation;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.bg_black {
    background-color: black;
}
