*[data-active="false"]{
    display: none !important;
}

html, body{
    width :100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Poppins';
}

html{
    background-color: rgb(245,245,245);
}

.view{
    display: none;
    width: 100%;
}

.view[data-active="true"]{
    display: flex;
}

.smallProfilePic{
    display: flex;
    width: 35px;
    border-radius: 100%;
    padding: 3px;
    background-image: linear-gradient(311deg, rgba(85,174,225,1), rgba(85,225,141,1));
    margin-right: 0.5em;
}

.smallProfilePic[href]{
    cursor: pointer;
}

.smallProfilePic img{
    width: 100%;
    border-radius: 100%;
}

body{
    padding-top: 50px;
    background-image: url('/images/bits.webp');
    background-size: 100% auto;
    background-position: 50%;
    height: auto;
    background-repeat: repeat-y;
    min-height: 100%;
    display: flex;
} 

button{
    font-family: 'Poppins';
    cursor: pointer;
}

form input[type="text"], form input[type="password"], form input[type="email"]{
    width: 100%;
    background: transparent;
    padding: 0.75em 0.5em;
    box-sizing: border-box;
    border: 0px solid transparent;
    border-bottom: 1px solid #cbcbcb;
    margin-bottom: 1em;
    font-family: 'Poppins';
    font-size: 1em;
    outline: 0 solid transparent;
    margin-bottom: 1em;
}

form input[type="text"]:focus, form input[type="password"]:focus, form input[type="email"]:focus{
    background-color: white;
    outline: 2px solid black;
    border: 0;
    border-bottom: 1px solid #cbcbcb;
}

form input[type="submit"], button.cta{
    font-size: 1em;
    padding: 0.8em 6em;
    font-weight: 600;
    color: white;
    text-shadow: 0px 1px 1px black;
    background: linear-gradient(320deg, rgba(85,174,225,1) 0%, rgba(85,225,141,1) 100%);
    border: 0px solid transparent;
    border-radius: 5px;
    box-shadow: 0 2px 3px #0000004f;
    cursor: pointer;
    max-width: 300px;
    align-self: center;
    font-size: 0.9em;
    margin-top: 1em;
}

form label{
    text-align: left;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.beThereInline{
    font-family: 'Pacifico';
}

.alignRight{
    text-align: right !important;
}

span#error{
    position: fixed;
    top: 0px;
    width: 100%;
    text-align: center;
    padding: 1em;
    box-sizing: border-box;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 1px black;
    box-shadow: 0 2px 3px black;
    /* z-index: 456789; */
    background: rgb(245,29,29);
    background: linear-gradient(144deg, rgba(245,29,29,1) 0%, rgba(225,85,150,1) 100%);
    animation-duration: 0.25s;
    animation-name: slideInAnimation;
    /* animation-iteration-count: infinite; */
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

hr{
    height: 1px;
    width: 100%;
    border: 0px solid transparent;
    background: linear-gradient(320deg, rgba(85,174,225,1) 0%, rgba(85,225,141,1) 100%);
    opacity: 0.35;
}

nav{    
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 50px;
    z-index: 100;
    box-sizing: border-box;
    background-color: rgb(245,245,245);
    padding: 0 0.5em;
    box-shadow: 0 1px 1px rgb(0 0 0 / 10%);
}

nav button{
    background: linear-gradient(320deg, rgba(85,174,225,1) 0%, rgba(85,225,141,1) 100%);
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 0.15em;
    border-radius: 8px;
}

nav button a{
    display: block;
    padding: 0.5em;
    background: white;
    color: black;
    font-family: 'Poppins';
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
}

nav a{
    display: flex;
    height: 100%;
    align-items: center;
}

nav a#logo{
    display: flex;
    position: fixed;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
}

nav a img{
    height: 70%;
}

nav img#darkLogo{
    display: none;
}

nav #accountSettings{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
    line-height: 1.3em;
    cursor: pointer;
}

nav #accountSettings[data-state="checking"] #goToLoginSignUp{
    display: none;
}

nav #accountSettings[data-state="checking"] img#profilePicture{
    display: none;
}

nav #accountSettings[data-state="checking"] #accountInfo p, nav #accountSettings[data-state="checking"] #accountInfo a{
    background-image: linear-gradient(311deg, rgba(85,174,225,1), rgba(85,225,141,1));
    border-radius: 3px;
    color: transparent;
    animation-duration: 2s;
    animation-name: pulseAnimation;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

nav #accountSettings[data-state="inactive"] img#profilePicture, nav #accountSettings[data-state="inactive"] #accountInfo p, nav #accountSettings[data-state="inactive"] #accountInfo a{
    display: none;
}

