@import url('https://fonts.googleapis.com/css?family=Roboto');

:root {
  --bg: #FFFFFF;
  --fg: #000000;
  --secondaryFg: #000000;
  --containerBg: #e8e8e8;
  --searchBg: var(--containerBg);
  --scrollbarColor: #3f3f3f;
  --border-style: solid;
  --fontFamily: 'Roboto Mono', monospace;
  --link-1: #D65472;
  --link-2: #37C5F0;
  --link-3: gold;
  --text: #18272F;
  --counter: #30B67D;

}
    #overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.85); /* fundo escuro semi-transparente */
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2em;
      z-index: 9999; /* fica acima de tudo */
      cursor: pointer; /* mostra que pode clicar */
    }
  #overlay img {
    max-width: 80vw;   /* no máximo 80% da largura da tela */
    max-height: 80vh;  /* no máximo 80% da altura da tela */
    width: auto;
    height: auto;
    object-fit: contain; /* mantém proporção */
    border-radius: 12px; /* opcional: cantos arredondados */
    box-shadow: 0 0 20px rgba(0,0,0,0.7); /* opcional: sombra */
  }

body {
  background-color: var(--bg);
  margin: 0px;
}
ul{
	color: #000000;
	list-style-type: "» ";
	list-style-position: outside;
	padding-left: 1.1em;
	overflow: hidden;

}
hr{
	border-radius: 0.5rem;
}
img {
  background-color: var(--bg);
  margin: 0px;
}
hr{
	height:0.1em;
}
li:hover {
	color: #ff0000;
}
.container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 0.5rem;
  margin: 0;
  border-width: thin;
  vertical-align: top;
  
}
.flex-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.texto1 {
  font-family: sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: var(--fontFamily);
  color: var(--fg);
  margin-bottom: 0.1em;
}


#clock {
  font-family: sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  font-family: var(--fontFamily);
  color: var(--fg);
  margin-bottom: 0.1em;
}
@keyframes blink {
  0% {
       opacity: 1;
      }
  50% {
        opacity: 0;
        }
  100% {
      opacity: 1;
        }
}
#mensagem {
  font-family: sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  font-family: var(--fontFamily);
  color: var(--fg);
  margin-bottom: 0.1em;
  animation: blink 1s infinite;
}

#search {
  width: 100%;
  height: 100vh;
  background-color: #ffffff;/*var(--searchBg);*/
  display: none;
  margin: auto;
  position: absolute;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#search-field {
  width: 90%;
  padding: 0.75em 1em;
  box-sizing: border-box;
  background-color: var(--searchBg);
  border: solid 0px var(--searchBg);
  font-family: var(--fontFamily);
  font-size: 3rem;
  color: var(--fg);
  outline: none;
  border: solid;
  border-radius: 0.5rem;;
  text-align: center;
}

.inline {
  display: inline-block;
}

#bookmark-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
   width: 1060px;
  /*min-width: 830px;/*50%;*/
  /*max-width: 85%;
  margin: 0.1em 0em;*/
}
#bookmark-container2 {
  display: none;
  flex-direction: row;
  justify-content: space-around;
   width: 1060px;
   /*width: 36%;*/
  /*min-width: 830px;/*50%;*/
  /*max-width: 85%;
  margin: 0.1em 0em;*/
}

@media only screen and (max-width: 1060px) {
  .container {
    height: auto;
  }
  #clock {
    margin-top: 0.01em;
  }
  .container > #bookmark-container {
    flex-direction: column;
  min-width: 160px;
  max-width: 240px;
  height: 1600px;
  justify-content: space-around;
  }
  .container > #bookmark-container2 {
    flex-direction: column;
	/*min-width:60%;*/
    width: 300px;
  }
  #bookmark-container > .bookmark-set {
    width: 400;
    margin: 0.1em 0em;
    overflow: hidden;
  }
  img {
	  width: 100%;
  }
  #slideshow-container {
  display: flex;
  flex-direction: wrap;
  justify-content: center;
  }
}

.bookmark-set {
    vertical-align: top;
	padding: 0.8em;
  background: #e8e8e8;/*#ba331f;/*e76c7b;/*linear-gradient(to bottom, #D4AF37 0%, #C5A028 100%);/*radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);/*#dda905;*/
  border-radius: 3px;
  font-family: var(--fontFamily);
  font-size: 0.85rem;
  min-width: 160px;
  max-width: 220px;
  height: 20em;
  margin: 0em 0.2em;
  /*box-sizing: border-box;*/
  border-radius: 0.5rem;
  border-style: solid;
  border-width: 1px;
  border-color: #ffffff;
  overflow: hidden;
  box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef,
    0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede,
    0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
}

