@import url(./verification.css);

* {
    padding: 0px;
    margin: 0px;
}

.main_nav {
    width: 100%;
    height: 30px;
    background-color: darkgrey;
    color: white;
    margin-bottom: 1%;
}

.main_nav_ul {
    /* задем флекс для nav-row по умолчанию он выстраивает в ряд  */
    display: flex;
    /*justify-content: space-between; распологает элементы по краям  */
    justify-content: center;
    /* align-items: center; выравнивает по вертикали  логотим и ссылки */
    align-items: center;
    /* column-gap: 40px; делает отступ между колонками 40 пикселей */
    column-gap: 30px;
    /* row-gap: 20px; растояние между рядами когда они перенесутсяв мобильной версии */
    row-gap: 20px;
    /* flex-wrap: wrap; задает как переносить колонки при мобильной версии */
    flex-wrap: wrap;
    list-style: none;
}


.rating {
    font-size: 15px;
    margin: 5px 5px 5px 5px;
    padding: 30px 10px 10px 10px;
    border: 1px solid gray;
    border-radius: 10px;
    /* Скругление всех углов на 20px */
    overflow: hidden;
    /* Чтобы содержимое не выходило за границы */
    position: relative;

    /* float: left; */
    /* width: 30%; */
}

.rating h3 {
    background-color: rgb(185, 188, 188);
    /* padding: 5px 0px 5px 0px; */
    text-align: center;
    vertical-align: middle;


    width: 100%;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;


}



.rating_leader {
    font-size: 16px;
    font-weight: bold;
    background-color: #FFF8DC;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

.rating_leader_men {
    font-size: 16px;
    font-weight: bold;
    background-color: #57abfa;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

.rating_leader_woman {
    font-size: 16px;
    font-weight: bold;
    background-color: #ff0000b1;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
}

.add_info_for_db {
    display: flex;
    column-gap: 30px;
    flex-direction: row;
    justify-content: center;
}

a.button {
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
    user-select: none;
    padding: .3em 1em;
    outline: none;
    /* border: 2px solid; */
    border-radius: 5px;
    /* transition: 0.2s; */
    background-color: red;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 2vh;
    font-weight: bold;
}

fieldset {
    padding-left: 20px;
    padding-top: 10px;
    /* display: inline; */
    margin-left: 10px;
    margin-right: 10px;




}

.form_congratulation {
    display: grid;
    grid-template-columns: 0.9fr 0.9fr 0.9fr;
}

.wrap_congratulations {
    display: grid;
    grid-template-columns: 0.9fr 0.9fr 0.9fr 0.9fr;

}

.congratulation_section {
    margin: 10px;
    padding: 10px;
    border: 2px solid gray;
}