@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root{
  font-size: 16px;
}

section{
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #161616;
}

section .circle{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e51e2a;
  clip-path: circle(70% at right -20%);
}

header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 4rem 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo{
 position: relative;
 max-width: 15rem;
}

header .navigation{
  position: relative;
  display: flex;
}

header .navigation li{
  list-style: none;
}

header .navigation li a{
  display: inline-block;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  margin-left: 4rem;
}

header .navigation li a:hover{
  color: #000000cf;
}


.navigation li a::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 7px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
}

.navigation li a:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

.content{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content .textBox{
  position: relative;
  max-width: 60rem;
  margin-right: 2rem;
}

.content .textBox h2{
  color: #fff;
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 3rem;
  font-weight: 700;
}

.content .textBox p{
  color: #fff;
}

.content .textBox a{
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  background: #e51e2a;
  color: #fff;
  border-radius: 4rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-decoration: none;
}

.content .textBox a:hover{
  color: #ff0000cf;
  background-color: #ffffff;
}

.sci{
  position: absolute;
  bottom: 4rem;
  left: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sci li{
  list-style: none;
}

.sci li a{
  display: inline-block;
  margin-left: 1.5rem;
  background: #222;
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: 0.2s ease-in-out;
}

.sci li a:hover{
  background: #e51e2a;
  transform: translateY(-1rem);
}

sci li a img{
  filter: invert(1);
  transform: scale(0.5);
}

/******slider******/

.swiper {
  width: 100%;
  padding-top: 13rem;
  padding-bottom: 0rem;;
}

.swiper-slide {
background-position: center;
background-size: cover;
width: 15rem;
height: 25rem;
display: flex;
justify-content: center;
}

.swiper-slide img {
display: block;
width: 100%;
overflow: hidden;
}


.content .imgBox{
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.content .imgBox img{
  max-width: 11rem;
}

.swiper-slide img{
  position: absolute;
  bottom: 0;
  min-height: 100%;
}

.swiper-3d .swiper-slide-shadow-left, .swiper-3d .swiper-slide-shadow-right{
  background-image: none;
}

@media (max-width: 991px){
  header{
    padding: 4rem;
  }

  section{
    padding: 10rem 5rem;
  }

  .sci{
    left: 4rem;
  }

  .content{
    flex-direction: column;
  }
  
  .content .textBox,
  .content .imgBox{
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
  }

  .swiper-slide {
  width: 8.5rem;
  height: 16rem;
}

  .swiper-wrapper {
    margin-bottom: 1.5rem;
}

  .content .imgBox img{
    max-width: 10rem;
}


header .navigation{
  display: none;
}

header .navigation.active{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e51e2a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

header .navigation li a{
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 400;

}

.toggle{
  position: relative;
  width: 3rem;
  height: 3rem;
  background: url(./assets/menu.png);
  background-size: 3rem;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  z-index: 10000;
}

.toggle.active{
  position: fixed;
  right: 4rem;
  background: url(./assets/close.png);
  background-size: 2rem;
  background-repeat: no-repeat;
  background-position: center;
}
}