@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    color: #FEFEFE;
}

a {
    text-decoration: none;
    color: #FFED00;
    transition: 0.6s;
}

a:hover {
    color: #ff000e;
}



body {
    background: rgb(36,77,154);
    background: linear-gradient(0deg, rgba(36,77,154,1) 0%, rgba(48,169,214,1) 100%);
}

header, .image {
    text-align: center;
}

header img {
    width: 70%;
}

div.image img {
    width: 80%;
}

.rules {
    display: flex;
    flex-direction: column;
}

ol {
    width: 80%;
    list-style-type: none;
    counter-reset: num;
    margin: 0 0 0 12%;
    padding: 15px 0 5px 0;
    font-size: 1.7rem;
}
ol li {
    display: flex;
    padding: 0 0 50px 0;

}

.item:before {
    content: counter(num);
    counter-increment: num;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    align-content: flex-start;
    width: 58px;
    height: 58px;
    color: #FFED00;
    font-size: 4rem;
    border-radius: 50%;
    border: 3px solid #FEFEFE;
    padding: 40px;
    margin-right: 20px;
}

ol>li:first-child {
    flex-wrap: wrap;
}

.rules .btn-group {
    text-align: center;
}

.btn-group {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-content: center;
    text-transform: uppercase;
}


.btn-group a {
    transition: 0.6s;
}

.btn {
    font-size: 2rem;
    padding: 20px;
}

a.btn {
    background-color: #ff000e;
    color: #FEFEFE;
}

a.btn:hover {
    background-color: #c90008;
    color: #FFED00;
}

.btn-group a:not(:last-child) {
    margin-bottom: 1.2rem;
}

footer {
    text-align: center;
    color: #FEFEFE;
    height: 200px;
    padding-top: 100px;
}

@media screen and (max-width: 800px){
    .rules>.btn-group>a.action {
        padding: 20px;
        border-radius: 0 30px 0 30px;
    }

    .image img {
        width: 100%;
    }

    .btn-group a.btn {
        font-size: 1.2rem;
        padding: 10px;
    }

    .item:before {
        content: counter(num);
        counter-increment: num;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        font-size: 2rem;
        border-radius: 50%;
        border: 2px solid #FEFEFE;
        padding: 20px;
        margin-right: 10px;
    }

    ol {
        width: 100%;
        margin: 0 0 0 0;
        font-size: 1.2rem;
    }

    footer {
        margin-top: 50px;
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 320px){
    ol {
        font-size: 1rem;
    }

    .item:before {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 319px){
    ol {
        font-size: 0.9rem;
    }

    .item:before {
        font-size: 1rem;
    }
}