/* FONTS */
@font-face {
	font-family: 'Circe';
    font-weight: 300;
	src: url('../fonts/Circe-Light.woff');
}
@font-face {
	font-family: 'Circe';
    font-weight: 400;
	src: url('../fonts/Circe-Regular.woff');
}
@font-face {
	font-family: 'Circe';
    font-weight: 600;
	src: url('../fonts/Circe-Bold.woff'); 
}
@font-face {
	font-family: 'Circe';
    font-weight: 900;
	src: url('../fonts/Circe-ExtraBold.woff');
}
/*  */
:root {
    --primary-color: hsl(234, 21%, 17%);
    --secondary-color: hsl(220, 14%, 96%);
    --accent-color: hsl(46, 98%, 53%);
    --gray-color: hsl(0, 0%, 96%);
    --hover-gray-color: hsl(0, 0%, 76%);
    --dark-color: hsl(234, 21%, 17%);
    --magenta-color: hsl(327, 61%, 57%);
    --box-shadow: 0px 1px 24px 2px hsla(0, 0%, 0%, 0.071), 0px 0px 7px 1px hsla(0, 0%, 0%, 0.502);
}
/* MAIN */
div#chat-container {
    display: none;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body, body * {
    font-family: 'Circe', sans-serif;
}
body {
    line-height: 1.5;
}
body > iframe {
    border: none;
}
header, footer {
    background-color: var(--primary-color);
    box-shadow: var(--box-shadow);
    padding: 0.5rem;
    color: var(--secondary-color);
    position: sticky;
    top: 0;
    line-height: 1;
}

header, button {
    font-weight: 600;
}
header {
    z-index: 100;
}
main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: var(--dark-color);
}
section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem;
}
section#home {
    max-width: none;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
footer h4 {
    font-size: 1.5rem;
}
button {
    border: none;
    border-radius: 0.2rem;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    width: fit-content;
    cursor: pointer;
}
button.yellow {
    background-color: var(--accent-color)
}
button.yellow:hover {
    background-color: var(--secondary-color)
}
button.white {
    background-color: var(--secondary-color)
}
button.white:hover {
    background-color: var(--accent-color)
}
nav * {
    text-wrap: nowrap;
}
#navHiddenButton {
    padding: 1rem 0rem;
    width: 0%;
    overflow: clip;
    text-wrap: nowrap;
    transition: padding 0.3s, width 0.3s;
}
#navHiddenButton.expanded {
    width: 100%;
    padding: 1rem 3rem;
}
h1 {
    font-size: 3.5rem;
}
ul {
    padding: 1rem 0;
}
li::marker {
    color: var(--magenta-color);
}
sub {
    font-size: 0.8rem;
}
br.x5 {
    line-height: 5rem;
}
/* FLEX */
.flex {
    display: flex;
}
.justify-start {
    justify-content: flex-start;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.justify-end {
    justify-content: flex-end;
}
.justify-around {
    justify-content: space-around;
}
.items-start {
    align-items: flex-start;
}
.items-center {
    align-items: center;
}
.items-end {
    align-items: flex-end;
}
.flex-col {
    flex-direction: column;
}
.flex-row {
    flex-direction: row;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-nowrap {
    flex-wrap: nowrap;
}
.gap-05 {
    gap: 0.5rem;
}
.gap-1 {
    gap: 1rem;
}
.gap-2 {
    gap: 2rem;
}
.gap-3 {
    gap: 3rem;
}
/*  */
.fs-08 {
    font-size: 0.9rem;
}
.bg-transparent {
    background-color: transparent !important;
}
.bg-secondary {
    background-color: var(--secondary-color);
}
.bg-secondary:hover {
    background-color: var(--accent-color);
}
.bg-accent {
    background-color: var(--accent-color);
}
.bg-accent:hover {
    background-color: var(--secondary-color);
}
.bg-gray {
    background-color: var(--gray-color);
}
.bg-black {
    background-color: #000;
}
.text-accent {
    color: var(--accent-color);
}
.rounded {
    border-radius: 50%;
}
.font-secondary {
    color: var(--secondary-color);
}
.weight-400 {
    font-weight: 400;
}
.text-accent {
    color: var(--accent-color);
}
.text-center {
    text-align: center;
}
.aspect16x9 {
    aspect-ratio: 16/9;
}
.video-iframe {
    z-index: 11;
    max-width: 1280px;
    border: none;
}
.width-100{
    width: 100vw;
}
.width-1280 {
    width: 1280px;
}
.wrapper {
    position: relative;
    width: 100%;
    max-width: fit-content;
    background-color: #000;
    margin: 0 auto;
}

.loader {
    position: absolute;
    z-index: 10;
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border-radius: 50%;
    background:
        linear-gradient(0deg ,rgba(255, 255, 255, 0.5) 30%,#ffffff00 0 70%,rgb(255, 255, 255) 0) 50%/8% 100%,
        linear-gradient(90deg,rgba(255, 255, 255, 0.25) 30%,#ffffff00 0 70%,rgba(255, 255, 255, 0.75) 0) 50%/100% 8%;
    background-repeat: no-repeat;
    animation: l23 1s infinite steps(12);
}
.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    border-radius: 50%;
    background: inherit;
    opacity: 0.915;
    transform: rotate(30deg);
}
.loader::after {
    opacity: 0.83;
    transform: rotate(60deg);
}
@keyframes l23 {
    100% {transform: rotate(1turn)}
}

#reviews .arrow-btn {
    z-index: 11;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translate(-50%);
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--accent-color);
    min-width: 3rem;
    min-height: 3rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
#reviews .arrow-btn:hover {
    background-color: var(--secondary-color);
}
#reviews .arrow-btn::before {
    display: flex;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    transition: all 0.3s ease !important;

}
#reviews .arrow-btn.prev::before {
    content: url("/img/icons/skip_prev_bk.svg");

}

