:root {
  --black: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  transition: all 0.2s ease-out;
  text-decoration: none;
}

html {
  font-size: 62.5%;
  font-family: sans-serif;
  overflow-x: hidden;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}

body {
  background-color: rgba(0, 26, 255, 0.062) !important;
  min-height: 100vh;
}

.header {
  padding: 1rem 9%;
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  background-color: var(--black);
}

.header a {
  text-decoration: none;
}

.header .logo {
  font-size: 2.5rem;
  color: #fff;
}

.header .navbar a {
  font-size: 1.7rem;
  color: #fff;
  margin-left: 2rem;
}

#menu-btn {
  font-size: 2.5rem;
  border-radius: 0.5rem;
  background: #333333;
  color: #fff;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: none;
}

#main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

#main a {
  text-decoration: none;
}

main {
  margin: 1rem 8%;
  background-color: rgba(5, 5, 5, 0.027);
  width: 100%;
}

main .main_top {
  display: flex;
}
main .main_top .left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main .main_top .left .card {
  background-color: #333333;
  padding: 20px;
  height: 100%;
}

main .main_top .left .card .img-box {
  padding: 7px;
  border-radius: 20px;
  border: 1px solid #777777;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

main .main_top .left .card .img-box img {
  width: 250px;
  border-radius: 20px;
}

main .main_top .left .card .img-box h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 100;
  text-align: center;
  width: 15rem;
  margin: 15px 0;
}

main .main_top .left .legislation {
  width: 100%;
  margin: 1rem 0;
  padding: 10px;
  background-color: #000;
}

main .main_top .left .legislation a {
  color: #fff;
  font-size: 1.6rem;
  padding: 0 30%;
}

main .main_top .right {
  width: 100%;
  margin-left: 10px;
}

main .main_top .right .baner {
  position: relative;
  width: 100%;
  height: 283px;
  background-color: #333333;
  /* margin: 0 10px; */
  background-image: url(../img/sleader-3.jpg);
  background-size: cover;
  background-position: center;
}

main .main_top .right .baner .top {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: #000000ab;
  z-index: 1;
  display: flex;
  justify-content: center;
}

main .main_top .right .baner .top a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 100;
  padding: 5px;
}

.mian_bottom {
  width: 100%;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
}

.mian_bottom .certificate {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.mian_bottom .certificate img {
  max-width: 800px;
}

.mian_bottom .certificate h2 {
  font-size: 2.5rem;
  margin: 30px 0;
  position: relative;
  cursor: pointer;
}

.mian_bottom .certificate h2::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #332682;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 4px;
}

.mian_bottom .left .navigation .bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mian_bottom .right {
  width: 100%;
  margin-left: 1rem;
}

footer .content {
  display: flex;
  justify-content: space-between;
  background-color: #333333;
}

footer {
  padding: 1rem 8% 0 8%;
}

footer p {
  color: #fff;
  padding: 10px;
  font-size: 1.2rem;
  margin: 0 !important;
}

footer a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: underline;
}

.carousel-item {
  width: 100%;
  height: 520px !important;
  height: 400px;
}

.carousel-item img {
  object-fit: cover !important;
  height: 100%;
  object-position: center;
}

.slide_btn {
  background-color: rgba(0, 0, 0, 0.151) !important;
  width: 10% !important;
}

.slide_btn:hover {
  background-color: rgba(0, 0, 0, 0.671) !important;
}

#service__btn {
  width: 100%;
  margin-top: 10px;
  background-color: transparent;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#service__btn .inner__service {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #333333;
  width: 40%;
  height: 0;
}

#service__btn .inner__service a {
  font-size: 1.3rem;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 1rem;
  color: #fff;
  width: 100%;
  padding: 5px 0;
}

#service__btn button {
  background-color: #333333;
  width: 40%;
  font-size: 1.4rem;
  color: #fff;
  height: 30px;
  border-bottom: 2px solid black;
}
