html, body {
  font-family: 'Lato', Tahoma, Arial;
}

body {
  font-size: 20px;
  background-color: #202738;
  font-weight: 300;
}

.bg-dark {
  background-color: #202738 !important;
  color: #FFFFFF !important;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-weight: 700;
}

h5, h5 a {
  color: #ffffff;
  font-weight: 300;
  font-size: 1.1rem;
}

a {
  text-decoration: none !important;
}

a:hover {
  color: #ffa800 !important;
}

img {
  border-radius: 0.5rem;
}

#logo {
  content: url(/favicon.svg);
  display: inline-block;
  width: 40px;
  height: 40px;
  position: relative;
  top: 3px;
}

.logo-text, .logo-text:hover {
  text-decoration: none;
  position: relative;
  left: 20px;
  top: -10px;
}

.navbar {
  background-color: #202738;
  transition: padding-top 0.3s;
  border-bottom: 1px solid #777;
  font-size: 1rem;
  text-transform: uppercase;
  height: 4rem;
}

.navbar a {
  color: white;
}

.navbar-brand {
  color: white;
  white-space: nowrap;
  font-size: 1rem;
  text-transform: uppercase;
}

.navbar-toggler {
  border: none;
}

.navbar.navbar-shrink {
  padding-top: 10rem;
}

#mains, #tasks, #kurss, #about, #publc, #video {
  padding-top: 4em;
  padding-bottom: 1em;
}

@media (max-width: 992px) {
  .navbar {
    height: 6rem;
  }
  .glav_menu {
    font-size: 0.6rem;
    opacity: 0.6;
  }
  #mains, #tasks, #kurss, #about, #publc, #video {
    padding-top: 7rem;
    padding-bottom: 0;
  }
}

@media (min-width: 992px) {
  #mains, #tasks, #kurss, #about, #publc, #video {
    padding-top: 6rem;
    padding-bottom: 0;
  }
}

#mains {background-color: #202738;}
#tasks {background-color: #c1c3c7;}
#kurss {background-color: #FFFFFF;}
#about {background-color: #034760;}
#publc {background-color: #dee5ec;}
#video {background-color: #06668f;}

@media (min-width: 992px) {
  .container-01, .container-02, .container-03, .container-04 {
    height: calc(100vh - 4rem);
    display: grid;
    place-items: center;
  }
}
  
.container-05, .container-06 {
  display: grid;
  place-items: center;
}

.container-01 {
  color: #ffffff;
}

.container-02 {
  color: #000000;
}

.container-03 {
  color: #000000;
}

.container-04 {
  color: #ffffff;
}

.container-05, .container-05 a {
  color: #000000;
}

.one-image-in-col {
  max-width:360px;
}

.container-06, .container-06 a  {
  color: #ffffff;
}

.centered-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer, footer a, footer a:hover {
  padding: 2rem 0;
  font-size: 0.875rem;
  text-decoration: none;
  background-color: #202738;
  color: #FFFFFF;
  text-align: center;
}

footer a:hover {
  color: #ffc000;
}

.upp {
  text-transform: uppercase;
}

.bld {
  font-weight: 700;
}

.contact-daten a {
  color: white;
}

.contact-daten a:hover {
  color: #ffa800;
}

.button-celi {
  font-family: Arial;
  font-weight: 400;
  border: 0px solid white;
  padding: 10px;
  width: 300px;
  border-radius: 10px;
  background-color: #ffa800;
  color: white; 
}

.button-sode {
  font-family: Arial;
  font-weight: 400;
  border: 0px solid white;
  padding: 10px;
  width: 300px;
  border-radius: 10px;
  background-color: #00ccce;
  color: black; 
}

/* Стили для карточек */
.skerzzo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skerzzo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.skerzzo-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
}

.skerzzo-card h5 {
  margin-bottom: 1rem;
  flex-grow: 1;
  color: #000000;
}

.skerzzo-card h5 a {
  color: #000000;
  transition: color 0.3s ease;
}

.skerzzo-card h5 a:hover {
  color: #ffa800 !important;
}

.skerzzo-card-image-container {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skerzzo-card-image-container-video {
  height: 400px;
}

.skerzzo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.skerzzo-card:hover img {
  transform: scale(1.05);
}

/* Стили для отзывов */
.reviews-checkbox {
  display: none;
}

.reviews-toggle-label {
  display: inline-block;
  color: #ffa800 !important;
  cursor: pointer;
  font-size: 0.9em;
  margin-bottom: 0;
  transition: color 0.2s ease;
}

.reviews-toggle-label:hover {
  color: #ffc000 !important;
}

.reviews-container {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.reviews-checkbox:checked ~ .reviews-container {
  max-height: 500px;
  opacity: 1;
  padding: 1rem;
}

.review {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.review:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.review-author {
  font-weight: bold;
  margin-bottom: 0.4rem;
  font-size: 0.9em;
  color: #ffa800;
}

.review-text {
  margin-bottom: 0;
  font-size: 0.85em;
  line-height: 1.4;
  color: #666;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .skerzzo-card-image-container {
    height: 150px;
  }
  
  .skerzzo-card-content {
    padding: 0.75rem;
  }
  
  .skerzzo-card h5 {
    font-size: 1rem;
  }
}