.Rules{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(72, 72, 72);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px;
    transition: scale 0.3s, box-shadow 0.2s;
    margin-bottom: 50px;
    margin-top: 50px;
}

.Ruleshead{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(72, 72, 72);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px;
    transition: scale 0.3s, box-shadow 0.2s;
    margin-bottom: 50px;
    margin-top: 50px;
}


.Ruleheadline{
    font-size: 40px;
    font-weight: bold;
    margin: 0px;
    margin-top: 5px;
    text-align: center;
    width: 1000px;
}

.Ruleslist{
    font-size: 25px;
    max-width: 1000px;
}

.lielement {
    margin-bottom: 10px;
    margin: 0px;
    margin-top: 25px;
}

.Rules:hover {
    scale: 1.1;
    box-shadow: 0px 0px 100px;
}

.lielement2 {
    text-align: center;
    margin: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 1000px;
    font-size: 20px;
}
.lielement3 {
    text-align: center;
    margin: 0px;
    margin-top: 20px;
    width: 1000px;
    
}

.lielement2:hover {
    font-weight: normal;
}

@media (max-width: 1920px) {
    .Ruleheadline{
        font-size: 35px;
        font-weight: bold;
        margin: 0px;
        margin-top: 5px;
    }
    
    .Ruleslist{
        font-size: 20px;
        width: 1000px;
    }
}

@media (max-width: 600px) {
    .Ruleheadline{
        font-size: 20px;
        font-weight: bold;
        margin: 0px;
        margin-top: 5px;
        width: 250px;
    }
    
    .Ruleslist{
        font-size: 15px;
        width: 250px;
    }

    .Rules{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: rgb(72, 72, 72);
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0px 0px 10px;
        transition: scale 0.3s, box-shadow 0.2s;
        margin-bottom: 50px;
        margin-top: 50px;
        width: 250px;
    }
    .lielement2 {
        text-align: center;
        margin: 0px;
        margin-top: 20px;
        width: 250px;
    }
    .Ruleshead{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: rgb(72, 72, 72);
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0px 0px 10px;
        transition: scale 0.3s, box-shadow 0.2s;
        margin-bottom: 50px;
        margin-top: 50px;
        width: 250px;
    }

    .lielement3 {
        text-align: center;
        margin: 0px;
        margin-top: 20px;
        width: 250px;
        
    }
}