@import url('reset.css');
@import url('global.css');

.dropdown:hover .line1 {
  transform: rotate(-90deg) translate(-7px, -20px);
  transition: 1s;
}

.dropdown:hover .line2 {
  transform: rotate(-90deg) translate(3px, -12px);
  transition: 1s;
}

.dropdown:hover .line3 {
  transform: rotate(-90deg) translate(13px, -4px);
  transition: 1s;
}

.dropdown{
  z-index: 1;
}

.mobile-menu div {
  width: 32px;
  height: 2px;
  background: #fff;
  margin: 8px;
  transition: 1s;
}

.mobile-menu{
display: inline-block;
vertical-align: middle;
}
/*Menu 1*/
.drop1{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 370px;

  margin-right: 8px;
  margin-bottom: 8px;
  margin-top: 8px;
}

.seta{
  display: inline-flex;
  vertical-align: middle;
}

.dropdown-menu{
  position: absolute;
  display: none;
  box-shadow: 0 0 2px;
  background-image: linear-gradient(to left,black, #004aad, #a274ff);
  z-index: 1;
}

.dropdown-menu a{
  display: block;
  text-align: left;
  margin-left: 15px;
  font-size: 13px;
  width: 100%;
}

.dropdown-menu .drop1:hover{
  background-color: #a274ff;
  transition: .4s;
  border-radius: 15px;
}
.dropdown-menu a:hover{
  font-size: 14px;
  transition: .4s;
}

.dropdown:hover .dropdown-menu{
  display: block;
}

.menu{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 3rem;
}
.s-menu {
  padding: 0;
  width: 100%;
  position: relative;
  height: auto;
}

.s-menu__item {
  display: flex;
  text-transform: uppercase;
  margin: 1px 1rem;
  align-items: center;
  justify-content: space-evenly;
}

.s-menu__icon {
margin-top: 1rem;
vertical-align: middle;
}

.s-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  perspective: 600px;
  height: 700px;
  width: 100%;

}

.s-card {
  border: 0.25rem solid white;
  border-style: groove;
  border-radius: 10px;
  width: 100%;
  height: 40vh;
  margin: 0;
  position: absolute;
  transition: filter .5s ease-in-out;
}

.s-card:nth-child(1) {
  transform: rotateY(0deg) translateZ(50vw);
}

.s-card:nth-child(2) {
  transform: rotateY(72deg) translateZ(50vw);
}

.s-card:nth-child(3) {
  transform: rotateY(144deg) translateZ(50vw);
}

.s-card:nth-child(4) {
  transform: rotateY(216deg) translateZ(50vw);
}

.s-card:nth-child(5) {
  transform: rotateY(288deg) translateZ(50vw);
}

.s-card__background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.s-card__image {
  margin-left: 48%;
  height: 100%;
  object-fit: contain;
  position: relative;
  transition: 1s ease-in-out;
}
.img1{

}
.img2{
  height: 35vh;
  width: 300px;
  margin-left: 130px;
}
.img3{
  height: 35vh;
  width: 300px;
  margin-left: 130px;
  scale: 1.5;
}
.img4{
  height: 45vh;
  width: 200px;
  margin-left: 150px;
  margin-top: 40px;
}
.img5{
  height: 8vh;
  width: 200px;
  margin-left: 150px;
  margin-top: 40px;
  scale: 2;
}

.s-controller {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  bottom: 0;
  width: 100%;
  padding: 0;
  z-index: 0;
}

.s-controller input{
  display: none;
}


.s-controller__button, .auto{
  display: flex;
  align-items: center;
  justify-content: center;
  width: .5rem;
  height: .5rem;
  border: 2px solid white;
  border-radius: 50%;
  background-image: linear-gradient(180deg, #004aad, #a274ff);
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s ease-in-out;
}

.s-controller__button:hover, .auto:hover {
  transform: scale(1.1);
}

.s-controller__button:nth-child(2) {
  margin: 0 3.75rem;
}

.s-controller__button:nth-child(4) {
  margin: 0 3.75rem;
}

.s-controller .auto:not(:last-child){
  margin: 0 1.75rem;
}

.s-controller__button--active {
  background-color: white;
  background-image: linear-gradient(180deg, #004aad, #a274ff);
  border: 0.1875rem solid #a274ff;
  outline: 0.125rem solid white;
}

#radio1:checked ~ .auto.auto-btn1, #radio2:checked ~ .auto-btn2, #radio3:checked ~ .auto-btn3, #radio4:checked ~ .auto-btn4, #radio5:checked ~ .auto-btn5{
  background-color: white;
  background-image: linear-gradient(180deg, #004aad, #a274ff);
  border: 0.1875rem solid #a274ff;
  outline: 0.125rem solid white;
}

.s-controller__line {
  background-color: white;
  width: 80%;
  height: 2px;
  position: absolute;

}
.s-controller__line1 {
  background-color: white;
  width: 100%;
  height: 1px;
}

.arrow-left,
.arrow-right {
  position: absolute;
  top: 0;
  left: 40px;
  right: auto;
  bottom: 0;
  font-size: 30px;
  line-height: 250px;
  width: 40px;
  color: #fff;
  transition: all 600ms ease-in-out;
  background: linear-gradient(to left, transparent 100%, #004aad, #a274ff);
  opacity: 0.1;
  cursor: pointer;
  border: none;
}

.arrow-left:hover,
.arrow-right:hover {
  opacity: 1;
}

.arrow-right {
  right: 60px;
  left: auto;
  text-align: right;
  background: linear-gradient(to right, transparent 100%, black 200%);
}

/* Hover Animation */

.s-card--hovered .s-card__background {
  cursor: pointer;
  opacity: 0;
}

.s-card--hovered .s-card__image {
  transform: scale(1.5);
  filter: drop-shadow(30px 10px 4px rgba(0, 0, 0, .5));
}

body#spider-man-01-hovered::before {
  background-image: url('../images/Curso-excel.png');
  width: 100%;
  height: 100%;
  bottom: 0;
}

body#spider-man-02-hovered::before {
  background-image: url('../images/lucrando-IA.png');
  width: 100%;
  height: 100%;
  bottom: 0;
}

body#spider-man-03-hovered::before {
  background-image: url('../images/industria-corte.png');
  width: 100%;
  height: 100%;
  bottom: 0;
}

