@import url(/content.css);
@import url(/mediaq.css);

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: archivo;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
::-webkit-scrollbar {
  width: 4px;
  height: 0;
  background-color: #fff;
}
::-webkit-scrollbar-thumb {
  background-color: #ffc800;
  border-radius: 15px;
}
body {
  margin: 0;

  font-family: Archivo, sans-serif;
  font-size: 12px;
  background-color: #fff;
}
a {
  text-decoration: none;
  padding: 20px 10px;
}
a :hover {
  background-color: #ffc800;
  border-radius: 10px;
  padding: 5px;
}

header {
  margin: 0 auto;
  padding: 10px;
  height: 130px;
  display: flex;
  align-items: end;
  position: relative;
  z-index: 100;
  justify-content: space-around;
  background-color: rgba(255, 255, 255, 0.4);
}
header a {
  color: #fff;
  margin-right: 40px;
  font-size: 1.2rem;
}
header a:hover {
  color: #ffc800;
  margin-right: 40px;
  font-size: 1.5rem;
  border-radius: 10px;
}

.whats {
  position: absolute;
  top: 100px;
  right: 300px;
}
.whatsapp {
  max-width: 40px;
  background-color: #ffc800;
  padding: 2px;
  border-radius: 5px;
  border: #000 2px solid;
  margin-top: -50px;
}
.cabecalho {
  display: flex;
  flex-wrap: wrap;
  max-width: 500px;
  justify-content: left;
}
.cabecalho h2 {
  font-size: 1.3rem;
  margin: 0;
  padding: 0;
  color: #000;
}
.tituloav {
  display: flex;
  flex-direction: column;
  font-size: 2rem;
  line-height: 35px;
  justify-content: center;
  font-weight: 300;
  color: #000;
}
.cabecalho h1 {
  font-size: 1.28rem;
}
.tituloav p {
  margin: 0 20px;
  padding: 0;
}
.logotipo {
  width: 140px;
}
/* carousel */
.carousel {
  height: 100vh;
  margin-top: -150px;
  width: 100vw;
  overflow: hidden;
  position: relative;
}
.carousel .list .item {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
}
.carousel .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel .list .item .content {
  position: absolute;
  top: 30%;
  width: 1140px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
}

.carousel .list .item .title {
  font-size: 5rem;
  font-weight: bold;
  line-height: 1.3em;
  font-family: archivo black, sans-serif;
}
.carousel .list .item .topic {
  font-size: 4rem;
  width: 650px;
  line-height: 60px;
  font-weight: 600;
}
.carousel .list .item .topic {
  color: rgba(255, 200, 0, 1);
}
.carousel .list .item .buttons {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}
.carousel .list .item .buttons button {
  border: none;
  background-color: #eee8;
  letter-spacing: 3px;

  font-weight: 500;
}
.carousel .list .item .buttons button a {
  color: #eee;
}

.carousel .list .item .buttons button:nth-child(2) {
  background-color: transparent;
  border: 1px solid #fff;
  color: #eee;
}
/* thumbail */
.thumbnail {
  position: absolute;
  bottom: 50px;
  left: 50%;
  width: max-content;
  z-index: 100;
  display: flex;
  gap: 30px;
}
.thumbnail .item {
  width: 200px;
  height: 300px;
  flex-shrink: 0;
  position: relative;
}
.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #eee;
  border-radius: 20px;
}
.thumbnail .item .content {
  color: #fff;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}
.thumbnail .item .content .title {
  font-weight: 500;
}
.thumbnail .item .content .description {
  font-weight: 300;
}
/* arrows */
.arrows {
  position: absolute;
  top: 80%;
  right: 52%;
  z-index: 100;
  width: 400px;
  max-width: 30%;
  display: flex;
  gap: 50px;
  align-items: center;
}
.arrows button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  color: #ff8400;
  font-family: monospace;
  font-weight: bold;
  transition: 0.5s;
  font-size: 20px;
}

.arrows button:hover {
  background-color: #ff8400;
  color: #000;
}