nav #accountSettings[data-state="active"] #goToLoginSignUp{
    display: none;
}

nav #accountSettings img{
    height: 35px;
    display: inline-block;
    border-radius: 100%;
    margin-right: 1em;
    border: 2px solid rgb(85,174,225);
}

nav #accountSettings p{
    margin: 0;
    margin-bottom: 0.3em;
}

nav #accountDropdown{
    width: 20vw;
    position: fixed;
    top: 50px;
    background: rgb(245,245,245);
    height: auto;
    padding: 1em;
    box-sizing: border-box;
    border-radius: 0 0 5px 5px;
    right: 0;
    box-shadow: 0 7px 5px rgb(0 0 0 / 5%);
}

nav #accountDropdown h4:first-of-type{
    margin-top: 0;
}

nav #accountDropdown ol{
    margin: 0;
    padding: 0;
    list-style-type: none;

}

nav #accountDropdown ol li {
    padding: 0.5em 0 0.5em 1em;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

nav #accountDropdown ol li:hover{
    font-weight: 600;
    cursor: pointer;
}

nav #accountDropdown ol li img{
    border-radius: 3px;
    border: 0 solid transparent;
}

nav #accountDropdown a{
    color:black;
}

nav #accountDropdown hr{
    margin: 1em 0 1em 0;
}

main{
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
}

#video-container{
    width: 100%;
    margin-top: 0px;
    height: 50vh;
    background: rgb(85,174,225);
    background: linear-gradient(320deg, rgba(85,174,225,1) 0%, rgba(85,225,141,1) 100%);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#video-container video{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    filter: blur(6px) grayscale(0.3);
}

#video-overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgb(85,174,225);
    background: linear-gradient(320deg, rgba(85,174,225,0.5) 0%, rgba(85,225,141,0.5) 100%);
    left: 0;
    top: 0;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 2em;
    border-top: 1px solid rgba(85,174,225,0.5);
    border-bottom: 1px solid rgba(85,225,141,0.5);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#video-overlay #darkness{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    background-color: rgba(0,0,0,0.4);
}

#video-overlay section{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
}

#video-overlay #heroText h1{
    font-family: 'Pacifico';
    opacity: 1;
    color: white;
    text-shadow: 1px 2px 3px rgb(0 0 0 / 60%);
    font-size: 100px;
    margin-bottom: 0;
    z-index: 1;
    font-weight: 100;
    transform: translateY(-20%);
}

#video-overlay #heroText p{
    font-family: 'Poppins';
    opacity: 1;
    color: white;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 30%);
    margin-top: 0;
    line-height: 1.3em;
    z-index: 1;
    transform: translateY(-120%);
    padding-left: 0.7em;
}

#video-overlay #heroLink {
    z-index: 2;
}

#video-overlay #heroLink button{
    font-size: 1em;
    padding: 0.8em 6em;
    font-weight: 600;
    color: white;
    text-shadow: 0px 1px 1px black;
    background: linear-gradient(320deg, rgba(85,174,225,1) 0%, rgba(85,225,141,1) 100%);
    border: 0px solid transparent;
    border-radius: 5px;
    box-shadow: 0 2px 3px #0000004f;
    cursor: pointer;
}

#video-overlay #heroLink button a{
    text-decoration: none;
    color: inherit;
}

.view#landing{
    width: 100%;
    height: auto;
    flex-direction: column;
}

.view#landing main{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 1280px;
    float: none;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2em;
    box-sizing: border-box;
    line-height: 1.5em;
}

.view#landing main h2{
    font-family: 'Pacifico';
    margin: 3em 0;
}

.view#landing main #placesTabs{
    margin-bottom: 3em;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.view#landing main #placesTabs img{
    width: 25%;
}

.view#landing main p{
    text-align: center;
    font-weight: 200;
}

.view#landing main section{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin-top: 3em;
    margin-bottom: 3em;
}

.view#landing main section div.text h1, .view#landing main section div.text p{
    padding: 0 20px;
}

.view#landing main section div.text h1{
    font-size: 6em;
    font-family: 'Pacifico';
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    background-color: #f3ec78;
    background-image: linear-gradient(311deg, rgba(85,174,225,1), rgba(85,225,141,1));
    height: inherit;
    line-height: initial;
    margin: 0;
}

.view#landing main section div.text p{
    opacity: 0.75;
    text-align: left;
    margin-top: 0;
}

.view#landing main section div.image img{
    height: 400px;
}

.view#search main {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-start;
}

.view#search main .searchSection{
    flex: 1;
    padding: 1em;
    box-sizing: border-box;
}

.view#search main .searchSection h1{
    margin: 0;
}