body#spider-man-04-hovered::before {
  background-image: url('../images/meta-10k.png');
  background-color: black;
  width: 100%;
  height: 100%;
  bottom: 0;
}

body#spider-man-05-hovered::before {
  background-image: url('../images/NH.PNG');
  width: 100%;
  height: 100%;
  bottom: 0;
}

body[id^="spider-man-"]::before {
  opacity: 1;
}

body[id^="spider-man-"] .s-card:not(.s-card--hovered) {
  filter: grayscale(100%);
}

.s-card--hovered .s-card__title {
  bottom: 50%;
}

.s-cards-carousel {
  display: flex;
  justify-content: center;
  width: 40%;
  height: 10%;
  transform-style: preserve-3d;
  transition: transform 0.4s ease-in;
  margin-bottom: 300px;
}

.fundo{
  margin-top: 100px;
  height: 100%;
}


.div-acessados{
  display: flex;
  justify-content: space-between;

  margin: 13px 40px;
}

.item-acessados{
  flex: 1;
  border: 4px;
  border-radius: 20px;
  background-color: white;
  height: 20rem;
  max-width: 240px;
  /* Shadow */
  filter: drop-shadow(1px 2px 6px rgba(0, 0, 0, 0.04)) drop-shadow(2px 2px 16px rgba(0, 0, 0, 0.12));
  box-shadow: 0px 2px 38px rgba(84, 84, 89, 0.14);
}

.item{
  flex: 1;
  border: 4px;
  border-radius: 20px;
  background-color: white;
  height: 20rem;
  max-width: 240px;
  /* Shadow */
  filter: drop-shadow(1px 2px 6px rgba(0, 0, 0, 0.04)) drop-shadow(2px 2px 16px rgba(0, 0, 0, 0.12));
  box-shadow: 0px 2px 38px rgba(84, 84, 89, 0.14);
}











/* Small devices (phones, 640px and below) */
@media only screen and (max-width: 410px) {
  .fit{
    height: 650px;
  }
  .fitall{
    height: 350px;
  }
}
@media only screen and (max-width: 530px) {
  .s-menu__item{
    flex-direction: column;
    gap: 2rem;
  }
  .menu{
    flex-direction: column;
  }
  .dropdown{
    display: none;
  }
  .s-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    perspective: 600px;
    height: 500px;
    width: 100%;
  }
  .s-container{
    margin: 0;
    overflow-x: hidden;
  }
  .s-card {
    width: 15rem;
  }
  .s-card__background {
    object-fit:fill;
  }
  .s-card__image{
    margin: 0;
  }
  .img1{
    display: none;
  }
  .img2{
    scale: .6;
  }
  .img3{
    display: none;
  }
  .img4{
    display: none;
  }
  .img5{
    display: none;
  }
}
@media only screen and (min-width: 440px) and  (max-width: 800px) {
  .s-menu__item{
    flex-direction: column;
    gap: 2rem;
  }
  .menu{
    flex-direction: column;
  }

  .dropdown{
    display: none;
  }

  .s-container{
    margin: 0;
    overflow-x: hidden;
  }
  .s-card {
    width: 20rem;
  }
  .s-card__background {
    object-fit:fill;
  }
  .s-card__image{
    margin: 0;
  }
  .img1{
    scale: .6;
  }
  .img2{
    scale: .6;
  }
  .img3{
    scale: .8;
  }
  .img4{
    scale: .6;
  }
  .img5{
    margin: 20px 0 0 0;
    scale: .8;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 650px) and (max-width: 768px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 800px) and (max-width: 1366px) {
  .s-card__background {
    object-fit:fill;
  }
  .s-card__image{
    margin: 0;
  }
  .img1{
    scale: .7;
  }
  .img2{
    scale: .7;
  }
  .img3{
    scale: .9;
  }
  .img4{
    scale: .8;
  }
  .img5{
    margin: 20px 0 0 0;
    scale: 1;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1366px) and (max-width: 2000px) {
}