.leftToRight-enter-active,
.leftToRight-leave-active {
  transition: all .65s ease-out
}

.leftToRight-enter {
  transform: translateX(-100vw)
}

.leftToRight-enter-to {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0
}

.leftToRight-enter-to,
.leftToRight-leave {
  transform: translateX(0)
}

.leftToRight-leave-to {
  transform: translateX(100vw)
}

.leftToRight-enter-active main,
.leftToRight-leave-active main {
  transition: all .45s ease-out .2s
}

.leftToRight-enter main,
.leftToRight-leave-to main {
  opacity: 0
}

.leftToRight-enter-to main,
.leftToRight-leave main {
  opacity: 1
}

.rightToLeft-enter-active,
.rightToLeft-leave-active {
  transition: all .65s ease-out
}

.rightToLeft-enter {
  transform: translateX(100vw)
}

.rightToLeft-enter-to {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0
}

.rightToLeft-enter-to,
.rightToLeft-leave {
  transform: translateX(0)
}

.rightToLeft-leave-to {
  transform: translateX(-100vw)
}

.rightToLeft-enter-active main,
.rightToLeft-leave-active main {
  transition: all .45s ease-out .2s
}

.rightToLeft-enter main,
.rightToLeft-leave-to main {
  opacity: 0
}

.rightToLeft-enter-to main,
.rightToLeft-leave main {
  opacity: 1
}

.bottomToTop-enter-active,
.bottomToTop-leave-active {
  transition: all .65s ease-out
}

.bottomToTop-enter {
  transform: translateY(100vh)
}

.bottomToTop-enter-to {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0
}

.bottomToTop-enter-to,
.bottomToTop-leave {
  transform: translateY(0)
}

.bottomToTop-leave-to {
  transform: translateY(-100vh)
}

.bottomToTop-enter-active main,
.bottomToTop-leave-active main {
  transition: all .45s ease-out .2s
}

.bottomToTop-enter main,
.bottomToTop-leave-to main {
  opacity: 0
}

.bottomToTop-enter-to main,
.bottomToTop-leave main {
  opacity: 1
}

.topToBottom-enter-active,
.topToBottom-leave-active {
  transition: all .65s ease-out
}

.topToBottom-enter {
  transform: translateY(-100vh)
}

.topToBottom-enter-to {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0
}

.topToBottom-enter-to,
.topToBottom-leave {
  transform: translateY(0)
}

.topToBottom-leave-to {
  transform: translateY(100vh)
}

.topToBottom-enter-active main,
.topToBottom-leave-active main {
  transition: all .45s ease-out .2s
}

.topToBottom-enter main,
.topToBottom-leave-to main {
  opacity: 0
}

.topToBottom-enter-to main,
.topToBottom-leave main {
  opacity: 1
}

.topRightCorner-enter-active {
  transition: all .65s ease-out;
  position: absolute;
  top: 0;
  z-index: 1000
}

.topRightCorner-enter {
  clip-path: circle(0 at 100vw 0)
}

.topRightCorner-enter-to {
  clip-path: circle(150vmax at 100vw 0)
}

.topRightCorner-enter-active main,
.topRightCorner-leave-active main {
  transition: all .45s ease-out .2s
}

.topRightCorner-enter main,
.topRightCorner-leave-to main {
  opacity: 0
}

.topRightCorner-enter-to main,
.topRightCorner-leave main {
  opacity: 1
}

.topRightCornerOUT-leave-active {
  transition: all .65s ease-in;
  position: absolute;
  top: 0;
  z-index: 1000
}

.topRightCornerOUT-leave {
  clip-path: circle(150vmax at 100vw 0)
}

.topRightCornerOUT-leave-to {
  clip-path: circle(0 at 100vw 0)
}

.topRightCornerOUT-enter-active main,
.topRightCornerOUT-leave-active main {
  transition: all .45s ease-out .2s
}

.topRightCornerOUT-enter main,
.topRightCornerOUT-leave-to main {
  opacity: 0
}

.topRightCornerOUT-enter-to main,
.topRightCornerOUT-leave main {
  opacity: 1
}

.bottomRightCorner-enter-active {
  transition: all .65s ease-out;
  position: absolute;
  width: 100vw;
  top: 0;
  z-index: 1000
}

