@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300..900&display=swap");

@font-face {
  font-family: 'menlo';
  src: url('menlo.ttc') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.icon-font{
  font-family: "menlo";
  padding-left: 4px;
  color: rgb(43, 43, 43);
  font-size: 0.9em;
}

.icon-cicle-font{
  font-size: 0.8em;
  padding-left: 0;
}

html,
body,
.input {
  height: 100%;
  margin: 0;
  cursor: url("cursor.png") 16 16, auto;
  font-size: 1.05em;
  font-family: "Source Sans 3", sans-serif;
  font-variation-settings: "wght" 300;
  background-color: rgb(250, 250, 250);
  scrollbar-gutter: stable;

}

a,
button,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="checkbox"],
input[type="radio"],
label,
select,
.icon,
.event-header,
.album-container,
.get-album {
  cursor: url("cursor1.png") 16 16, pointer !important;
}

.page_index {
  width: 100%;
}

/*
HEADER
*/

.header {
  position: fixed;
  right: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
}

.icon {
  margin: 8px 0;
}

.icon:nth-child(3) {
  margin-bottom: -8px;
}

.icon svg {
  width: 30px;
  height: auto;
  transition: width 0.3s ease;
  display: block;
}

.icon img {
  width: 30px;
  height: auto;
  transition: width 0.3s ease;
}

.icon.play {
  cursor: pointer;
}

#playPausePath {
  opacity: 1;
  transition: opacity 0.12s linear;
}


.dropdown-menu {
  pointer-events: none;
}

.dropdown-menu.expanded {
  pointer-events: auto;
  margin-top: -7px;
  margin-right: 6px;
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  right: 20px;
  display: flex;
  opacity: 0;
  flex-direction: column;
  text-align: right;
  margin-top: 0;
  margin-bottom: 0;
}

.dropdown-menu li {
  margin: 2px 0;
  font-variation-settings: "wght" 300;
  transition: font-variation-settings 0.3s ease;
}

.dropdown-menu li:hover {
  font-variation-settings: "wght" 450;
}

.dropdown-menu li:nth-last-child() {
  margin-bottom: 0;
}

.dropdown-menu li a {
  text-decoration: none;
  color: black;
  display: block;
  padding: 2px;
}

/*
FOOTER
*/

.footer {
  display: grid;
  grid-template-columns: 1fr minmax(auto, max-content);
  grid-template-rows: repeat(6, auto);
  width: calc(100% - 190px);
  margin: 0 95px;
  padding-top: 12vh;
  padding-bottom: 4vh;
  font-variation-settings: "wght" 300;
  column-gap: max(0px, 100% - (content-width-of-column-2));
}

footer p {
  margin: 2px 0;
  transition: font-size 0.3s ease;
}

.grid1-1 {
  grid-column: 1;
  grid-row: 1;
}

.grid1-1 p {
  font-variation-settings: "wght" 450;
}

.grid1-3 p {
  margin-bottom: 4px;
}

.grid1-4 p {
  margin-bottom: 4px;
}

.grid1-5 p {
  margin-bottom: 4px;
}

.grid1-2 {
  grid-column: 1;
  grid-row: 2;
}

.grid1-3 {
  grid-column: 1;
  grid-row: 3;
}

.grid1-4 {
  grid-column: 1;
  grid-row: 4;
}

.grid1-5 {
  grid-column: 1;
  grid-row: 5;
}

.grid1-6 {
  grid-column: 1;
  grid-row: 6;
}

.footer-images {
  grid-column: 2;
  grid-row: 1 / 4;
  display: flex;
  align-items: baseline;
  flex-direction: row;
  gap: 20px;
  margin-top: 10px;
}

.social-icons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}

.logo {
  width: 120px;
  margin-right: 30px;
  transition: width 0.3s ease;
}

.icon_redes {
  width: 30px;
  transition: width 0.3s ease;
}

.newsletter {
  grid-column: 2;
  grid-row: 5;
}

.newsletter-form {
  grid-column: 2;
  grid-row: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background-color: rgb(230, 230, 230);
}

.input {
  flex-grow: 1;
  border: none;
  background-color: rgb(230, 230, 230);
  height: 24px;
  padding: 0 8px;
  outline: none;
  font-variation-settings: "wght" 300;
  box-sizing: border-box;
}