.bookmark-inner-container {
  overflow-y: scroll;
  /*height: 100%;*/
  vertical-align: top;
  padding-right: 0.1rem;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbarColor) #ffffff00;
  border-width: 1px;
  overflow: hidden;
  background: #e8e8e8;
}

.bookmark-inner-container::-webkit-scrollbar {
  width: 6px;
}
.bookmark-inner-container::-webkit-scrollbar-track {
  background: #ffffff00;
}
.bookmark-inner-container::-webkit-scrollbar-thumb {
  background-color: var(--scrollbarColor);
  border-radius: 6px;
  border: 3px solid #ffffff00;
}

.bookmark-title {
  text-align: center;
  background-color: #ffffff;
  font-size: 1.6rem;
  font-weight: 900;
  /*color: var(--fg)*/
  margin: 0em 0em 0.25em 0em;
  font-weight: bold;
  border-radius: 0.75rem;
  box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef,
    0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede,
    0 0.2em 0 0 #dcdcdc, 0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #cecece;
}
.bookmark {
  font-family: 'Roboto', monospace;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--secondaryFg);
  display: block;
  margin: 0.34em 0em;
  overflow: hidden;
}
.bookmark:hover {
  color: #000000; /* #e2001a; var(--fg); */
  background-color: #ffffff;
  
}

/* CSS */
.button-80 {
  background: #fff;
  backface-visibility: hidden;
  border-radius: .35rem;
  border-style: solid;
  border-width: .125rem;
  box-sizing: border-box;
  color: #212121;
  cursor: pointer;
  display: inline-block;
  font-family: Circular,Helvetica,sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 0.3;
  padding: .575rem 0.825rem;
  position: relative;
  text-align: left;
  text-decoration: none;
  transform: translateZ(0) scale(1);
  transition: transform .1s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-80:not(:disabled):hover {
  transform: scale(1.05);
}

.button-80:not(:disabled):hover:active {
  transform: scale(1.05) translateY(.125rem);
}

.button-80:focus {
  outline: 0 solid transparent;
}

.button-80:focus:before {
  content: "";
  left: calc(-1*.375rem);
  pointer-events: none;
  position: absolute;
  top: calc(-1*.375rem);
  transition: border-radius;
  user-select: none;
}

.button-80:focus:not(:focus-visible) {
  outline: 0 solid transparent;
}

.button-80:focus:not(:focus-visible):before {
  border-width: 0;
}

.button-80:not(:disabled):active {
  transform: translateY(.125rem);
}
/** {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}
*/
/* Slideshow container */
.mySlides {display: none;}
.slideshow-container {
  display: flex;
  flex-direction: wrap;
  justify-content: center;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

#style-1 {
  padding: 0 .25rem;
  margin: 0 -.25rem;
    box-shadow: inset 0 0 0 0 var(--link-1);
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
    
  &:hover {
      color: white;
      box-shadow: inset 200px 0 0 0 var(--link-1);
    }
}

#style-2 {
  position: relative;
  transition: color .3s ease-in-out;
  
  &::before {
    content: '';
    position: absolute;
    top: 100%;
    width: 100%;
    height: 3px;
    background-color: var(--link-1);
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
  }
  
  &:hover {
    color: var(--link-1);
  }
  
  &:hover::before {
    transform: scaleX(1);
  } 
}

#style-3 {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: var(--text);
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
  }

  &:hover::before {
    transform-origin: left;
    transform: scaleX(1);
  }
  
}

#style-4 {
  overflow: hidden;
  position: relative;
 
  
  &::before,
  &::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
  }

  &::before {
    background-color: var(--link-1);
    height: 2px;
    bottom: 0;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1); // easeInOutQuart
  }

  &:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
  }

  &::after {
    content: attr(data-replace);
    height: 100%;
    top: 0;
    transform-origin: 100% 50%;
    transform: translate3d(200%, 0, 0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1); // easeInOutQuart
    color: var(--link-1);
  }

  &:hover::after {
    transform: translate3d(0, 0, 0);
  }

  span {
    display: inline-block;
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1); // easeInOutQuart
  }

  &:hover span {
    transform: translate3d(-200%, 0, 0);
  }
}

#style-5 {
  position: relative;
  font-weight: bold;
  
  &::before {
    content: '';
    background-color: var(--link-3);
    position: absolute;
    left: .5rem;
    bottom: 5px;
    width: 100%;
    height: 8px;
    z-index: -1;
    transition: all .3s ease-in-out;
  }
  
  &:hover::before {
    left: -5px;
    bottom: 0;
    height: 100%;
    width: calc(100% + 10px);
  } 
}

#style-6 {
  background-image: linear-gradient(white 50%, var(--link-2) 50%);
  background-size: auto 175%;
  transition: background .3s ease-in-out;

  &:hover {
    background-position-y: 100%;  
  }
}
