/* TOMORROWLAND STYLE */
@import url(https://use.typekit.net/bmo3dzj.css);
.cat-title img{
  width: auto;
  height: 1.5em;
  vertical-align: top; /* middle isn't really middle (img is weird i guess) */
}
#tomorrowland .cat-title{
  display: inline;
}
.tomorrowland-container{
  width: 100%;
  height: auto;
  /*display: grid;
  place-items: center;
  grid-template-columns: calc(70% - 10px) calc(30% - 10px);
  gap: 20px;*/
}

@supports (aspect-ratio: 16 / 9) {
  .tomorrowland-container iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}
@supports not (aspect-ratio: 16 / 9) {
  .tomorrowland-container iframe{
    width: 100%;
    height: calc(100% * 9 / 16);
  }
}

.tag-tml{
  background-image: linear-gradient(135deg,#554cc7 0,#aa397e 100%);
  color: #fff;
  border-color: #fff;
}
.tml-title{
  display: block;
	font-weight: 700;
	letter-spacing: 2.5px;
	margin-right: 5px;
	position: relative;
	text-transform: uppercase;
	/*white-space: nowrap;*/
}
#tml-today{
  margin: 0;
}
.section-title h1{
  margin-bottom: 0 !important;
}

.tml-lineup{
  width: 100%;
  height: fit-content;
}

.tml-btn{
  background-color: #d3075e !important;
}

#tomorrowland{
  overflow: hidden;
  margin: 50px 0;
  height: calc(100vw * 1365 / 2048);
  max-height: 90vh;
  position: relative;
  width: 100%;
}

.tml-mainstage-bg:hover{
  transition: all 0.5s;
  transform: scale(1.2);
  opacity: 0.5;
}

.tml-mainstage-bg{
  background-image: url('/img/events/tml-mainstage1.webp');
  background-position: center;
  background-size: cover;
  transition: all 0.5s;
  opacity: 0.8;
  width: 100%;
  height: 100%;
}

.tml-text{
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 0 0 15px #000;
}

.tml-text h1{
  color: #fff;
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  margin: 0;
}

@media screen and (max-width: 992px){
  .tml-title{
    font-size: 1em;
  }
}

/**********************/

.outnav{
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 99999;
}

.outermargin{
  margin: 0 auto;
  max-width: 980px;
  padding: 0 22px;
  padding-left: max(22px,env(safe-area-inset-left));
  padding-right: max(22px,env(safe-area-inset-right));
}

.navbar{
  margin: 0 auto;
  max-width: 980px;
  padding: 0 22px;
  padding-left: max(22px,env(safe-area-inset-left));
  padding-right: max(22px,env(safe-area-inset-right));
  display: flex;
	align-items: center;
	justify-content: space-between;
  height: 44px !important;
}

.nav-logo-container{
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-logo-container a:nth-child(1){
  padding-right: 10px;
}

.nav-logo-container a{
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.navbar-logo{
  height: 70% !important;
}

.navbar-logo img{
  height: 100%;
}

/* google material icon isn't centered
.navbar-links-button span{
  box-shadow: 1px 1px 10px rgba(255, 255, 255, 0.5);
  border: 3px solid #f00;
  padding: 5px;
}

#theme-btn {
  border-radius: 50%;
  box-sizing: border-box;
}
*/
#theme-btn:hover{
  cursor: pointer;
}

.tag-container{
  margin: 20px 0 0;
  height: auto;
  display: flex;
  align-items: center;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.tag-container::-webkit-scrollbar {
  display: none;
}

.tag-container .tag:nth-child(1){
  margin-left: 22px;
}
.tag-container .tag:last-child{
  margin-right: 22px;
}

.tag{
  text-align: center;
  font-size: 0.8rem;
	border-radius: 15px;
  padding: 5px 10px;
	margin-left: 10px;
  font-weight: 500;
  white-space: nowrap;
  border: 3px solid;
}

.tag-olinfo{
	background: #94cbee; /* was #c7e8fd */
	color: #031eb6;
  border-color: #94cbee;
}

.tag-fiera{
	background: #b3f5a7; /* was #c9ffc0 */
	color: #027a0e;
  border-color: #b3f5a7;
}

.cat-container{
  width: 100%;
  height: auto;
  display: grid;
  place-items: center;
  grid-template-columns: calc(33% - 10px) calc(33% - 10px) calc(33% - 10px); /* to leave space for gap */
  grid-template-rows: calc((100vw - 44px - 2 * 20px) / 3 * 9 / 16); /* 100vw - outermargin - 2 * gap */ 
  gap: 20px;
}

/* da 600px a 980px 2 columns */
@media screen and (min-width: 600px) and (max-width: 980px){
  .cat-container{
    grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    grid-template-rows: calc((100vw - 2 * 20px) / 2 * 9 / 16); /* 50vw - outermargin - 2 * gap */ 
  }
}

@media screen and (min-width: 980px) {
  .cat-container{
    grid-template-rows: calc((980px - 20px * 2) / 3 * 9 / 16); /* max-width - 2 * gap */
  }
}

.cat-title{
  margin-bottom: 10px;
}

.video-container{
  height: 100%;
  width: 100%;
}

.video{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  border-radius: 15px;
  margin-bottom: 20px;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  position: relative;
}

.inner{
  background: linear-gradient(to top, #000 0%, transparent 100%);
  width: 100%;
  padding: 15px 20px;
  padding-top: calc(35% - 15px);
  border-radius: 15px;
}

.inner *{
	color: #fff;
}

.video-sub-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.inner .video-title{
  margin: 0;
  margin-bottom: 5px;
  letter-spacing: .04em;
}
.inner .video-sub-container .video-subtitle, .inner .video-sub-container .video-date{
  font-size: 0.7rem;
}

/* text-overflow: ellipsis; doesn't work with percentage width wtf css devs? */
.inner .video-title, .inner .video-sub-container .video-subtitle{
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer{
  text-align: center;
  padding: 20px 0;
}

.footer-contact a:nth-child(1):hover > .fa-twitter{
  color: #1da1f2;
}
.footer-contact a:nth-child(2):hover > .fa-instagram{
  color: #E4405F;
}
.footer-contact a:nth-child(3):hover > .fa-github{
  color: #333;
}
.footer-contact a:nth-child(4):hover > .fa-envelope{
  color: #2dce18;
}

.footer-contact{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 0;
  font-size: 15px;
}

.footer-report{
  color: #999;
  text-decoration: underline;
}

@media screen and (max-width: 600px){
  .cat-container{
    display: initial;
  }

  .video{
    width: 100%;
    height: calc((100vw - 44px) * 9 / 16);
    position: relative;
  }
}

@media screen and (min-width: 1020px) {
  .tag-container{
    margin: 20px auto 0;
    max-width: 980px;
    padding: 0 22px;
    padding-left: max(22px,env(safe-area-inset-left));
    padding-right: max(22px,env(safe-area-inset-right));
  }

  .tag-container .tag:first-child{
    margin-left: 0;
  }
  .tag-container .tag:last-child{
    margin-right: 0;
  }
}