.bottomRightCorner-enter {
  clip-path: circle(0 at 100vw 100vh)
}

.bottomRightCorner-enter-to {
  clip-path: circle(150vmax at 100vw 100vh)
}

.bottomRightCorner-enter-active main,
.bottomRightCorner-leave-active main {
  transition: all .45s ease-out .2s
}

.bottomRightCorner-enter main,
.bottomRightCorner-leave-to main {
  opacity: 0
}

.bottomRightCorner-enter-to main,
.bottomRightCorner-leave main {
  opacity: 1
}

.bottomRightCornerOUT-leave-active {
  transition: all .65s ease-in;
  position: absolute;
  width: 100vw;
  top: 0;
  z-index: 1000
}

.bottomRightCornerOUT-leave {
  clip-path: circle(150vmax at 100vw 100vh)
}

.bottomRightCornerOUT-leave-to {
  clip-path: circle(0 at 100vw 100vh)
}

.bottomRightCornerOUT-enter-active main,
.bottomRightCornerOUT-leave-active main {
  transition: all .45s ease-out .2s
}

.bottomRightCornerOUT-enter main,
.bottomRightCornerOUT-leave-to main {
  opacity: 0
}

.bottomRightCornerOUT-enter-to main,
.bottomRightCornerOUT-leave main {
  opacity: 1
}

.bottomLeftCorner-enter-active {
  transition: all .65s ease-out;
  position: absolute;
  width: 100vw;
  top: 0;
  z-index: 1000
}

.bottomLeftCorner-enter {
  clip-path: circle(0 at 0 100vh)
}

.bottomLeftCorner-enter-to {
  clip-path: circle(150vmax at 0 100vh)
}

.bottomLeftCorner-enter-active main,
.bottomLeftCorner-leave-active main {
  transition: all .45s ease-out .2s
}

.bottomLeftCorner-enter main,
.bottomLeftCorner-leave-to main {
  opacity: 0
}

.bottomLeftCorner-enter-to main,
.bottomLeftCorner-leave main {
  opacity: 1
}

.bottomLeftCornerOUT-leave-active {
  transition: all .65s ease-in;
  position: absolute;
  width: 100vw;
  top: 0;
  z-index: 1000
}

.bottomLeftCornerOUT-leave {
  clip-path: circle(150vmax at 0 100vh)
}

.bottomLeftCornerOUT-leave-to {
  clip-path: circle(0 at 0 100vh)
}

.bottomLeftCornerOUT-enter-active main,
.bottomLeftCornerOUT-leave-active main {
  transition: all .45s ease-out .2s
}

.bottomLeftCornerOUT-enter main,
.bottomLeftCornerOUT-leave-to main {
  opacity: 0
}

.bottomLeftCornerOUT-enter-to main,
.bottomLeftCornerOUT-leave main {
  opacity: 1
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity .4s ease-out
}

.fade-enter-to,
.fade-leave {
  opacity: 1
}

.fade-enter,
.fade-leave-to,
.intro-once {
  opacity: 0
}

.intro-once-active {
  transition: all 1s linear 2.5s
}

.intro-once-to {
  opacity: 1
}

@font-face {
  font-family: Monument;
  font-display: auto;
  src: local("Monument Extended"), url(../fonts/monumentextended-regular.woff2) format("woff2")
}

@font-face {
  font-family: Object Sans;
  font-display: auto;
  src: local("Object Sans"), url(../fonts/objectsans-regular.woff2) format("woff2")
}

* {
  margin: 0;
  padding: 0;
  font-family: Object Sans, sans-serif;
  color: #000;
  font-size: 13px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #48c8ed rgba(255, 255, 255, .0)
}

body {
  opacity: 1;
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
}

#bg {
  background-image: url(../svg/bg-logo.svg);
  background-repeat: no-repeat;
  background-size: 66%;
  background-position: 50%;
  z-index: -99
}

.bg-line {
  position: fixed;
  mix-blend-mode: multiply;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

#bg,
#blue-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh
}

#blue-bg {
  background: #48c8ed;
  background-image: url(../svg/bg-logo-white.svg);
  background-repeat: no-repeat;
  background-size: 66%;
  background-position: 50%;
  z-index: -98
}

