.cover-pic {
  background-image: linear-gradient(45deg, rgba(69, 87, 146, 0.9), transparent),
    url(../img/plastifikacija.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 70vh;
  width: 100%;
  display: flex;
  flex-direction: COLUMN;
  justify-content: center;
  align-items: center;
  position: relative;
}

.cover-pic {
  position: relative;
}

.cover-pic .second-title {
  position: absolute;
  color: #fff;
  opacity: 0.7;
  font-size: 4em;
  letter-spacing: 15px;
  right: 30px;
  bottom: 80px;
}

.cover-pic .second-title p {
  color: #fff;
}

.container-onama {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.container-onama:after {
  position: absolute;
  z-index: 2;
  background-color: inherit;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transform-origin: top left;
  transform: skewY(-2deg);
  box-shadow: 5px -10px 10px rgba(0, 0, 0, 0.2);
}

.container-onama .left-text .links button {
  border: none;
  background-color: rgb(118, 151, 190);
  margin: 0 5px 50px 0;
  padding: 5px;
  border-radius: 3px;
}

.container-onama .left-text .links button:hover {
  opacity: 0.8;
}

.container-onama .left-text button a {
  color: white;
  text-decoration: none;
}

.container-onama .left-text {
  width: 60%;
  height: 100%;
  z-index: 3;
  padding: 4rem;
  position: relative;
}

.container-onama .left-text .text {
  text-align: justify;
}

.container-onama .left-text ul li {
  line-height: 1.6em;
}

.container-onama .left-text ul li span {
  color: rgb(118, 151, 190);
  font-weight: 700;
}

.container-onama .left-text ul li::marker {
  color: rgb(118, 151, 190);
  font-size: 1.5em;
}

.container-onama .left-text .firstbtn1 {
  background-color: rgb(118, 151, 190);
  padding: 15px 15px;
  border: none;
  border-radius: 5px;
  margin-top: 30px;
  cursor: pointer;
  width: 250px;
  transition: transform 0.5s, opacity 0.5s, box-shadow 0.5s, color 0.5s;
}

.container-onama .left-text .firstbtn1 .fa {
  color: #fff;
}

.container-onama .left-text .firstbtn1 a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
}

.container-onama .left-text .firstbtn1:hover {
  transform: scale(1.1);
  opacity: 0.9;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.container-onama .right-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
  height: 100%;
  z-index: 3;
}

.container-onama .right-btns div {
  color: #fff;
  font-size: 1.2rem;
  background: rgb(27, 27, 27);
  text-align: center;
  height: 50px;
  width: 400px;
  padding: 20px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.5s ease-in-out, transform 0.5s;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.4);
}

.container-onama .right-btns a {
  text-decoration: none;
}

.container-onama .right-btns a div.active,
.container-onama .right-btns a div:hover {
  background-color: rgb(118, 151, 190);
  transform: scale(1.05);
}

footer {
  display: flex;
  justify-content: center;
  justify-content: center;
  align-items: center;
  background-color: #f0efef;
  position: relative;
  height: 100%;
  box-shadow: 10px 0px 10px rgba(0, 0, 0, 0.3);
}

footer .leftcol {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .leftcol img {
  width: 200px;
}

footer .midcol {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .midcol img {
  width: 100px;
  display: none;
}

footer .midcol a {
  text-decoration: none;
  color: #333;
  padding: 5px;
}

footer .midcol a:hover {
  font-weight: 700;
}

footer .rightcol {
  line-height: 2em;
  width: 30%;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgb(218, 164, 92);
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  rotate: 45deg;
  border: 2px solid black;
}

#myBtn:hover {
  background-color: rgba(218, 164, 92, 0.8);
}

.inner {
  border: 2px solid black;
  border-radius: 4px;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner img {
  rotate: -45deg;
  width: 30px;
}

@media (max-width: 1050px) {
  .container-onama .right-btns a div {
    width: 250px;
  }
}

@media (max-width: 991px) {
  .cover-pic .second-title {
    font-size: 2em;
  }
  .cover-pic .second-title {
    right: 10px;
    bottom: 80px;
  }

  .container-onama .right-btns a div {
    width: 250px;
  }
}

@media (max-width: 767px) {
  .cover-pic .second-title {
    font-size: 1em;
    letter-spacing: 10px;
    right: 10px;
    bottom: 80px;
  }
  .container-onama .right-btns {
    display: none;
  }
  .container-onama .left-text {
    width: 100%;
    padding: 1rem;
  }

  .container-onama .right-btns {
    grid-template-columns: repeat(1, 1fr);
  }

  footer .leftcol {
    display: none;
  }
  footer .midcol,
  footer .rightcol {
    width: 100%;
  }

  footer .midcol img {
    width: 100px;
    display: block;
  }
}