.view#search main .searchSection input{
    width: 100%;
    background: transparent;
    padding: 0.5em;
    box-sizing: border-box;
    border: 0px solid transparent;
    border-bottom: 1px solid #cbcbcb;
    margin-bottom: 1em;
    padding-left: 0;
    font-family: 'Poppins';
    font-size: 1em;
    outline: 0 solid transparent;
}

.view#search main .searchSection input:focus{
    border-bottom: 1px solid black;
}

.view#search main .searchSection h3{
    margin-top: 0;
}

.view#search main .searchSection ol{
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 100%;
    overflow: scroll;
}

.view#search main .searchSection ol li{
    margin-bottom: 0.75em;
}

.view#search main .searchSection ol li:nth-child(odd){
    font-weight: 600;
}

.view#search main .searchSection#events ol li{
    border-radius: 5px;
    overflow: hidden;
    padding: 3px; 
    box-sizing: border-box;
    background-image: linear-gradient(311deg, rgba(85,174,225,1), rgba(85,225,141,1));
}

.view#search main .searchSection#events ol li .eventImage{
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view#search main .searchSection#events ol li .eventImage img{
    width: 100%;
}

.view#search main .searchSection#events ol li .eventDetails{
    background-color: white;
    position: relative;
}

.view#search main .searchSection#events ol li .eventDetails a{
    font-size: 0.75em;
    line-height: 1em;
    padding: 0.5em;
    box-sizing: border-box;

}

.view#search main .searchSection#events ol li .eventDetails a, .view#search main .searchSection#events ol li .eventDetails h3, .view#search main .searchSection#events ol li .eventDetails span, .view#search main .searchSection#events ol li .eventDetails p{
    margin: 0;
    color: black;
    text-decoration: none;
    display: block;
}

.view#search main .searchSection#events ol li .eventDetails span{
    font-weight: 400;
    margin-bottom: 0.5em;
    display: inline-block;
}

.view#search main .searchSection#events ol li .eventDetails p{
    font-size: 1.2em;
}

.view#search main .searchSection#events ol li .eventDetails img{
    width: 15px;
    background-image: linear-gradient(311deg, rgba(85,174,225,1), rgba(85,225,141,1));
    border-radius: 100%;
    padding: 0.5em;
    position: absolute;
    right: 1em;
    top: 13px;
}

.view#account main {
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.view#account main section.options{
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 1em;
    box-sizing: border-box;
    width: 100%;
    max-width: 500px;
}

.view#account main section.options#accountLogin h2{
    margin-bottom: 2em;
}

.view#account main section.options form{
    display: flex;
    flex-direction: column;
}

.view#account main section.options#accountCreation form{
    margin-top: 3em;
}

.view#group main{
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 1em;
    box-sizing: border-box;
}

.view#group main #groupHeader h1{
    margin: 0.5em;
}

.view#group main #groupContent{
    display: flex;
    width: 100%;
}

.view#group main #groupContent ol{
    display: flex;
    flex-direction: column;
    list-style-type: none;
    max-height: 100%;
    overflow: scroll;
    padding: 0;
    margin: 0;
}

.view#group main #groupContent section#groupContent, .view#group main #groupContent section#groupEvents, .view#group main #groupContent section#groupRecordings{
    margin: 0 0.5em;
    box-sizing: border-box;
}


.view#group main #groupContent #groupDetails{
    flex: 1;
}

.view#group main #groupContent #groupDetails .organiserPhotos, .view#group main #groupContent #groupDetails .sponsorPhotos{
    display: flex;
}

.view#group main #groupContent #groupDetails p#groupDescription, .view#group main #groupContent #groupDetails section#sponsors{
    font-size: 0.8em;
}

.view#group main #groupContent #groupDetails section#sponsors #sponsorCTA{
    display: inline-block;
    margin-top: 1em;
    color: black;
    font-weight: 600;
    font-size: 1.1em;
}

.view#group main #groupEvents{
    flex: 2;
}

.view#group main #groupEvents h2, .view#group main #groupRecordings h2{
    margin-bottom: 0.5em;
}

.view#group main #groupEvents ol li.groupEvent{
    background-image: linear-gradient(311deg, rgba(85,174,225,1), rgba(85,225,141,1));
    padding: 2px;
    border-radius: 3px;
    margin-bottom: 1em;
}

.view#group main #groupEvents ol li.groupEvent section{
    background-color: #f5f5f5;
    border-radius: 2px;
    display: flex;
    overflow: hidden;
}

.view#group main #groupEvents ol li.groupEvent section .eventImage{
    flex: 2;
    align-items: center;
    justify-content: center;
}