.sbar {
  height: 30px;
}

.submit-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 0 4px 4px 0;
  margin-right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-btn img {
  width: 24px;
  height: 24px;
  display: block;
  pointer-events: none;
}

/*
INDEX
*/

.index_1 {
  width: 100%;
}

.slideshow-js {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slideshow-js .slide {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  object-fit: contain;
}

.slideshow-js .slide.active {
  opacity: 1;
  z-index: 1;
  position: relative;
}

.index_2 {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.program-ongoing {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  width: 100%;
  gap: 20px;
  align-items: flex-start;
}

.program-ongoing>.program-item {
  position: relative;
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
}

.program-ongoing>.program-item:only-child {
  flex: 0 0 100%;
  max-width: 100%;
}

.program-ongoing>.program-item:first-child:nth-last-child(2),
.program-ongoing>.program-item:first-child:nth-last-child(2)~.program-item {
  flex: 0 0 calc((100% - 20px) / 2);
  max-width: calc((100% - 20px) / 2);
}

.program-ongoing>.program-item:first-child:nth-last-child(3),
.program-ongoing>.program-item:first-child:nth-last-child(3)~.program-item {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
}

.program-ongoing>.program-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.index_3 {
  margin-top: 4vh;
  position: relative;
}

.index_3 .event-header:nth-child(1) {
  border-top: 1px solid black;
}

.agenda_2 .event-header:nth-child(1) {
  border-top: 1px solid black;
}

.event-cicle {
  font-family: Menlo, monospace;
  font-weight: normal;
}

.index_4 {
  margin-top: 4vh;
  margin-bottom: 4vh;
}

.more {
  margin-top: -50px;
  margin-left: 95px;
}

.more img {
  width: 20px;
}

.more:nth-last-of-type(1) {
  margin-top: 30px;
}

.search-result {
  transition: font-variation-settings 0.1s ease;
  font-variation-settings: "wght" 300;
}

.search-result:hover {
  font-variation-settings: "wght" 450;
}

/*
AGENDA + SOBRE
*/

.agenda_1 {
  display: flex;
  justify-content: center;
  margin: 60px 95px;
}

.event_list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 5px;
  padding: 0;
  margin: 0;
  width: 100%;
}

.event_list li {
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
  user-select: none;
  font-variation-settings: "wght" 300;
  transition: font-variation-settings 0.1s ease;
}

.event_list li:hover {
  font-variation-settings: "wght" 450;
  position: relative;
}

.event-toggle {
  display: none;
  margin: 20px auto;
  padding: 10px 20px;
  cursor: pointer;
}

.agenda_2,
.index_3,
.about_1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 80px;
}

.index_3 {
  margin-top: 30px;
}

.event-container,
.about-container {
  width: 100%;
}

.about-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.9em;
  width: 100%;
}

.event-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.9em;
  width: 100%;
  padding-top: 0.9em;
}

.event-left,
.about-left {
  text-align: left;
  padding-left: 15px;
  flex-grow: 1;
  max-width: 70%;
}

.author-name {
  display: hidden;
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(-90deg);
  transform-origin: top right;
  font-size: 0.8em;
  margin-top: 0;
  margin-right: 30px;
}