::-webkit-scrollbar {
  width: 8px
}

::-webkit-scrollbar-thumb {
  background-color: #48c8ed;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff
}

a {
  text-decoration: none;
  outline: 0
}

main a:hover {
  text-decoration: underline;
}

nav li a:hover span {
  -webkit-animation: fade .5s;
  animation: fade .5s;
  opacity: 1;
  display: inline-flex
}

#blue-bg {
  animation: fade .5s
}

@-webkit-keyframes fade {
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes nav {
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

nav {
  width: 100%;
  animation-name: nav;
  animation-duration: .4s
}

.nav-links,
ul {
  list-style: none
}

.nav-links {
  top: 0;
  left: 0
}

.nav-links span {
  display: none
}

.nav-links a {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%
}

.nav-links a span {
  font-family: Monument, sans-serif;
  font-weight: 400;
  color: #48c8ed;
  text-align: right
}

.nav-links img {
  height: 40px;
  margin: 20px
}

.nav-links li:first-child span,
.nav-links li:nth-child(2) span,
.nav-links li:nth-child(3) span,
.nav-links li:nth-child(4) span {
  font-size: 1.5rem
}

.nav-links li:nth-child(5) span,
.nav-links li:nth-child(6) span,
.nav-links li:nth-child(7) span,
.nav-links li:nth-child(8) span {
  font-size: 1rem;
  width: max-content;
  max-width: 50vw
}

.nav-links li {
  position: fixed;
  z-index: 99
}

.nav-links li:first-child {
  top: 50vh;
  left: 0;
  transform: translateY(-50%);
  text-transform: uppercase
}

.nav-links li:nth-child(2) {
  top: 100vh;
  left: 50vw;
  transform: translate(-50%, -100%);
  text-transform: uppercase
}

.nav-links li:nth-child(3) {
  top: 50vh;
  left: 100vw;
  transform: translate(-100%, -50%);
  text-transform: uppercase
}

.nav-links li:nth-child(4) {
  top: 0;
  left: 50vw;
  transform: translate(-50%);
  text-transform: uppercase
}

.nav-links li:nth-child(5) {
  top: 0;
  left: 0
}

.nav-links li:nth-child(6) {
  top: 100vh;
  left: 0;
  transform: translateY(-100%)
}

.nav-links li:nth-child(7) {
  top: 100vh;
  left: 100vw;
  transform: translate(-100%, -100%)
}

.nav-links li:nth-child(8) {
  top: 0;
  left: 100vw;
  transform: translate(-100%)
}

main {
  display: grid;
  margin: 0 auto;
  place-content: center;
  min-height: 100vh;
  width: 100vw
}

main img {
  margin: 0 10px;
  max-width: 100%;
  height: auto;
}

main iframe {
  margin: 0 10px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.two-columns {
  max-width: 1200px;
  column-count: 2;
  grid-template-columns: 1fr 1fr
}

h1 {
  position: relative;
  bottom: 0;
  left: 0;
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
  font-size: 1.5rem;
  transform-origin: 100% 0;
  transform: translate(calc(-100% - 2.5rem), 100%) rotate(270deg)
}

h1,
h2 {
  font-family: Monument, sans-serif;
  font-weight: 400;
  color: #48c8ed
}

h2 {
  font-size: 1.1rem
}

h2,
p {
  margin-bottom: 1rem
}

p {
  line-height: 1.4
}

.index {
  max-width: 400px;
  margin: 60px
}

.three-rows {
  grid-template-rows: repeat(3, minmax(240px, 1fr))
}

.three-rows,
.two-rows {
  min-height: 100vh;
  width: 100vw;
  display: grid
}

.two-rows {
  grid-template-rows: repeat(2, minmax(320px, 1fr))
}

.three-rows>div:nth-child(odd),
.two-rows>div:nth-child(odd) {
  background-color: rgba(72, 200, 237, .3)
}

.event-category,
.video-category {
  display: grid;
  grid-template-columns: 75px repeat(3, minmax(320px, max-content));
  overflow-x: scroll;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none
}

.event-category::-webkit-scrollbar,
.video-category::-webkit-scrollbar {
  display: none
}

.events-title {
  width: 100%;
  height: 100%;
  position: relative;
  display: inline-block
}

.events-title h2 {
  text-transform: uppercase;
  font-size: 1.5rem;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) rotate(270deg)
}

.single-event {
  position: relative;
  display: flex;
  align-content: stretch;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  width: 100%
}

.single-event img {
  min-width: 0
}

.single-event h2 {
  font-size: 1.25rem;
  text-transform: uppercase
}

.single-event h2:nth-child(2) {
  position: absolute;
  top: -24px;
  left: -30px
}

.single-event h2:nth-child(3) {
  position: absolute;
  bottom: -24px;
  left: -30px
}

.single-event h2:nth-child(4) {
  position: absolute;
  bottom: -24px;
  right: -30px
}

.three-rows>div,
.two-rows>div {
  height: 100%;
  width: 100vw
}

.three-rows>div a,
.two-rows>div a {
  padding: 60px
}

.title-link {
  padding: 0 !important
}

.three-rows>div:nth-child(odd) a,
.two-rows>div:nth-child(odd) a {
  border-left: 1px solid #fff
}

.three-rows>div:nth-child(2n) a,
.two-rows>div:nth-child(2n) a {
  border-left: 1px solid rgba(72, 200, 237, .3)
}

.event-category a img,
.video-category a img {
  mix-blend-mode: multiply;
  align-self: center;
  max-height: 220px;
  max-width: 440px;
  opacity: 0;
  filter: brightness(80%)
}

.event-category a:hover img,
.video-category a:hover img {
  filter: brightness(140%);
  opacity: .6;
  transition: .5s
}

.books {
  margin: 60px
}

#books-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(../svg/bg-building.svg);
  background-repeat: no-repeat;
  background-size: 86%;
  background-position: 50%;
  z-index: -5;
  -webkit-animation: fade .5s;
  animation: fade .5s;
  opacity: 1
}

.books-grid {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-gap: 20px
}

.books-grid div a img {
  object-fit: contain;
  width: 100%;
  filter: brightness(100%);
  margin: 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .1), 0 6px 20px 0 rgba(0, 0, 0, .08)
}

