/* ---------------------------------------------------
                    MAINS
----------------------------------------------------*/

#main-home{
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    display:block;
    color: rgb(225, 225, 225);
}

#main-page{
    display:block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 1em 1em;
    font-size: 2em;
    line-height: 1.2em;
    color: rgb(30, 30, 30);
    background-color: #d4e7d4;
    min-height: calc(100vh - 4em);
}

#main-grid{
    max-width: 1616px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1em;
    display: block;
    color: rgb(225, 225, 225);
    min-height: calc(100vh - 4.2em);
}

@media only screen and (min-width: 1080px) {
    #main-page{
        font-size: 1em;
        min-height: calc(100vh - 4.8em);
    }
}
/* ---------------------------------------------------
                    SECTIONS
----------------------------------------------------*/
.banner_main{
    display: block;
}

.banner_page{
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: 1080px; 
}

.banner_events_line{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: flex-start;
}

.banner_events{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: flex-start;
}

/*aligns the last line of the flexbox to the  left*/
.banner_events i {
    width:384px;
    margin: 0 10px;
    height: 0; 
}

/*
.banner_main img{
    display: block;
    object-fit: cover;
    height: 800px;
    padding-bottom: 200px;
    margin-left: auto;
    margin-right: auto;
    width:100%;
}

@media only screen and (min-width: 1080px) {
    .banner_main img{
        height: auto;
        padding: 0;
    } 
}
*/

.banner_social > ul {
    margin: 0 auto;
    padding: 2em 4em;
    position: relative;
    display: inline-block;
    display: flex;
    justify-content: space-between;
}

.banner_social > ul li {
    white-space:nowrap;
    list-style: none;
    float: left;
}

.banner_social > ul a {
    background: none;
    display: block;
    padding: 0;
    text-decoration: none;
    text-transform: uppercase;
    color: #ffffff;
}

.banner_social > ul img{
    width: 3em;
    height: 3em;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

@media only screen and (min-width: 1080px) {
    
    .banner_events_line{
        flex-wrap: nowrap;
        overflow-x:auto;
        user-select: none;
    }

    .banner_events_line.active{
        cursor: grabbing;
        cursor: -webkit-grabbing;
    }
        
    .banner_social {
        display: none;
    }
}

/* ---------------------------------------------------
                    HOME PAGE
----------------------------------------------------*/
section.banner_sub {
    margin-top: 0.1em;
}

.banner_sub div.post{
    display: block;
    width: 100%;
    text-align: center;
    padding-bottom: 100px;
}

.banner_sub img{
    display: block;
    width: 100%;
}

.banner_sub div.description{
    padding: 30px 70px 0 70px;
    display:inline-block;
    background-color: transparent;
}

.banner_sub span{
    padding: 0;
    width:100%;
    color: #EEE;
    line-height: 2em;
    font-size: 1.9em;
    font-weight: 400;
}

@media only screen and (min-width: 1080px) {

    .banner_sub section{
        display: block;
    }

    .banner_sub div.post{
        position: relative;
        float: left;
        width: 33.3333%;
        width: calc(100%/3);
        padding: 0;
    }
    
    .banner_sub div.description{
        background-color: rgba(33,33,33,0.6);
        position: absolute;
        padding: 0 20px 0 20px;
        bottom: 0;
        right: 0;
        left:0;
        min-height: 3em;
    }
    
    .banner_sub span{
        padding: 0;
        width:100%;
        color: #EEE;
        line-height: 1.5em;
        font-size: 1em;
        font-weight: 100;
    }
    
}

.banner_joindiscord{
    background-color: #7289da /*#b91e30*/;
    display: inline-block;
    width: 100%;
    position: relative;
    height: 1000px;
    overflow: hidden;
}

.banner_joindiscord > div{
    position: relative;
    display: block;
    box-sizing : border-box;
    float: left;
    width: 100%;
    padding: 10%;
    text-align: center;
    z-index: 2;
}
.banner_joindiscord > div > img {
    padding-bottom: 30px;
    width:100%;
}
.banner_joindiscord > img{
    display: block;
    position: absolute;
    z-index: 1;
    width: 100%;
    float: left;
    bottom:0;
    right: -174px;
}

.banner_joindiscord a{
    display: inline-block;
    font-family: "BebasNeue", "Helvetica Neue", "Lucida Grande", "Arial";
    font-size: 2em;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: white;
    text-decoration: none;
    border-style: solid;
    border-color: white;
    border-width: 0.1em;
    background-color: rgba(185,30,48,1);
    padding: 0.8em 0.4em;
    min-width: 30em;
    min-width: 5em;
    max-width: 7em;
    width: 30%;
}

.banner_joindiscord a:hover{
    color: #b91e30;
    border-color: white;
    background-color: white;
}

@media only screen and (min-width: 1080px) {
    .banner_joindiscord{
        display: inline-block;
        position: relative;
        height: auto;
    }
    
    .banner_joindiscord > div{
        position: relative;
        float: left;
        width: 50%;
        padding: 7%;
        text-align: center;
        margin:5% auto;
    }

    .banner_joindiscord > img{
        position: relative;
        width: 50%;
        float: left;
        right: 0;
    }
    
    .banner_joindiscord a{
        font-size: 1em;
        padding: 1em 0.1em;
        margin: 0;
    }
    
}

/* ---------------------------------------------------
                    DEVS PAGE
----------------------------------------------------*/
.dev_section {
    font-size: 1em;
    font-weight: normal;
}

.dev_section > #name {
    margin: 0.5em 0 0.2em 0;
    
}

