/* ===== SIMPLE MODERN RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== FONTS ===== */

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-Regular.woff2') format('woff2'),
      url('../font/PxGroteskPan-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-ThinItalic.woff2') format('woff2'),
      url('../font/PxGroteskPan-ThinItalic.woff') format('woff');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-LightItalic.woff2') format('woff2'),
      url('../font/PxGroteskPan-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-RegularItalic.woff2') format('woff2'),
      url('../font/PxGroteskPan-RegularItalic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-Light.woff2') format('woff2'),
      url('../font/PxGroteskPan-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-Thin.woff2') format('woff2'),
      url('../font/PxGroteskPan-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-BlackItalic.woff2') format('woff2'),
      url('../font/PxGroteskPan-BlackItalic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-BoldItalic.woff2') format('woff2'),
      url('../font/PxGroteskPan-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-Bold.woff2') format('woff2'),
      url('../font/PxGroteskPan-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Px Grotesk Pan';
  src: url('../font/PxGroteskPan-Black.woff2') format('woff2'),
      url('../font/PxGroteskPan-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ===== CUSTOM CSS ===== */

body {
  font-family: 'Px Grotesk Pan';
  color: white;
  /*background-attachment: fixed;
  background-image: url(../image/lasal-background.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;*/
}

.bg-fixed {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('https://lasalfest.com/image/lasal-background.jpg');
  background-size: cover;
  background-position: center top;
  z-index: -1;
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background-image: linear-gradient(#E8C468, #EB584D);
  box-shadow: 0px -7px 10px 20px rgba(235,88,77,1);
  -webkit-box-shadow: 0px -7px 10px 20px rgba(235,88,77,1);
  -moz-box-shadow: 0px -7px 10px 20px rgba(235,88,77,1);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  /*opacity: 0.75;*/
}

.site-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

#site-header-container {
  margin-top: 0.625rem;
  width: 94%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header-logo img {
  height: 1.75rem;
  width: auto;
}

#header-social {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

#header-social img {
  margin-top: 1.125rem;
  width: 1.875rem;
  height: auto;
}

#header-baseline img {
  height: 1.75rem;
  width: auto;
}

#site-main {
  margin-top: 7.25rem;
  z-index: 1;
  /*opacity: 0.75;*/
}

#site-main-container {
  width: 88%;
}

#site-language {
  display: flex;
}

#site-language-container {
  width: 100%;
  margin-bottom: 2.75rem;
}

#language-current {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #EB584D;
  background-color: #fff;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
}

#language-arrow {
  font-size: 1rem;
  transform: scaleY(0.625);
}

#language-selector {
  position: relative;
}

#language-options {
  position: absolute;
  top: 0.375rem;
  width: 100%;
  color: #EB584D;
  background-color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  list-style: none;
  display: none;
}

.site-block {
  margin-bottom: 0.625rem;
}

.block-header {
  background-color: #fff;
  color: #EB584D;
  height: 2.125rem;
  padding: 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition-property: color background-color;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.site-block.on .block-header {
  color: #fff;
  background-color: #EB584D;
}

.block-title {
  font-size: 1.125rem;
  font-weight: normal;
}

.block-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.site-block.on .block-content {
  display: block;
}

.block-arrow {
  font-size: 1rem;
  transform: scaleY(0.625);
}

.site-slot {
  margin-top: 0.625rem;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 0.375rem;
  color: #222220;
}

.site-slot:nth-child(even) {
  color: #EB584D;
}

.site-slot .slot-first-column div {
  padding: 0.25rem;
  background-color: #fff;
}

.site-slot .slot-second-column {
  background-color: #fff;
}
.site-slot .slot-second-column div {
  padding: 0.25rem;
}

.site-slot .slot-time {
  font-size: 0.75rem;
}

.site-slot .slot-place {
  font-size: 0.75rem;
}

.site-slot .slot-title h3 {
  font-size: 0.875rem;
  font-weight: bold;
}

.site-slot .slot-title h4 {
  font-size: 1rem;
  font-weight: normal;
  font-style: italic;
}

.site-slot .slot-speaker {
  font-size: 0.9375rem;
}

.site-slot .slot-description {
  font-size: 0.75rem;
}

.site-text {
  margin-top: 0.625rem;
  padding: 1.5rem 0.25rem;
  background-color: #fff;
  color: #EB584D;
  font-size: 0.875rem;
}

.site-text .text-title {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: normal;
  margin-bottom: 1.5rem;
}

.site-text .text-big {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.site-text p {
  margin-top: 0.5rem;
}

#site-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 5rem;
}

#site-social img {
  width: 1.5rem;
  height: auto;
}

