.home {
  padding: 48px 0 120px 0;
  position: relative;
  background-image: url(../img/subpage-top.svg);
  width: 100%;
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
}

.home-box {
  display: flex;
  flex-direction: column;
  max-width: 992px;
  width: 100%;
  z-index: 11;
}

.home-box h1 {
  color: #fff;
}

.home-box .extra-large {
  font-weight: 400;
  margin-top: 8px;
  color: #fff;
}

.home-btns {
  margin-top: 48px;
  display: flex;
  flex-direction: row;
}

.home-btns .btn {
  color: #fff;
  border-color: #fff;
}

.home-btns .btn:hover {
  background-color: #fff;
  color: #232323;
}

.home-pattern {
  background-image: url(../img/home-pattern.svg);
  width: 100%;
  height: 700px;
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  position: absolute;
  right: -520px;
  top: 0;
}

@media all and (max-width: 768px) {
  .home-pattern {
    display: none;
  }

  .home {
    padding: 48px 0 96px 0;
  }
}

@media all and (max-width: 580px) {
  .home-btns .btn {
    width: fit-content;
  }
}

.sluzby {
  padding: 96px 0;
  z-index: 10;
  position: relative;
}

.sluzby .container {
  flex-direction: column;
  align-items: center;
  position: relative;
}

.sluzby h2 {
  text-align: center;
}

.sluzby .sluzby-items {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  margin-top: 48px;
  gap: 16px;
}

