/* CSS reset*/
html, body, div, span, applet, object, iframe, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    line-height: 1;
    background-image: url('./assets/Rectangle.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*CSS reset */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

@font-face {
    font-family: 'Azonix';
    src: url('./assets/AzonixRegular.eot');
    src: url('./assets/AzonixRegular.eot?#iefix') format('embedded-opentype'),
        url('./assets/AzonixRegular.woff2') format('woff2'),
        url('./assets/AzonixRegular.woff') format('woff'),
        url('./assets/AzonixRegular.ttf') format('truetype'),
        url('./assets/AzonixRegular.svg#AzonixRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@keyframes colorChange1 {
    from{background-color: transparent;}
    to {background-color: white;}
}
@keyframes colorChange2 {
    from{background-color: white;}
    to {background-color: transparent;}
}
#body{
    display: flex;
    flex-direction: column; 
    align-items: center;
}
#logo{
    margin-bottom: 0;
    display: flex;
    width: inherit;
    justify-content: center;
    margin-top:1.675rem;
}
.logo {
    width: 40rem;
    max-width: 100vw;
    object-fit: contain;
}
h1{
    font-family: Azonix;
    font-weight: 400;
    font-size: 2.5em;
    color: white;
    margin:2.75rem 0;
}

#loader{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: black url(./assets/desktopLoader.gif) no-repeat;
    background-position: 50% 22.5%;
    z-index: 1;
}
.loader-off{
    display: none;
}

.Rform::placeholder{
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    line-height: 22px;
    font-weight: 300;
    padding-left: 0.3em;
}
.Rform{
    height: 40px;
    width: 250px;
    background-color: transparent;
    border: 1px solid white;
    border-radius:10px ;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    line-height: 22px;
    font-weight: 400;
    padding-left: 1em;
}
h2{
    margin: 0;
}
.disclaimer{
    color: white;
    margin:0 ;
    font-size: small;
    font-family: 'Source Sans Pro', sans-serif;
    opacity: 0.7;
}
#Clear,#Confirm{
    background-color: white;
    height: 40px;
    color:black;
    border:2px solid white;
    border-radius:10px ;
    font-family: inherit;
    font-weight: 500;
    width: fit-content;
    margin: auto;
    padding: 0.35rem 1rem;
}
#Clear:hover,
#Confirm:hover{
    background-color: transparent;
    color: white;
    animation-name: colorChange2;
    animation-duration:0.3s ;
}
input:focus-within{
    background-color: white;
    color: black;
    outline: none;
    animation-name:colorChange1 ;
    animation-duration:0.5s ;
}
input:focus-within::placeholder{
    color: black;
}

#Submit:hover{
    cursor: pointer;
    background-color: transparent;
    color: white;
    animation-name: colorChange2;
    animation-duration:0.3s ;
}
.Rform.Submit{
    background-color: white;
    font-weight: 400;
    color: black;
    width: 38%;
    margin: auto;
    padding: 0;
    margin-bottom: 2rem;
}
.container {
    box-sizing: border-box;
    position: absolute;
    width: 394px;
    height: 415px;
    left: 66px;
    top: 275px;
    background: rgba(236, 236, 236, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.46);
    -webkit-backdrop-filter: blur(10.5px);
    backdrop-filter: blur(10.5px);
    border-radius: 10px;
}

.modal{
    visibility: hidden;
    position:fixed;
    z-index: 99; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* overflow: auto; */
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    scroll-behavior: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modalContent {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content:space-evenly;
    box-sizing: border-box;
    width: 20rem;
    min-height: 35rem;
    margin: auto;
    background: rgba(236, 236, 236, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.46);
    -webkit-backdrop-filter: blur(10.5px);
    backdrop-filter: blur(10.5px);
    border-radius: 10px;
}
.eventList {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0;
    overflow-y:auto;
    height:25rem;
    overflow-x: hidden;
}
.checkboxContainer{
    height: 5rem;
    width: 95%;
    justify-content: left;
    min-width: fit-content;
    padding: 0.5rem 0.75rem;
    box-sizing: border-box;
    margin-bottom: 2rem;
    background-color: transparent;
    border: 1px solid white;
    border-radius:5px ;
    font-family: inherit;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    line-height: 22px;
    font-weight: 400;
}
.checkboxContainer:nth-last-child(-n+1){
    margin: 0;
}
#Trigger{
    height: 60px;
    width: 100%;
    background-color: transparent;
    border: 1px solid white;
    border-radius:10px ;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    line-height: 22px;
    font-weight: 400;
    padding: 0.2rem 0;
}
#Trigger:hover{
    cursor: pointer;
}
.modal-show{
    visibility: visible;
    color: white;
    opacity: 1;
}