/* animation */
.carousel .list .item:nth-child(1) {
  z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 1s linear 1 forwards;
}
@keyframes showContent {
  to {
    transform: translateY(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
.carousel .list .item:nth-child(1) .content .title {
  animation-delay: 1s !important;
}
.carousel .list .item:nth-child(1) .content .topic {
  animation-delay: 1.2s !important;
}
.carousel .list .item:nth-child(1) .content .des {
  animation-delay: 1.4s !important;
}
.carousel .list .item:nth-child(1) .content .buttons {
  animation-delay: 1.6s !important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img {
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage 0.5s linear 1 forwards;
}
@keyframes showImage {
  to {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

.carousel.next .thumbnail .item:nth-last-child(1) {
  overflow: hidden;
  animation: showThumbnail 0.5s linear 1 forwards;
}
.carousel.prev .list .item img {
  z-index: 100;
}
@keyframes showThumbnail {
  from {
    width: 0;
    opacity: 0;
  }
}
.carousel.next .thumbnail {
  animation: effectNext 0.5s linear 1 forwards;
}

@keyframes effectNext {
  from {
    transform: translateX(150px);
  }
}

/* running time */

.carousel .time {
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 2px;
  background-color: #ffc800;
  left: 0;
  top: 0;
}

.carousel.next .time,
.carousel.prev .time {
  animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}

/* prev click */

.carousel.prev .list .item:nth-child(2) {
  z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}
@keyframes outFrame {
  to {
    width: 150px;
    height: 220px;
    bottom: 50px;
    left: 50%;
    border-radius: 20px;
  }
}

.carousel.prev .thumbnail .item:nth-child(1) {
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail 0.5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button {
  pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons {
  animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
  to {
    transform: translateY(-150px);
    filter: blur(20px);
    opacity: 0;
  }
}
@media screen and (max-width: 1650px) {
  .thumbnail .item {
    width: 165px;
    height: 230px;
  }
  header {
    height: 130px;
    background-color: rgba(255, 255, 255, 0.2);
  }

  .carousel {
    margin-top: -150px;
  }
}
@media screen and (max-width: 1500px) {
  header {
    height: 100px;
    background-color: rgba(255, 255, 255, 0.5);
  }
  header a {
    font-size: 1rem;
  }

  .carousel {
    margin-top: -120px;
  }

  .cabecalho h2 {
    font-size: 1.096rem;
  }

  .logotipo {
    width: 100px;
  }
  .carousel .list .item .title {
    font-size: 4rem;
  }
  .carousel .list .item .topic {
    font-size: 2.5rem;
    width: 500px;
    line-height: 40px;
  }
  .thumbnail .item {
    width: 150px;
    height: 200px;
    margin-left: -5px;
  }
}
@media screen and (max-width: 800px) {
  header {
    display: flex;
    flex-wrap: wrap;
    height: 110px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0;
  }

  header nav {
    display: none;
  }
  .whats {
    position: fixed;
    bottom: 1px;
    right: 0px;
  }
  .whatsapp {
    max-width: 40px;
  }
  .cabecalho {
    display: flex;
    margin-left: 5px;
    justify-content: left;
  }
  .tituloav {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    line-height: 30px;
    font-weight: 400;
    color: #000;
  }

  .carousel {
    margin-top: -110px;
    overflow: hidden;
  }

  .cabecalho h2 {
    font-size: 0.8rem;
  }
  .cabecalho h1 {
    font-size: 1.04rem;
  }

  .logotipo {
    width: 90px;
  }
  .carousel .list .item .title {
    font-size: 2.6rem;
    text-align: center;
    padding-bottom: 20px;
  }
  .carousel .list .item .topic {
    font-size: 2.3rem;
    max-width: 100%;
    line-height: 40px;
    text-align: center;
  }

  .carousel .list .item .content {
    top: 24%;
    width: 100%;
    max-width: 100%;
    left: 0%;
    transform: translateX(0%);
    padding-right: 0%;
  }
  .thumbnail {
    bottom: 65px;
    left: 60%;
  }
  .thumbnail .item {
    width: 130px;
    height: 160px;
  }
  .arrows {
    position: absolute;
    top: 76%;
    right: 60%;

    gap: 20px;
  }
  .arrows button {
    width: 45px;
    height: 45px;
  }
  .carousel .list .item .buttons {
    display: grid;
    grid-template-columns: repeat(2, 170px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 50px;
    justify-content: center;
  }
}