.sluzby-item {
  width: calc(25% - 12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  padding: 24px;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.sluzby-item h3 {
  color: #4006af;
  text-align: center;
  height: 72px;
}

.sluzby-item p {
  margin: 24px 0;
  text-align: center;
}

.sluzby-img {
  background-image: url(../img/woman.png);
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  position: absolute;
  top: 48px;
  z-index: -1;
}

.sluzby-item .btn {
  padding: 12px;
  width: 100%;
}

.sluzby .container .btn.full {
  margin-top: 48px;
}

@media all and (max-width: 1360px) {
  .sluzby-item {
    width: calc(100% / 3 - 12px);
  }

  .sluzby-item:nth-child(2) {
    margin: 0;
  }

  .sluzby .sluzby-items {
    justify-content: space-between;
  }
}

@media all and (max-width: 768px) {
  .sluzby-item {
    width: calc(50% - 12px);
  }

  .sluzby-item:nth-child(n + 3) {
    margin-top: 24px;
  }

  .sluzby .sluzby-items {
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

@media all and (max-width: 480px) {
  .sluzby-item {
    width: 100%;
  }

  .sluzby-item:nth-child(n + 2) {
    margin-top: 24px;
  }
}

.mikrosluzby {
  padding: 48px 0 96px 0;
}

.mikrosluzby h2 {
  width: calc(50% - 48px);
}

.mikrosluzby .container {
  flex-direction: column;
  position: relative;
}

.mikrosluzby-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 48px;
}

.mikrosluzby-list-item {
  width: calc(50% - 48px);
  display: flex;
  flex-direction: row;
}

.mikrosluzby-list-item-wrap {
  display: flex;
  flex-direction: column;
}

.mikrosluzby-list-item:nth-child(n + 3) {
  margin-top: 24px;
}

.mikrosluzby-list-item .extra-large {
  color: #00b492;
}

.mikrosluzby-list-item p {
  margin-top: 8px;
}

.mikrosluzby-list-item:before {
  content: '';
  height: 16px;
  min-width: 16px;
  background-color: #004550;
  margin-right: 16px;
  margin-top: 8px;
}

.mikrosluzby-btns {
  display: flex;
  flex-direction: row;
  margin-top: 48px;
}

.mikrosluzby-btns .btn {
  padding: 12px 36px;
}

.mikrosluzby-btns .btn:first-child {
  margin-right: 24px;
}

.mikrosluzby-iaas {
  width: calc(50% - 48px);
  margin-top: 64px;
  display: flex;
  flex-direction: row;
}

.mikrosluzby-iaas:before {
  content: '';
  height: 48px;
  min-width: 48px;
  background-color: #00b492;
  background-image: url('../img/light.svg');
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
}

.mikrosluzby-iaas-wrap {
  padding: 24px;
  background-color: #fff;
  border: 2px solid #00b492;
  display: flex;
  flex-direction: column;
  z-index: 9;
}

.mikrosluzby-iaas-wrap .extra-large {
  color: #00b492;
}

.mikrosluzby-iaas-wrap p {
  margin-top: 16px;
}

.mikrosluzby-btns.mobile {
  display: none;
}

@media all and (max-width: 992px) {
  .mikrosluzby h2 {
    width: 100%;
  }

  .mikrosluzby-list-item,
  .mikrosluzby-iaas {
    width: 100%;
  }

  .mikrosluzby-list-item:nth-child(n + 2) {
    margin-top: 24px;
  }

  .mikrosluzby-btns.desktop {
    display: none;
  }

  .mikrosluzby-btns.mobile {
    display: flex;
  }

  .mikrosluzby-btns .btn {
    padding: 12px 48px;
  }
}

@media all and (max-width: 610px) {
  .mikrosluzby-btns {
    flex-direction: column;
  }

  .mikrosluzby-btns .btn:first-child {
    margin-bottom: 24px;
  }
}

@media all and (max-width: 480px) {
  .mikrosluzby-btns .btn {
    width: 100%;
  }
}

.articles {
  padding: 96px 0;
  margin-top: -160px;
  position: relative;
  background-color: #f4f5f7;
}

.articles-pattern {
  background-image: url(../img/spoluprace-pattern.svg);
  width: 100%;
  height: 700px;
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  position: absolute;
  left: -400px;
  top: 160px;
}

.articles .container {
  flex-direction: column;
  align-items: center;
  position: relative;
}

.articles h2 {
  text-align: center;
}

.articles-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 48px;
}

.article {
  width: calc(50% - 12px);
  display: flex;
  flex-direction: row;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.article-img {
  width: 25%;
  object-fit: cover;
}

.article-info {
  padding: 24px;
  background-color: #fff;
}

.article-title {
  font-weight: 800;
  font-size: 22px;
}

.article-read-more {
  color: #4006af;
  font-weight: 800;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 48px;
}

.article-read-more:after {
  content: '';
  width: 8px;
  height: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../img/read-more-arrow.svg');
  margin-left: 8px;
}

.articles .btn {
  margin-top: 48px;
}

@media all and (max-width: 992px) {
  .articles {
    margin-top: 0;
  }
}

@media all and (max-width: 768px) {
  .article {
    width: 100%;
    flex-direction: column;
  }

  .articles-row {
    flex-direction: column;
  }

  .article-img {
    width: 100%;
    height: 200px;
  }

  .article-title {
    font-size: 16px;
  }

  .article:last-child {
    margin-top: 24px;
  }

  .articles-pattern {
    display: none;
  }
}

.info-box {
  padding: 48px 0;
}

.info-box .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  justify-content: space-between;
  gap: 40px;
}

@media all and (max-width: 992px) {
  .info-box .container {
    flex-direction: column;
  }
}

.info-box-txt {
  margin-top: 24px;
  max-width: 605px;
  color: #666666;
}
.info-box-li {
  margin-left: 20px;
  margin-top: 4px;
  max-width: 605px;
  color: #666666;
}

.info-box .col {
  display: flex;
  flex-direction: column;
  position: relative;
}

.info-box .img {
  width: 40%;
  min-width: 496px;
}

.info-vyhody .col {
  gap: 24px;
  width: 100%;
}

@media all and (max-width: 992px) {
  .info-box .img {
    min-width: unset;
    width: 100%;
    max-width: 400px;
  }
}

.info-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mikrosluzby-img img {
  width: 100%;
}