.modalHeader{
    font-family: Azonix;
    font-weight: 400;
    margin: 0;
}
#Confirm,
#Clear:hover{
    cursor: pointer;
}

input[type=checkbox] {
    visibility:hidden ;
}
.custom {
    display: block;
    position: relative;
    margin-left: 5px;
    padding-left: 30px;
    line-height: 26.7px;
    cursor: pointer;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}
.customTick {
    position: absolute;
    border: 1px solid white;
    border-radius: 50%;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color:transparent;
}
.custom:hover input ~ .customTick {
    background-color: rgb(255, 255, 255);
}
.custom input:checked ~ .customTick {
    background-color: rgb(255, 255, 255);
}
.customTick:after {
    content: "";
    position: absolute;
    display: none;
}
.custom input:checked ~ .customTick:after {
    display: block;
}
  
.custom .customTick:after {
    left: 8px;
    bottom: 5px;
    width: 6px;
    height: 12px;
    border: solid grey;
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#modalFooter{
    display: flex;
    justify-content: space-between;
    font-family: 'Source Sans Pro', sans-serif;
    width: 90%;
    margin: 0;
}
@media only screen and (min-width: 760px) {
    .Rform{
        height: 60px;
        width: 332px;
    }
    .modalContent{
        width: 394px;
        height: 415px;
    }
    #loader{
        background-position: center;
    }
    
}
@media only screen and (max-width: 515px) {
    h1 {
      font-size: 1.8em;
    }
}

@media only screen and (max-width: 416px) {
    h1 {
      font-size: 1.40em;
    }
}

@media only screen and (max-width: 356px) {
    h1 {
      font-size: 1em;
    }
}

.hide {
    animation: hide 2s ease-in-out forwards;
}

@keyframes hide {
    0% {
        opacity: 1;
        filter: none;
    }
    99% {
        opacity: 0;
        filter: saturate(0);
    }
    100% {
        opacity: 0;
        display: none;
        filter: saturate(0);
    }
}

.spinner-container {
    display: none;
    position:fixed;
    z-index: 500;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    --offset: 187;
    --duration: 1.4s;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(0.5rem);
    align-items: center;
    justify-content: center;
}

.spinner {
    animation: rotator var(--duration) linear infinite;
    stroke: white;
}

@keyframes rotator {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(270deg); }
}

.path {
  stroke-dasharray: var(--offset);
  stroke-dashoffset: 0;
  transform-origin: center;
  animation:
    dash var(--duration) ease-in-out infinite;
}

@keyframes dash {
 0% { stroke-dashoffset: var(--offset); }
 50% {
   stroke-dashoffset: var(--offset)/4;
   transform:rotate(135deg);
 }
 100% {
   stroke-dashoffset: var(--offset);
   transform:rotate(450deg);
 }
}

.contact-us,
.workshops {
    color: white;
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 1.5rem;
}

a,
a:visited,
a:focus {
    color: white;
}

.contact-modal,
.participant-container {
    color: white;
    display: none;
    position: fixed;
    z-index: 99; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* overflow: auto; */
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}

.contact-modal-content,
.participant-modal {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content:space-evenly;
    box-sizing: border-box;
    width: 20rem;
    margin: auto;
    background: rgba(236, 236, 236, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.46);
    -webkit-backdrop-filter: blur(10.5px);
    backdrop-filter: blur(10.5px);
    border-radius: 10px;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 1rem;
}

.contact-info {
    margin: 1rem 0;
}

.contact-label {
    margin: 0.75rem 0;
    font-size: 0.8rem;
}

.participant-title,
.participant-buttons {
    margin: 1rem 0;
}

.participant-confirm,
.participant-cancel {
    background-color: white;
    height: 40px;
    color:black;
    border:2px solid white;
    border-radius:10px ;
    font-family: inherit;
    font-weight: 500;
    width: fit-content;
    margin: auto;
    padding: 0.35rem 1rem;
    cursor: pointer;
}
.participant-confirm:hover,
.participant-cancel:hover {
    background-color: transparent;
    color: white;
    animation-name: colorChange2;
    animation-duration:0.3s ;
}

.participant-number {
    margin-left: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    display: none; 
}

.participant-count-input {
    height: 40px;
    width: 90%;
    background-color: transparent;
    border: 1px solid white;
    border-radius:10px ;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    line-height: 22px;
    font-weight: 400;
    padding-left: 1em;
}