:root {
  --white: #fff;
  --black: #1a281f;
  --red: #ff0125;
  --gri: #ddd;
  --redlogo: #ff1616;
  --colorthree: #12eaea;
  font-family: "Oswald", sans-serif;
  --site: "http://localhost/scoala/";
}
html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Oswald", sans-serif;
}

section {
  display: flex;
  justify-content: center;
  width: 100%;
}

#top {
  background-color: var(white);
  border-bottom: 1px solid var(--gri);
}

.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 99999;
  border-bottom: 1px solid gray;
}

.container {
  width: 1000px;
  display: flex;
  align-items: center;
}

.poza-continut {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-column {
  flex-direction: row;
}

.flex-column-row {
  flex-direction: row;
}

.space-between {
  justify-content: space-between;
}

#header {
  background-color: var(--black);
  min-height: 400px;
  padding-top: 20px;
  padding-bottom: 20px;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

#header::before {
  content: "";
  width: 400px;
  height: 1000px;
  display: block;
  background-color: var(--colorthree);
  position: absolute;
  z-index: -1;
  left: 0px;
  padding: 0;
  margin: 0;
  opacity: 0.5;
  overflow: hidden;
  transform: rotate(45deg);
}

#servicii {
  /*margin-top: 100px;
  margin-bottom: 100px;*/
  overflow: hidden;
  position: relative;
}

#all-container {
  overflow: hidden;
  position: relative;
}

#all-container::before {
  content: "";
  width: 700px;
  height: 5000px;
  display: block;
  background-color: var(--colorthree);
  position: absolute;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 1000px;
  top: -800px;
  padding: 0;
  margin: 0;
  opacity: 0.1;
  overflow: hidden;
  transform: rotate(135deg);
}

.continut {
  position: relative;
  overflow: hidden;
}

.margin100 {
  margin-top: 100px;
  margin-bottom: 100px;
}

.margin75 {
  margin-top: 75px;
  margin-bottom: 75px;
}

.margin50 {
  margin-top: 50px;
  margin-bottom: 50px;
}

#footer {
  /*margin-top: 50px;*/
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--black);
  color: #fff;
}

#footer ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

#footer a {
  color: #fff;
  text-decoration: none;
}

#footer a:hover {
  color: #fff;
  text-decoration: underline;
}

#testimoniale {
  margin-top: 40px;
  margin-bottom: 40px;
}

.title {
  font-size: 45px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 25px;
  text-shadow: 2px 2px 2px gray;
}

.subtitle {
  font-size: 20px;
  color: #fff;
}

.btn {
  display: block;
  width: fit-content;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 15px;
  margin-top: 35px;
  margin-bottom: 35px;
}

.btn-call {
  background-color: var(--redlogo);
  color: #fff;
  font-size: 25px;
  text-decoration: none;
}

.logo {
  flex: 1;
  justify-content: flex-start;
  font-family: "Oswald", sans-serif;
}

.menu {
  display: flex;
  width: auto;
  justify-content: flex-end;
}

#meniu {
  list-style: none;
  display: flex;
  visibility: visible;
}

#meniu li {
  padding: 10px;
}

#meniu li a {
  text-decoration: none;
  padding: 8px;
  color: var(--black);
}

#meniu li a:hover {
  background-color: rgba(18, 234, 234, 0.1);
  padding: 8px;
  border-radius: 5px;
  box-shadow: #ddd;
  font-weight: 500;
}

.hamburger-menu {
  display: block;
  width: 40px;
  height: 30px;
  margin: 10px;
  padding: 0;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  visibility: hidden;
  z-index: 999;
  margin: 20px;
}

.line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--black);
  margin: 6px 0;
  border-radius: 5px;
}

.hamburger-menu.active .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: #fff;
}

.hamburger-menu.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: #fff;
}

/* reguli CSS pentru dispozitive mobile */
@media (max-width: 767px) {
  .hamburger-menu {
    visibility: visible;
  }

  .container {
    width: 100%;
  }

  .flex-column-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
    align-content: center;
  }

  #header {
    background-color: var(--black);
    height: 950px;
  }

  .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  #meniu {
    position: absolute;
    padding: 0;
    margin: 0;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--redlogo);
    color: #fff;
    width: 100vw;
    height: 100vh;
    z-index: 998;
    animation: slide-right 3s forwards;
  }

  #meniu li a:hover {
    color: var(--black);
  }

  @keyframes slide-right {
    from {
      left: -100%;
    }
    to {
      left: 0;
    }
  }

  #meniu li a {
    font-size: 22px;
    color: #fff;
  }

  #meniu li {
    margin-bottom: 15px;
  }

  #meniu:target {
    visibility: visible;
  }
}