.books-grid div {
  position: relative
}

.books-grid div span {
  display: inline-block;
  top: 5px;
  font-size: 2rem
}

.books-grid div p,
.books-grid div span {
  position: absolute;
  left: 5px;
  font-family: Monument;
  color: #fff
}

.books-grid div p {
  display: none;
  bottom: -5px;
  font-size: 1rem
}

.books-grid div a:hover p {
  display: inline-block;
  -webkit-animation: fade .5s;
  animation: fade .5s;
  opacity: 1
}

.books-grid div a:hover img {
  -webkit-filter: brightness(70%);
  filter: brightness(70%);
  transition: .5s
}

.chapter {
  max-width: 1000px;
  margin: 60px
}

.videos {
  max-width: 400px;
  margin: 60px
}

.search-container {
  position: relative;
  margin: 0;
  width: 750px;
  max-width: 90vw;
  left: 50vw;
  transform: translateX(-50%);
}

.search {
  position: absolute;
  width: 100%;
  top: 50vh;
  transform: translateY(-50%);
}

.search input {
  width: 90%;
  font-family: Monument, sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 2rem;
  border: 0;
  outline: 0;
  padding: 8px;
  background-color: transparent;
  border-top: 2px solid transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 2px solid hsla(0, 0%, 100%, .5);
  color: #fff
}

.search input::placeholder {
  color: #fff;
  opacity: 0.5;
}

.search-button {
  position: absolute;
  height: 100%;
  width: 6%;
  right: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  opacity: .5
}

.search-button:hover {
  opacity: 1
}

.search-result {
  position: absolute;
  width: 100%;
  top: 50vh;
  margin-top: 150px;
}

.search-result * {
  color: #fff;
  font-size: 1.2rem;
}

.search-result a:hover {
  text-decoration: underline;
}

.search-result h2 {
  text-transform: uppercase;
}

hr {
  margin: 80px 0 40px 0;
  border-top: 1px solid;
  opacity: 0.5;
}

.contact {
  max-width: 400px;
  margin: 60px
}

.contact * {
  color: #fff
}

.about-us {
  max-width: 600px;
  margin: 60px
}