.dev_section > #position {
    margin: 0.2em 0 0.5em 0;
    font-size: 1.2em;
}

.dev_section > #photo {
    width: 100%;
    height: auto;
}

.dev_section > #bio {
    
}

.dev_section > #link {
    font-weight: bold;
    margin: 0.5em 0;
}

.dev_section > #link > a {
    font-weight: normal;
}

@media only screen and (min-width: 1080px) {
    .dev_section > #photo {
        width: 300px;
    }
}

/* ---------------------------------------------------
                    EVENTS PAGE
----------------------------------------------------*/
.section_title {
    display: flex;
    position: relative;
    width:100%;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-end;
    align-content: center;
    padding-bottom: 0.5em;
    margin: 1em 0;
    border-bottom: solid thin white;
}

.section_title > h1 {
    display: block;
    position: relative;
    float:left;
    padding: 0;
    line-height: 1em;
    font-size: 3em;
}

.section_title > #side_text{
    display: block;
    position: relative;
    float:right;
    padding: 0;
    line-height: 1em;
    width: 100%;
    font-size: 2em;

}

.section_title > a#side_text{
    color: white;
    text-decoration: none;
}

@media only screen and (min-width: 1080px) {
    
    .section_title {
        display: inline-flex;
        flex-wrap: nowrap;
    }
    
    .section_title > h1 {
        font-size: 1em;
    }

    .section_title > #side_text{
        font-size: 1em;
        width: auto;
    }
    
}
/* ---------------------------------------------------
                    EVENTS POST
----------------------------------------------------*/
.event_post{
    position: relative;
    display: block;
    width:100%;
    height: auto;
    margin:10px;
    margin-bottom: 100px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #181c18;
    -webkit-box-shadow: 0 8px 16px rgba(4,4,5,.2);
    box-shadow: 0 8px 16px rgba(4,4,5,.2);
    -webkit-box-sizing: border-box;
}

.event_post > #photo{
    position: relative;
    display:block;
    width:100%;
    height: calc(100vw*256/384); 
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.event_post #photo img{
    position: relative;
    width:100%;
    height: 100%; 
    border: 0;
    outline : none;
}

.event_post > #info{
    position: relative;
    display: block;
    padding: 0.5em 1.2em;
    right: 0;
    left:0;
    height: 8em;
    font-size: 1em;
    font-weight: 400;
    line-height: 0em;
    background-color: transparent;
    color: #dcdedc;  
}

.event_post #info > #title{
    position: relative;
    display: block;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.5em;
    height: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.event_post #info > #description{
    position: relative;
    display: block;
    font-size: 1.6em;
    font-weight: 400;
    line-height: 1.3em;
    height: 2.5em;
    overflow: hidden;
    text-align:justify;
}

.event_post #info > #date{
    position: relative;
    font-size: 1.4em;
    font-weight: 400;
}

.event_post #info > #expand{
    position: absolute;
    width: 2.5em;
    height: 2.5em;
    padding: 0.7em 0.75em;
    background-color: #b91e30;
    border-radius: 4px;
    z-index: 2;
    bottom: -1em;
    right: 1em;
}


@media only screen and (min-width: 1080px) {

    .event_post{
        float:left;
        width:384px;
        height: auto;
        min-height: 256px;
        margin: 20px 10px 20px 10px;
        border-radius: 4px;
        font-size: 0.7em;
    }
    .event_post #photo{
        position: relative;
        display:block;
        border-radius: 4px 4px 0 0;
        width: 384px;
        height: 256px; 
    }
    
    .event_post > #info{
        font-size: 1em;
        height: 4em;
    }
    
    .event_post #info > #title{
        font-size: 1em;
    }
    
    .event_post #info > #date{
        font-size: 1em;
    }
    
    .event_post #info > #description{
        font-size: 1em;
    }
    
    .event_post #info > #expand{
        font-size: 0.6em;
    }
}
    