@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-Thin.ttf");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-ThinItalic.ttf");
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-Light.ttf");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-LightItalic.ttf");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-Regular.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-Italic.ttf");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-Bold.ttf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-BoldItalic.ttf");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-Black.ttf");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("fonts/Lato-BlackItalic.ttf");
    font-weight: 900;
    font-style: italic;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 1.25vw;
}

body {
    background: #F0F0F0;
    font-family: Lato, sans-serif;
    font-weight: 400;
    line-height: 1.33;   
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.global_wrapper {
    position: relative;
    overflow: hidden;
}

.container {
    width: 76%;
    margin-left: auto;
    margin-right: auto;
}

.red {
    color: #D20515;

}

.gold {
    color: #FAFF40;
}

.top-net_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.2;
    z-index: 1;
}

.bottom-net_wrapper {
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: 0;
    opacity: 0.2;
    z-index: 1;
}

.top-net_wrapper img,
.bottom-net_wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.first-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    position: relative;
    width: 12rem;
    max-width: 100%;
    margin-top: 3vh;
    z-index: 3;
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bundesliga-logo {
    position: relative;
    width: 76%;
    margin-top: 3rem;
    z-index: 3;
}

.bundesliga-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.first_description {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    margin-top: 1rem;
    z-index: 3;
}

.registration-button {
    position: relative;
    color: #FFF;
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    background: #D10214;
    padding: .5rem 1.2rem;
    margin-top: 1rem;
    z-index: 3;
    box-shadow: 0px 0px 50px 0px #FFFFFF80;
}

.matches_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 76%;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;

}

.matches_item {
    flex: 0 0 calc(50% - 1rem);
    position: relative;
    text-decoration: none;
    background: #FFF;
    border: 1px solid #D9D9D9;
    border-radius: 1rem;
    z-index: 3;
}

.matches_item_background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    z-index: 1;
    overflow: hidden;
}

.matches_item_background_home {
    position: absolute;
    display: block;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateX(-50%);
    opacity: 0.2;
}

.matches_item_background_away {
    position: absolute;
    display: block;
    height: 100%;
    top: 0;
    right: 0;
    transform: translateX(50%);
    opacity: 0.2;
}

.matches_item_data {
    position: relative;
    display: flex;
    justify-content: center;
    column-gap: 1rem;
    padding: 1rem 2rem;
    z-index: 2;
}

.matches_item_home_wrapper {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.matches_item_home {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.matches_item_away_wrapper {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.matches_item_away {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.matches_item_logo {
    width: 5rem;
    height: 5rem;
    padding: 0.4rem;
    border: 1px solid #D9D9D9;
    border-radius: 0.5rem;
    background: #FFF;
}

.matches_item_logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.matches_item_name {
    font-size: 1rem;
    color: #000;
    text-align: center;
}

.matches_item_starts-at {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
}

.matches_item_starts-at_date {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.matches_item_starts-at_time {
    font-size: 1.5rem;
    font-weight: 500;
}

.matches_item.match-tour {
    flex: 0 0 100%;
    background: #D10214;
}

.matches_item.match-tour .matches_item_home_wrapper,
.matches_item.match-tour .matches_item_away_wrapper {
    flex-basis: 13.5%;
}

.matches_item.match-tour:after {
    content: '';
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    width: 10rem;
    height: 5.5rem;
    background: url('../images/match_tour.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 4;
}

.matches_item.match-tour .matches_item_name,
.matches_item.match-tour .matches_item_starts-at {
    color: #FFF;
}
.matches_item.match-tour,
.matches_item.interesting-odds {
    z-index: 4;
}

.matches_item.interesting-odds:after {
    content: '';
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    width: 10rem;
    height: 5.5rem;
    background: url('../images/interesting_odds.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 4;
}

.carousel_wrapper {
    background: #D10214;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 2rem;
}

.carousel_header {
    color: #FFF;
    font-size: 2.4rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1rem;
}

.carousel_item img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.app-button_wrapper {
    position: relative;
    text-align: center;
    padding-bottom: 2rem;
    background: #D10214;
    z-index: 1;
}

.app-button {
    font-size: 1.5rem;
    color: #D10214;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    background: #FFF;
    padding: .5rem 1.2rem;
    border: none;
    margin-left: auto;
    margin-right: auto;
    outline: none;
    cursor: pointer;
    appearance: button;
    box-shadow: 0px 0px 2.5rem 0px #FFFFFF80;
}

.rules {
    display: flex;
    column-gap: 6%;
    margin-top: 3rem;
}

.rules_column {
    flex: 0 0 47%;
}

.rules_block {
    margin-bottom: 1rem;
}

.rules h3 {
    font-weight: 700;
}

.rules p {
    margin-top: 3px;
    margin-bottom: 3px;
}

.rules ul {
    margin-left: 1.5rem;
}

.rules li {
    margin-top: 3px;
    margin-bottom: 3px; 
}

.copyright {
    width: 47%;
    margin-bottom: 2rem;
}

.copyright p {
    margin-top: 3px;
    margin-bottom: 3px; 
}