#reviews .arrow-btn.next::before {
    content: url("/img/icons/skip_next_bk.svg");
}

#reviews .arrow-btn.prev {
    left: 0;
    transform: translate(50%, -40%);
}
#reviews .arrow-btn.next {
    right: 0;
    transform: translate(-50%, -40%);
}
#reviews .arrow-btn.prev:hover {
    transform: translate(50%, -40%) scale(1.2) !important;
}
#reviews .arrow-btn.next:hover {
    transform: translate(-50%, -40%) scale(1.2) !important;
}
#reviews .arrow-btn.prev:hover::before {
    transform: translateX(0) scale(0.86) !important;
}
#reviews .arrow-btn.next:hover::before {
    transform: translateX(0) scale(0.86) !important;
}

.divider{
    display: inline-block;
    background-color: var(--secondary-color);
    height: 1rem;
    width: 2px;
}
.reg-item {
    max-width: 50%;
    width: 50%;
}
.title {
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
/*  */
/* .container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
} */
.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.5rem;
    /* font-weight: 600; */
    font-size: 0.8rem;
}
.logo img {
    max-height: 3.5rem;
}
.anchor {
    cursor: pointer;
    text-transform: uppercase;
}
button.anchor:hover {
    color: var(--dark-color);
}
.logo.anchor:hover {
    color: var(--secondary-color);
}
.anchor:hover {
    color: var(--accent-color);
}
.link {
    cursor: pointer;
    color: #502281;
    text-decoration: underline
}
.program-item {
    margin-bottom:1rem;
    display: flex;
    align-items: start;
    flex-direction: column;
}
.program-time {
    color: #d44e97;
    font-weight: 600;
}
.program-text {
    font-size: 1.5rem;
    font-weight: 800;
}
.cards {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: center;
}
.card {
    background-color: #F4F4F4;
    padding: 10px;
    min-width: 200px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
    line-height: 1;
    border-radius: 0.2rem;
    box-shadow: 0px 0px 10px 0px #0000001a, 0px 0px 20px 0px #00000008, 0px 0px 30px 0px #0000;
}
.card img {
    height: 10rem;
    border-radius: 50%;
    background-color: #fff;
}
.speaker-name {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
#home {
    color: var(--secondary-color);
    background: radial-gradient(circle at 80% -10%, #0000006c, #000000), url('../img/bg/bg01.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    height: calc(100vh - 4.5rem);
    line-height: 1;
}
.reg-item.reg-form form {
    display: flex;
    flex-direction: column;
}

.form-header {
    padding: 0.8rem;
    line-height: 1;
    margin: 0.5rem 0;
}
.form-body {
    margin-top: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.form-group a {
    color: #6340ff;
}
.form-group a:hover {
    color: #333;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    min-height: 2rem;
    background: linear-gradient(to bottom,#f7f7f7 0,#fff 14%,#fefefe 100%) !important;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    vertical-align: middle;
    font-size: 18px !important;
    font-family: "Helvetica Neue","Segoue UI",Arial,sans-serif;
    color: #4d4d4d !important;
    line-height: 1 !important;
    border:
    1px solid #e3e3e3 !important;
    padding:
    0 15px 0 15px !important;
    height: 39px !important;
}
.reg-item.reg-form form label {
    font-weight: 800;
}
.error {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000b2;
    display: flex;
    align-items: center;
    border-radius: 6px;
    backdrop-filter: blur(2px);
}
.error-text {
background-color: #fff;
margin: 20px;
border-radius: 6px;
padding: 20px;
display: flex;
flex-direction: column;
align-items: end;
}

.reg-item.reg-form {
position: relative;
}
.reg-item.reg-form form label::after {
    content: "*";
    color: red;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.7rem;
    vertical-align: top;
}
.form-footer label::after {
    content: "";
}
.reg-item.reg-form form .form-footer label {
    font-weight: 400;
    font-size: 0.9rem;
}
.bg-timepad {
    background-color: rgb(99, 64, 255);
    color: #fff;
    padding: 0.5rem 1rem;
}
.bg-timepad:hover {
    cursor: pointer;
    background-color: rgba(99,64,255,.85) !important;
}
.hidden {
    display: none;
}
#watch-live {
    /* position: absolute;
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%); */
    padding: 0.5rem;
}
#watch-live:disabled {
    cursor: default;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}
.live-items {
  display: grid;
  grid-template-columns: 1fr auto;
}

.live-items iframe {
    border: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 0.2rem;
    overflow: hidden;
    width: 100%;
}
#live-player iframe {
    aspect-ratio: 16/9;
    height: 100%;
}
#live-chat iframe {
    height: 100%;
}
p.live-title {
    font-size: 2rem;
    font-weight: 600;
}
p.live-desc {
    font-size: 1.5rem;
}