#site-footer {
  margin-top: 5rem;
  margin-bottom: 1rem;
}

#site-footer-container {
  width: 96%;
}

#footer-logos {
  /*display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 0rem;
  justify-content: center;*/
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  justify-items: stretch;
  align-items: center;
}

.footer-logos-title h3 {
  font-size: 0.875rem;
  font-weight: normal;
}

.footer-logos-images {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-logos-images img {
  height: 1.875rem;
  width: auto;
}

#vertical-ruler {
  position: fixed;
  top: 0;
  left: 50%;
  height: 100%;
  width: 0.0625rem;
  background-color: #00ff00;
  z-index: 999;
}

@media only screen and (min-width: 1024px) {
  #site-header {
    height: 7.5rem;
    box-shadow: 0px -15px 20px 40px rgba(235,88,77,1);
    -webkit-box-shadow: 0px -15px 20px 40px rgba(235,88,77,1);
    -moz-box-shadow: 0px -15px 20px 40px rgba(235,88,77,1);
  }

  #site-header-container {
    margin-top: 1.25rem;
  }

  #header-logo {
    width: 33.333%;
  }

  #header-baseline {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 33.333%;
  }

  #header-logo img {
    height: 3.5rem;
  }

  #header-baseline img {
    height: 3.5rem;
  }

  #header-social {
    display: flex;
    width: 33.333%;
  }

  #site-main {
    margin-top: 12rem;
  }

  #site-language {
    justify-content: flex-end;
  }
  
  #site-language-container {
    width: 8.5rem;
    margin-bottom: 4rem;
  }
  
  #language-current {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
  
  #language-options {
    position: absolute;
    top: 0.5rem;
    padding: 0.5rem;
    font-size: 0.875rem;
  }
  
  .site-block {
    margin-bottom: 1rem;
  }

  .block-header {
    height: 3.75rem;
    padding: 0 1.5rem;
  }

  .block-title {
    font-size: 1.875rem;
  }  

  .site-slot {
    margin-top: 1rem;
    gap: 1rem;
  }
  
  .site-slot .slot-first-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;  
  }

  .site-slot .slot-second-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;  
  }

  .site-slot .slot-first-column div {
    padding: 0.5rem;
  }

  .site-slot .slot-second-column div {
    padding: 0.5rem;
  }

  .site-slot .slot-time {
    font-size: 0.875rem;
  }
  
  .site-slot .slot-place {
    max-height: 3.25rem;
    font-size: 0.875rem;
  }

  .site-slot .slot-title h3 {
    font-size: 0.9375rem;
  }
  
  .site-slot .slot-title h4 {
    font-size: 1.125rem;
  }
  
  .site-slot .slot-speaker {
    font-size: 1.0625rem;
  }
  
  .site-slot .slot-description {
    font-size: 0.875rem;
  }
  
  .site-text {
    margin-top: 1rem;
    padding: 3rem 0.5rem;
    font-size: 1rem;
  }

  .site-text .text-title {
    font-size: 3rem;
    line-height: 1;
    font-weight: normal;
    margin-bottom: 3rem;
  }
  
  .site-text .text-big {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .site-text p {
    margin-top: 1rem;
  }

  #site-social {
    display: none;
  } 
  
  #site-footer-container {
    width: 88%;
  }
  
  #footer-logos {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 0rem;
    justify-content: center;
  }
  
  .footer-logos-title {
    font-size: 0.875rem;
  }
  
  .footer-logos-images {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
}

@media only screen and (min-width: 380px) {
  .footer-logos-images img {
    height: 2rem;
  }
}

@media only screen and (min-width: 405px) {
  .footer-logos-images img {
    height: 2.125rem;
  }
}

@media only screen and (min-width: 430px) {
  .footer-logos-images img {
    height: 2.25rem;
  }
}

@media only screen and (min-width: 550px) {
  .footer-logos-images img {
    height: 2.5rem;
  }
}

@media only screen and (min-width: 630px) {
  .footer-logos-images img {
    height: 3rem;
  }
}

@media only screen and (min-width: 1024px) {
  .footer-logos-images img {
    height: 2.5rem;
  }
}

@media only screen and (min-width: 1124px) {
  .footer-logos-images img {
    height: 2.75rem;
  }
}

@media only screen and (min-width: 1224px) {
  .footer-logos-images img {
    height: 3rem;
  }
}