.view#group main #groupEvents ol li.groupEvent section .eventImage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent{
    flex: 3;
    padding: 0.3em 0.5em;
    display: flex;
    flex-direction: column;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent h4{
    margin: 0;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent span{
    font-size: 0.65em;
    margin-bottom: 0.5em;
    color: grey;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent .organiserPhotos{
    display: flex;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent .organiserPhotos a:first-of-type{
    z-index: 2;
    border: 1px solid white;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent .organiserPhotos a:last-of-type{
    transform: translateX(-80%) scale(0.8);
}

.view#group main #groupEvents ol li.groupEvent section .eventContent p.eventDescription{
    font-size: 0.7em;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent .whereWhen{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent .whereWhen h5{
    margin:0;
    margin-right: 1em;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent .whereWhen .eventTypes{
    display: flex;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent .whereWhen .eventTypes img{
    width: 35px;
    margin-right: 0.5em;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent .whereWhen a.actionArrow{
    width: 15px;
    background-image: linear-gradient(311deg, rgba(85,174,225,1), rgba(85,225,141,1));
    border-radius: 100%;
    padding: 0.5em;
    position: absolute;
    right: 0.1em;
    height: 15px;
    display: flex;
}

.view#group main #groupEvents ol li.groupEvent section .eventContent .whereWhen a.actionArrow img{
    height: 100%;
}

.view#group main #groupRecordings{
    flex: 1;
}

.view#group main #groupRecordings li.groupRecording{

    background-image: linear-gradient(311deg, rgba(85,174,225,1), rgba(85,225,141,1));
    border-radius: 3px;
    padding: 2px;
    margin-bottom: 1em;
}

.view#group main #groupRecordings li.groupRecording section{
    display: flex;
    flex-direction: column;
}

.view#group main #groupRecordings li.groupRecording section .recordingThumb{
    border-radius: 2px 0 0 2px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.view#group main #groupRecordings li.groupRecording section .recordingThumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view#group main #groupRecordings li.groupRecording section .recordingThumb a.videoCover{
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    background: #0000005e;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.view#group main #groupRecordings li.groupRecording section .recordingThumb a.videoCover img{
    width: 65px;
    height: 65px;
}

.view#group main #groupRecordings li.groupRecording section .recordingText{
    background-color: white;
    padding: 0.3em;
    box-sizing: border-box;
}

.view#group main #groupRecordings li.groupRecording section .recordingText h4{
    margin: 0;
}

.view#group main #groupRecordings li.groupRecording section .recordingText .metadata{
    display: flex;
    justify-content: space-between;
    margin: 0.3em 0;
}

.view#group main #groupRecordings li.groupRecording section .recordingText .metadata span{
    font-size: 0.6em;
}

@keyframes slideInAnimation {
    0% {
        transform: translateY(0px);
    }
    
    100% {
        transform: translateY(50px);
    }
}

@keyframes pulseAnimation {
    0% {
        opacity : 0.3;
    }

    50% {
        opacity : 0.8;
    }
    
    100% {
        opacity : 0.3;
    }
}

@media all and (max-width: 768px){

    #video-overlay{
        padding: 1em;
    }

    #video-overlay section {
        flex-direction: column;
    }

    #video-overlay #heroText h1{
        font-size: 3em;
        line-height: 1.1em;
    }

    #video-overlay #heroText p{
        transform: translateY(0);
    }

    #video-overlay #heroText h1, #video-overlay #heroText p{
        text-align: center;
    }

    .view#landing main #placesTabs{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .view#landing main #placesTabs img{
        width: 50%;
        margin-bottom: 2.5em;
    }

    .view#landing main h2{
        text-align: center;
    }

    .view#landing main section {
        flex-direction: column;
    }
  
    .view#landing main section div.text h1 {
        font-size: 3em;
        text-align: center;
    }

    .view#landing main section div.image{
        text-align: center;
    }

    .view#landing main section div.image img {
        height: auto;
        width: 80%;
    }

    .view#landing main section div.text p, .view#landing main section div.text p.alignRight {
        text-align: center !important;
    }

    .view#landing main section div.text p br{
        display: contents;
    }

    .view#landing main section.mobileFlip{
        flex-direction: column-reverse;
    }

    .view#search main{
        flex-direction: column;
    }

}
  

/* @media (prefers-color-scheme: dark) {
    
    html {
        background-color: #1e2635;
        color: white;
    }

    nav {
        background-color: #1e2635;
    }

    nav img#darkLogo{
        display: inherit;
    }

    nav img#lightLogo{
        display: none;
    }

    nav #accountDropdown{
        background-color: #1e2635;
    }

    nav #accountDropdown a {
        color: white;
    }

} */