#map {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    /* box-shadow: -2px 3px 10px 1px #00000008;
    border: 1px solid hsl(0, 0%, 80%); */
}
#map iframe {
    width: 100%;
    min-height: 300px;
    max-height: 100%;
    margin-top: 0.5rem;
    box-shadow: -2px 3px 10px 1px #00000008;
    border: 1px solid hsl(0, 0%, 80%);
}

#map img {
    max-width: 100%;
}
/* .dop-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
} */
#archive a {
    background-color: var(--gray-color);
    color: var(--dark-color);
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 0.3rem;
    padding: 1rem;
}

#archive a:hover {
    background-color: var(--hover-gray-color);
}

#burger {
    display: none;
    flex-direction: column;
    justify-content: space-evenly;
    width: 2rem;
    height: 2rem;
    transition: transform ease 0.2s;
}
#burger span {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
}
#m-menu {
    display: none;
    position: fixed;
    width: 100%;
    background-color: var(--primary-color);
    transform: translateY(-100%);
    transition: transform ease 0.2s;
    z-index: 99;
}
#m-menu.active {
    transform: translateY(0%);
}
#burger.active {
    transform: rotateZ(-180deg);
}
#burger.active>span:nth-child(1) {
    transform: rotateZ(45deg) translateY(150%) translateX(10%);
}
#burger.active>span:nth-child(2) {
    transform: rotateZ(-45deg) translateY(-150%) translateX(10%);
}
#burger.active>span:nth-child(3) {
    display: none;
}