.event-right,
.about-right {
  text-align: right;
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.event-text1,
.about-text1 {
  padding-left: 15px;
}

.event-details {
  display: none;
  overflow: hidden;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.event-details.expanded {
  display: flex;
  gap: 5%;
  height: auto;
  width: 100%;
  border-top: 1px solid black;
}

.index_3 .event-container:last-child,
.agenda_2 .event-container:last-child {
  border-bottom: 1px solid black;
}

.about-details {
  display: flex;
  gap: 5%;
  height: auto;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.event-image img,
.about-image img {
  width: 100%;
  height: auto;
  position: relative;
}

.event-image,
.about-image {
  width: 100%;
  padding-top: 25px;
}

.event-left-content,
.about-left-content {
  width: 60%;
}

.event-right-content,
.about-right-content {
  width: 34%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 15px;
}

.event-text2,
.about-text2 {
  text-align: left;
  width: 100%;
}

.event-subtext {
  height: 0;
  opacity: 0;
}

.about-left {
  font-variation-settings: "wght" 450;
}

/*
CARIMBO
*/

.carimbo_1 {
  position: relative;
  height: 110px;
}

.get-album {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.05em;
  font-variation-settings: "wght" 300;
  position: absolute;
  top: 37px;
  right: 80px;
  padding: 5px 5px;
  color: black;
  border: none;
  cursor: pointer;
  z-index: 1000;
  background: none;
  transition: font-variation-settings 0.1s ease;
}

.get-album:hover {
  font-variation-settings: "wght" 450;
}

.resgatar-btn:hover {
  background-color: #0056b3;
}

.overlay {
  font-family: "Source Sans 3", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 999;
  display: none;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  z-index: 1000;
  display: none;

}

.modal>.newsletter-form {
  background-color: rgb(230, 230, 230);
  padding-top: 4px;
  padding-bottom: 4px;
}

.modal input {
  width: 250px;
}

.submit-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.carimbo_2,
.index_4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.carimbo_2 .album-container,
.index_4 .album-container {
  position: relative;
  width: 33.33%;
}

.carimbo_2 img,
.index_4 img {
  width: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.carimbo_2 .overlay,
.index_4 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 100;
  pointer-events: auto;
}

.carimbo_2 .album-container:hover .overlay,
.index_4 .album-container:hover .overlay {
  opacity: 1;
}

.carimbo_2 .overlay .album-description,
.index_4 .overlay .album-description {
  padding: 10px;
  user-select: none;
}

/*
GALERIA
*/

.galeria_wrapper {
  width: 100%;
  height: 100vh;
  overflow-x: auto;
  overflow-y: none;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.galeria_wrapper::-webkit-scrollbar {
  height: 6px;
}

.galeria_1 {
  display: flex;
  gap: 0px;
  height: 100vh;
  align-items: center;
}

.galeria_1 img {
  height: 100vh;
  width: auto;
  flex-shrink: 0;
}

/* SCROLL BAR */

::-webkit-scrollbar-thumb {
  background-color: rgb(29, 29, 27);
}

::-webkit-scrollbar {
  width: 1vw;
}

::-webkit-scrollbar-track {
  background-color: rgb(250, 250, 250);
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  /*
INDEX
*/

  .index_4 .album-container:nth-child(3) {
    display: none;
  }

  .index_2 .program-ongoing {
    margin: 0;
  }

  .index_2 .program-ongoing>.program-item:first-child:nth-last-child(2),
  .index_2 .program-ongoing>.program-item:first-child:nth-last-child(2)~.program-item,
  .index_2 .program-ongoing>.program-item:first-child:nth-last-child(3),
  .index_2 .program-ongoing>.program-item:first-child:nth-last-child(3)~.program-item {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .index_2 .program-ongoing>.program-item:first-child:nth-last-child(4),
  .index_2 .program-ongoing>.program-item:first-child:nth-last-child(5),
  .index_2 .program-ongoing>.program-item:first-child:nth-last-child(6) {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .index_2 .program-ongoing>.program-item:only-child {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .index_2 .program-ongoing>.program-item:not(:only-child) {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  /*
  CARIMBO
  */

  .carimbo_2 .album-container,
  .index_4 .album-container {
    position: relative;
    width: 50%;
  }
}

@media (max-width: 924px) {
  /*
  HEADER
  */

  .header {
    margin-right: -22px;
  }

  /*
  FOOTER
*/

  .footer {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: calc(100% - 40px);
    margin: 0 15px;
    padding-top: 6vh;
    padding-bottom: 3vh;
  }

  .footer-images {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .social-icons {
    margin-top: 20px;
    display: flex;
    gap: 24px;
  }

  .grid1-1 {
    margin-top: 10px;
  }

  .grid1-1,
  .grid1-2,
  .grid1-3,
  .grid1-4,
  .grid1-5,
  .grid1-6 {
    order: 2;
  }

  .newsletter {
    order: 3;
  }

  .input {
    order: 4;
    max-width: 100%;
    width: 80%;
    max-width: 700px;
    border: none;
    background-color: #e6e6e6;
    height: 32px;
    padding: 0 10px;
    outline: none;
    font-variation-settings: "wght" 300;
    border-radius: 4px 0 0 4px;
    box-sizing: border-box;
  }

  .logo {
    width: 120px;
  }

  .icon_redes {
    width: 24px;
  }

  .newsletter-form {
    width: 82%;
    display: flex;
    flex-direction: row;
    align-items: center;
    order: 4;
  }

  .modal .newsletter-form {
    width: 100%;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  header .input {
    height: 24px;
    border-radius: 0 0 0 0;
    padding-bottom: 2px;
    padding-top: 2px;
  }


  .newsletter-form .submit-btn img {
    width: 20px;
    height: 20px;
    pointer-events: none;
  }

  .newsletter-form .input {
    order: 1;
    flex-grow: 1;
  }

  .newsletter-form .submit-btn {
    order: 2;
  }

  /*
  INDEX
  */

  .index_3 {
    margin: 20px 0 40px 0;
  }

  .program-ongoing>.program-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .program-ongoing>.program-item:only-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .event-left,
  .event-right {
    padding-left: 7px;
  }

  .more {
    margin-top: -20px;
    margin-left: 15px;
  }

  /* 
  AGENDA + SOBRE
  */

  .agenda_2 {
    margin: 10px 0 5px 0;
  }

  .event_list {
    display: none;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
  }

  .event_list li {
    padding: 10px;
    border-top: 1px solid #ccc;
    text-align: center;
    background: #f8f8f8;
  }

  .author-name {
    position: absolute;
    top: 0;
    right: 0;
    transform: rotate(-90deg);
    transform-origin: top right;
    font-size: 0.7em;
    margin-top: 0;
    margin-right: 23px;
  }

  .event-header {
    display: block;
    text-align: left;
    width: calc(100% - 16px);
    margin: 0 8px;
  }

  .event-details {
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  .event-right-content,
  .event-left-content {
    width: 100%;
  }

  .event-image {
    padding-top: 0px;
    margin-top: 22px;
  }

  .event-right-content {
    order: 2;
  }

  .event-left-content {
    order: 3;
  }

  .event-text1,
  .about-text1 {
    padding-left: 0px;
  }

  .event-text1,
  .event-text2 {
    margin-left: 15px;
  }

  .event-right-content {
    display: contents;
  }

  .event-right {
    display: block;
    text-align: left;
  }

  .event-subtext {
    display: block;
    text-align: left;
  }

  .event-details.expanded {
    gap: -5%;
    border-top: none;
  }

  .event-image {
    margin-top: 0
  }

  .agenda_2 .event-container:last-child {
    border-bottom: none;
  }

  .agenda_2 .event-header:nth-child(1) {
    border-top: 1px solid black;
  }


  .agenda_1 {
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 999;
  }

  .event-toggle {
    display: block;
    font-family: "Source Sans 3", sans-serif;
    font-variation-settings: "wght" 300;
    transition: font-variation-settings 0.1s ease;
    font-size: 1.05em;
    width: 20px;
    height: 20px;
    margin-top: 10px;
    margin-left: 0;
    margin-bottom: 12px;
    padding: 0;
  }

  .event-toggle:hover {
    font-variation-settings: "wght" 450;
  }

  .event-toggle.active {
    font-variation-settings: "wght" 450;
  }

  .event_list li {
    padding: 6px 10px;
    text-align: left;
    font-size: 1rem;
    border: none;
    line-height: 1;
  }

  .event-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 15px 0 8px 0;
  }

  .event-list-wrapper li {
    padding: 0;
    line-height: 1.3;
  }

  .about_1 {
    margin: 0;
    padding-top: 15px;
  }

  .about-details {
    display: flex;
    flex-direction: column;
    margin-top: 22px;
  }

  .about-header {
    order: 1;
  }

  .about-image {
    width: 100%;
    padding-top: 0;
  }

  .about-left-content {
    order: 3;
    width: 100%;
    margin-left: 15px;
  }

  .about-text1 {
    width: 100%;
  }

  .about-text2 {
    width: 100%;
  }

  .about-right-content {
    order: 2;
    display: contents;
    width: 100%;
  }

  /*
  CARIMBO
  */

  .carimbo_1 {
    position: relative;
    height: 80px;
  }

  .get-album {
    top: 25px;
    left: 15px;
    right: auto;
    padding: 0;
  }

  .carimbo_2 .album-container,
  .index_4 .album-container {
    position: relative;
    width: 100%;
  }

  .album-description {}
}

@media (max-width: 400px) {
  .program-item {
    width: 100%;
  }
}