.about-us * {
  color: #fff
}

.close {
  background: #48c8ed;
  width: 100vw;
  height: 100vh;
  background-image: url(../svg/bg-logo-white.svg);
  background-repeat: no-repeat;
  background-size: 66%;
  background-position: 50%;
  background-attachment: fixed
}

.logout {
  width: 40px;
  height: 40px;
  position: fixed;
  top: 20px;
  right: 80px;
  text-align: center;
  background-color: #ed4848;
  color: #fff;
  padding: 8px;
  border: none;
  cursor: pointer;
  z-index: 1000
}

.logout img {
  margin: 0;
}


.logout a {
  color: #fff
}

.logout:hover {
  background-color: #d33838
}

.new {
  width: 40px;
  height: 40px;
  position: fixed;
  top: 20px;
  right: 135px;
  text-align: center;
  background-color: #48c8ed;
  color: #fff;
  padding: 8px;
  border: none;
  cursor: pointer;
  z-index: 1000
}

.new img {
  margin: 0;
}

.new a {
  color: #fff
}

.new:hover {
  background-color: #38b1d3
}

.save {
  width: 40px;
  height: 40px;
  position: fixed;
  top: 20px;
  right: 190px;
  text-align: center;
  background-color: #48c8ed;
  color: #fff;
  padding: 8px;
  border: none;
  cursor: pointer;
  z-index: 1000
}

.save img {
  margin: 0;
}

.save a {
  color: #fff
}

.save:hover {
  background-color: #38b1d3
}

.delete {
  width: 40px;
  height: 40px;
  position: fixed;
  top: 20px;
  right: 135px;
  text-align: center;
  background-color: #ed7948;
  color: #fff;
  padding: 8px;
  border: none;
  cursor: pointer;
  z-index: 1000
}

.delete img {
  margin: 0;
}

.delete a {
  color: #fff
}

.delete:hover {
  background-color: #ce6c41
}

.dropdown-edit {
  border: none;
  width: 185px;
  height: 40px;
  position: fixed;
  top: 20px;
  right: 245px;
  background-color: #48c8ed;
  color: #fff;
  padding: 8px;
  border: none;
  cursor: pointer;
  z-index: 1000
}

.dropdown-category {
  border: none;
  width: 185px;
  height: 40px;
  position: fixed;
  top: 20px;
  left: 220px;
  background-color: #48c8ed;
  color: #fff;
  padding: 8px;
  border: none;
  cursor: pointer;
  z-index: 1000
}

.date {
  border: none;
  width: 185px;
  height: 40px;
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #48c8ed;
  color: #fff;
  padding: 8px;
  border: none;
  cursor: pointer;
  z-index: 1000
}

.number {
  position: fixed;
  padding: 10px;
  background-color: #48c8ed;
  color: #fff;
  top: 20px;
  left: 20px;
  z-index: 1000
}

.number label {
  color: #fff;
}

.number input {
  border: none;
  width: 40px;
  height: 20px;
  margin-left: 10px;
  background-color: #48c8ed;
  color: #fff;
  border: none;
  cursor: pointer;
}

@media only screen and (max-width:800px) {
  .two-columns {
    column-count: 1;
    grid-template-columns: 1fr
  }

  .books-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr))
  }
}

@media only screen and (max-width:600px) {
  * {
    font-size: 11px
  }

  .nav-links img {
    height: 30px;
    margin: 10px
  }

  nav li a:hover span {
    display: none
  }

  .logout {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 50px;
    padding: 5px;
  }
  
  .save {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 130px;
    padding: 5px;
  }
  
  .delete {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 90px;
    padding: 5px;
  }

  .new {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 90px;
    padding: 5px;
  }

  .dropdown-edit {
    width: 100px;
    height: 30px;
    top: 10px;
    right: 170px;
    padding: 5px;
  }

  .dropdown-category {
    width: 100px;
    height: 30px;
    top: 10px;
    left: 120px;
    padding: 5px;
  }

  .date {
    width: 100px;
    height: 30px;
    top: 10px;
    left: 10px;
    padding: 5px;
  }

  .number {
    padding: 5px;
    top: 10px;
    left: 10px;
  }
  
  .number input {
    height: 20px;
  }
}