.modal {
    z-index: 101;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: hsla(0, 0%, 0%, 0.9);
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.modal>form {
    display: flex;
    flex-direction: column;
    background-color: var(--gray-color);
    border: none;
    border-radius: 1rem;
    align-items: center;
    gap: 1rem;
    padding: 2rem 5rem;
}
.form-field>input {
    width: 100%;
    font-size: 1.2rem;
}
.form-field>label {
    font-weight: 600;
    font-size: 1.2rem;
}
.form-field>button[type='success'] {
    border: none;
    border-radius: 0.2rem;
    padding: 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}
.form-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}
body.modal-active {
    overflow: hidden;
}
#authFormCls {
    border: none;
    border-radius: 0.2rem;
    padding: 1rem;
    font-size: 1.2rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

#photo>.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.2rem;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-thumbnail:hover {
  cursor: pointer;
  transform: scale(1.03);
}
#future .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: space-between;
}
.future-item {
  position: relative;
  padding: 10%;
  background-color: var(--gray-color);
  border-radius: 12px;
  box-shadow: 0px 0px 10px 0px #0000001a, 0px 0px 20px 0px #00000008, 0px 0px 30px 0px #0000;
  overflow: clip;
}
.future-item h2 {
  position: absolute;
  top: -70%;
  right: -10%;
  opacity: 0.1;
  font-size: 26rem;;
}

/* media */
@media only screen and (max-width: 1440px) {
    #about p.bg-gray {
        text-align: center;
    }
    /* .cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    } */
}
@media only screen and (max-width: 1280px) {
    button {
        padding: 0.5rem;
        font-size: 1rem;
    }
    h1 {
        font-size: 3rem;
    }
    /* .container {
        padding: 0 1rem;
    } */
    .menu {
        display: none;
    }
    #m-menu {
        display: flex;
    }
    #burger {
        display: flex;
        flex-direction: column;
    }
    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media only screen and (max-width: 800px) {
    #photo > .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #photo > .grid > .gallery-thumbnail:nth-child(4n + 1) {
        display: none;
    }
    .logo img {
        max-height: 2rem;
    }
    .logo {
        font-size: 0.6rem;
    }

    footer .logo {
        font-size: 0.8rem;
    }
    .place {
        flex-direction: column;
        align-items: flex-start;
        max-width: fit-content;
    }
    .theme {
        font-size: 1.1rem !important;
    }
    .divider {
        width: 100%;
        height: 1px;
    }
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .reg-items {
        flex-direction: column;
    }
    .reg-item {
        width: 100%;
        max-width: 100%;
    }
    .footer-logos {
        flex-direction: column;
    }
    #home {
        height: calc(100vh - 3rem);;
    }
    .live-items {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    #live-chat {
        min-height: 400px;
    }
    p.live-title {
    font-size: 1.6rem;
    }
    p.live-desc {
        font-size: 1.2rem;
    }
    #future .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
@media only screen and (max-width: 640px) {
    #photo > .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #photo > .grid > .gallery-thumbnail:nth-child(4n + 1) {
        display: none;
    }
    h1, .title {
        font-size: 2rem;
    }
    .logo.anchor > p {
        display: none;
    }
    .cards {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .card {
        line-height: 1;
    }
    #map iframe{
        aspect-ratio: 2/1;
    }
    
    /* #home > .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        justify-content: space-around;
    } */
}
@media only screen and (max-width: 480px) {
    #map iframe{
        aspect-ratio: 1/1;
    }
    /* .container {
        padding: 0;
    } */
}
/*  */
