﻿html {
  scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2 {
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.text-muted-justify {
  --bs-text-opacity: 1;
  color: #6c757d !important;
  text-align: justify;
  text-justify: inter-word;
}

.fullbordertable {
    border-collapse: collapse;
    border: 1px solid darkgray;
    border-bottom: 0;
}
.fullbordertable td, th {
     border-right: 1px solid darkgray;
     border-bottom: 1px solid darkgray;
}

.carousel-indicators [data-mdb-target] {
  height: 20px;
}

.scrolldown {
  cursor: pointer;
  position: absolute;
  bottom: 0px;
  width: 10%;
  padding: 16px;
  margin-bottom: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Position the "next button" to the right */
.scrolldown {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Next & previous buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  cursor: pointer;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Position the "next button" to the right */
.carousel-control-next-icon {
  border-radius: 3px 0 0 3px;
}

.demo a {
  position: absolute;
  bottom: 5%;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  test-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  font : normal 400 20px/1
  letter-spacing: .1em;
  text-decoration: bold;
  transition: opacity .3s;
}
.demo a:hover {
  opacity: .5;
}

a.buttonUp {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
  position: fixed;
  bottom: 2%;
  right: 1%;
  border: none;
  outline: 1px solid #666; /* Параметры рамки */
  background-color: white;
  color: black;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  font-size: 20px;
  font : normal 800 20px/1
  letter-spacing: .1em;
  text-decoration: bold
  background-color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    color: initial;
}

a.buttonBack {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
  position: fixed;
  bottom: 2%;
  left: 1%;
  border: none;
  outline: 1px solid #666; /* Параметры рамки */
  background-color: white;
  color: black;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  font-size: 20px;
  font : normal 800 20px/1
  letter-spacing: .1em;
  text-decoration: bold
  background-color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    color: initial;
}

#btnTop {
  display: none;
  position: fixed;
  bottom: 2%;
  right: 1%;
  z-index: 99;
  border: none;
  outline: 1px solid #666; /* Параметры рамки */
  background-color: white;
  color: black;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  font-size: 20px;
  font : normal 800 20px/1
  letter-spacing: .1em;
  text-decoration: bold
  background-color: rgba(0, 0, 0, 0.5);
}

#btnTop:hover {
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
}

#section03 a {
  padding-top: 60px;
}
#section03 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border: 1px solid #fff;
  border-radius: 100%;
  box-sizing: border-box;
}
#section03 a span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 16px;
  height: 16px;
  margin: -12px 0 0 -8px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}
#section03 a span::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  content: '';
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 0 rgba(255,255,255,.1);
  border-radius: 100%;
  opacity: 0;
  -webkit-animation: sdb03 3s infinite;
  animation: sdb03 3s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb03 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 60px rgba(255,255,255,.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb03 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 60px rgba(255,255,255,.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

#section05 a {
  padding-top: 70px;
}
#section05 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
  -webkit-animation: sdb05 1.5s infinite;
  animation: sdb05 1.5s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb05 {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
@keyframes sdb05 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

#section07 a {
  padding-top: 80px;
}
#section07 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb07 2s infinite;
  animation: sdb07 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
#section07 a span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
#section07 a span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
#section07 a span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
@-webkit-keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

