@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.1vw;
}

body {
    background: #FF4B44;
    font-family: Lato, sans-serif;
    font-weight: 400;
    line-height: 1.33;   
}

h1 {
     font-size: 3rem;
     text-align: center;
}

.global_wrapper {
    position: relative;
    overflow: hidden;
}

.container {
    width: 76%;
    margin-left: auto;
    margin-right: auto;
}

.gold {
    color: #FAFF40;
}

.first-screen {
    position: relative;
    width: 76%;
    margin-left: auto;
    margin-right: auto;
}

.laliga-logo {
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 21vw;
}

.laliga-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.first-screen_main {
    position: relative;
    width: 46vw;
    bottom: -1rem;
    margin-left: auto;
}

.logo {
    position: absolute;
    right: 1.5vw;
    top: 0;
    width: 16vw;
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.first-screen_main_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.first-screen_main_registration {
    position: absolute;
    right: 2.5vw;
    bottom: -1rem;
    width: 14vw;
    border-radius: 50%;
    overflow: hidden;
    z-index: 4;
}

.first-screen_main_registration img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.club-icons_carousel_wrapper {
    position: relative;
    background: #FFF;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.club-icons_carousel_background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.club-icons_carousel_background_rectangle {
    position: absolute;
    width: 4.5rem;
    height: 4.5rem;
}

.club-icons_carousel_background_rectangle:nth-child(1) {
    bottom: 0;
    left: -1rem;
}

.club-icons_carousel_background_rectangle:nth-child(2) {
    top: 0;
    left: 14vw;
}

.club-icons_carousel_background_rectangle:nth-child(3) {
    left: 34vw;
    bottom: 0;
}

.club-icons_carousel_background_rectangle:nth-child(4) {
    top: 0;
    left: 54vw;
}

.club-icons_carousel_background_rectangle:nth-child(5) {
    left: 69vw;
    bottom: 0;
}

.club-icons_carousel_background_rectangle:nth-child(6) {
    left: 89vw;
    top: 0;
}

.club-icons_carousel_background_rectangle img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.club-icons_carousel_inner {
    height: 5rem;
}

.club-icons_carousel_container {
    transition-timing-function: linear;
}

.club-icons_carousel_item {
    aspect-ratio: 1 / 1;
}

.club-icons_carousel_item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.matches_wrapper {
    background: #E1E1E1;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.matches_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 76%;
    padding-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 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 {
    background: #000;
    border: 1px solid #000;
}

.matches_item.match-tour:after {
    content: '';
    position: absolute;
    right: -1rem;
    bottom: -1.5rem;
    width: 12.5rem;
    height: 3.125rem;
    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: -1rem;
    bottom: -1.5rem;
    width: 12.5rem;
    height: 3.125rem;
    background: url('../images/interesting_odds.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 4;
}

.carousel_wrapper {
    background: #000000;
    padding-top: 2rem;
    padding-bottom: 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: #000000;
    z-index: 1;
}

.app-button {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    background: #FFFFFF;
    padding: .5rem 1.2rem;
    border: none;
    margin-left: auto;
    margin-right: auto;
    outline: none;
    cursor: pointer;
    appearance: button;
}

.rules {
    display: flex;
    column-gap: 6%;
    color: #FFF;
    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 {
    color: #FFF;
    width: 47%;
    margin-bottom: 2rem;
}

.copyright p {
    margin-top: 3px;
    margin-bottom: 3px; 
}