
/* main page */

div#content.main {
    background-image: url('../img/main_background.jpg');
    background-position: center -76px;
    background-repeat: no-repeat;
}


div#update {
    position: absolute;
    top: var(--size_header_height);
    left: 0;
    right: 0;
    height: var(--size_header_height);
    z-index: 100;
    background-color: var(--color-bg-light);
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

div#update.hidden {
    display: none;
}

div#update >div#update_description {
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    color: var(--color-text-selected);
    margin: 0 19px;
}

div#update >div#update_buttons {
    margin: 0 9px;
    display: flex;
    flex-flow: row nowrap;
    gap: 19px;
    align-items: center;
}

div#content >div#update >div#update_buttons >a.button {
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
    background-color: var(--color-bg-dark);
    border-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

div#content >div#update >div#update_buttons >a.close {
    display: block;
    width: 30px;
    height: 20px;
    background-image: url(../img/close_dark.svg);
    background-position: center;
    background-repeat: no-repeat;
}

div#content >#headline {
    height: 660px;
    position: relative;
}

div#content >#headline >h1 {
    margin: 0;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    position: absolute;
    top: 173px;
    left: 0;
}

div#content >#headline >h2 {
    margin: 0;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    position: absolute;
    top: 256px;
    left: 0;
}

div#content >#headline >a#main_more_events {
    position: absolute;
    top: 350px;
    left: 0;
}

div#content >#headline >a#main_more_events:hover {
    text-decoration: none;
}



div#content >#apps {
    height: auto;
    padding-bottom: 30px;
    background-color: var(--color-bg-light);
    border-radius: 20px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

div#content >#apps >div {
    padding: 20px 10px 0 10px;
}

div#content >#apps a {
    display: inline-block;
    width: 100%;
}

div#content >#apps img {
    width: 226px;
    height: 60px;
    margin: 40px 0;
}

div#content >#apps div.description {
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    color: var(--color-text-dark);
}



div#content h1.main {
    margin: 80px 0 40px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 111%;
    color: var(--color-bg-dark);
}



div#content div#main_events >div.event,
div#content >div#main_promoted_event >div.event {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    gap: 4%;
    align-items: flex-start;
    /* align-items: stretch; */
    margin: 0 0 50px 0;
}

div#content div#main_events >div.event.reverse {
    flex-direction: row-reverse;
}

div#content div#main_events >div.event >div,
div#content >div#main_promoted_event >div.event >div {
    min-width: 250px;
    flex: 1 1 48%;
}

div#content div#main_events >div.event >div >h1,
div#content >div#main_promoted_event >div.event >div >h1 {
    margin: 0 0 16px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 133%;
}

div#content div#main_events >div.event >div >div.intro,
div#content >div#main_promoted_event >div.event >div >div.intro {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 167%;
}

div#content div#main_events >div.event >div >div.date,
div#content >div#main_promoted_event >div.event >div >div.date {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 167%;
}

div#content div#main_events >div.event >div >a,
div#content >div#main_promoted_event >div.event >div >a {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    padding-right: 25px;
    background-image: url('../img/right.svg');
    background-repeat: no-repeat;
    background-position: 100% center;
    background-size: 10px 18px;
}

div#content div#main_events >div.event >div >a:hover,
div#content >div#main_promoted_event >div.event >div >a:hover {
    font-weight: 700;
    color: var(--color-text-dark);
}

div#content div#main_events >div.event >div.image,
div#content >div#main_promoted_event >div.event >div.image {
    width: 100%;
    aspect-ratio: 1.9;
    border-radius: 20px;
    background-color: var(--color-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

div#content >div#main_promoted_event {
    margin: 50px 0;
}

div#content >div#main_promoted_event >div.event >div >h1 {
    font-size: 48px;
    line-height: 111%;
}

div#content >div#main_promoted_event >div.event >div >div.intro {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
}



div#content div#main_dailies {
    margin: 90px 0 90px 0;
}

div#content div#main_dailies >h1 {
    margin: 0 0 50px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 133%;
}

div#content div#main_dailies >ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 30px;
}

div#content div#main_dailies >ul >li >a,
div#content div#main_dailies >ul >li >a:visited {
    display: block;
    margin: 0;
    padding: 20px;
    width: 157px;
    height: 111px;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    border-radius: 20px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

div#content div#main_dailies >ul >li >a:hover {
    text-decoration: none;
    color: var(--color-text-hover);
}

div#content div#main_dailies >ul >li >a >div.title {
    font-size: 28px;
    font-weight: 700;
    line-height: 133%;
}

div#content div#main_dailies >ul >li >a >div.title >span {
    font-size: 64px;
}


div#content >div#main_sports {
    padding: 36px 0 50px 0;
    position: relative;
}

div#content >div#main_sports >div#main_sports_background {
    position: absolute;
    top: 0;
    left: -155px;
    width: calc(100% + 310px);
    height: 470px;
    border-radius: 20px;
    background-color: #f1f9fa;
    z-index: -1;
}

div#content >div#main_sports >div#main_sports_header {
    display: flex;
    flex-flow: row nowrap;
    gap: 40px;
    align-items: flex-start;
}

div#content >div#main_sports >div#main_sports_header >h1,
div#content >div#main_sports >div#main_sports_header >div.description {
    flex: 1 1 45%;
    margin: 0;
}

div#content >div#main_sports >div#main_sports_header >div.description {
    flex: 1 1 45%;
    font-size: 20px;
    font-weight: 400;
    line-height: 167%;
}

div#content >div#main_sports >ul#sports {
    margin-top: 80px;
}


div#content >div#main_promoted_gastronomy >div.gastronomy_place {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    gap: 4%;
    align-items: flex-start;
    margin: 0 0 50px 0;
}

div#content >div#main_promoted_gastronomy >div.gastronomy_place >div {
    min-width: 250px;
    flex: 1 1 54%;
}

div#content >div#main_promoted_gastronomy >div.gastronomy_place >div >h1 {
    margin: 0 0 24px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 133%;
}

div#content >div#main_promoted_gastronomy >div.gastronomy_place >div >div.intro {
    margin: 24px 0 16px 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 167%;
}

div#content >div#main_promoted_gastronomy >div.gastronomy_place >div >div.address,
div#content >div#main_promoted_gastronomy >div.gastronomy_place >div >div.contact {
    margin: 0 0 10px 0;
    padding-left: 42px;
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    background-image: url('../img/address.svg');
    background-repeat: no-repeat;
    background-position: 0 center;
}

div#content >div#main_promoted_gastronomy >div.gastronomy_place >div >div.contact {
    background-image: url('../img/contact.svg');
}

div#content >div#main_promoted_gastronomy >div.gastronomy_place >div.image {
    flex: 1 1 42%;
    width: 100%;
    aspect-ratio: 1.44;
    border-radius: 20px;
    background-color: var(--color-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

