.studii >.container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.studii .title_wrapper{
  width: 100%;
  margin-bottom: 60px;
}

.container-tabs {
  max-width: 600px;
  padding-left: 15px;
  padding-right: 15px;
}

.tabs {
  display: flex;
  flex-direction: column;
}

.tabs__links {
  display: flex;
  flex-direction: row;
  margin-top: 35px;
  order: 0;
  white-space: nowrap;
  margin-bottom: 15px;
  background-color: #fff;
  border: 1px solid #e3f2fd;
  box-shadow: 0 2px 4px 0 #e3f2fd; 
}

.tabs__links > a {
  display: inline-block;
  text-decoration: none;
  /*color: #1976d2;*/
  background-color: #1569ae;
  color: #fff;
  padding: 20px 20px;
  text-align: center;
}

.tabs__links > a:hover {
  background-color: #bbdefb;
  color: #1569ae;
}

.tabs > #content-1:target ~ .tabs__links > a[href='#content-1'],
.tabs > #content-2:target ~ .tabs__links > a[href='#content-2'],
.tabs > #content-3:target ~ .tabs__links > a[href='#content-3'],
.tabs > #content-4:target ~ .tabs__links > a[href='#content-4'],
.tabs > #content-5:target ~ .tabs__links > a[href='#content-5'],
.tabs > #content-6:target ~ .tabs__links > a[href='#content-6'] {
  background-color: #bbdefb;
  color: #1569ae;
  cursor: default;
}

.tabs > div:not(.tabs__links) {
  display: none;
  order: 1;
  flex-grow: 1;
}

@media (min-width: 576px) {
  .tabs {
    flex-direction: row;
  }

  .tabs__links {
    flex-direction: column;
    border: none;
    box-shadow: none;
  }

  .tabs__links > a {
    border: 1px solid #e3f2fd;
    box-shadow: 0 2px 4px 0 #e3f2fd;
    margin-bottom: 8px;
  }

  .tabs__links > a:last-child {
    margin-bottom: 0;
  }

  .tabs > div:not(.tabs__links) {
    padding-left: 15px;
  }
}

.tabs > div:target {
  display: block;
}

.portfolio-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.portfolio-item {
  padding: 10px;
}
.portfolio-item a {
  display: block;
  text-decoration: none;
  color: white;
}
.portfolio-item-wrap {
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  background: black;
  color: white;
}
.portfolio-item img {
  display: block;
  width: 100%;
  opacity: 0.75;
  transition: 0.5s ease-in-out;
}
.portfolio-item-inner {
  position: absolute;
  top: 45%;
  left: 7%;
  right: 7%;
  bottom: 45%;
  border: 1px solid white;
  border-width: 0 1px 1px;
  transition: 0.4s ease-in-out;
}
.portfolio-heading {
  overflow: hidden;
  transform: translateY(-50%);
}
.portfolio-heading h3 {
  font-family: 'Pattaya', sans-serif;
  font-weight: normal;
  display: table;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
}
.portfolio-heading h3:before,
.portfolio-heading h3:after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 1px;
  background: white;
}
.portfolio-heading h3:before {
  left: -50px;
}
.portfolio-heading h3:after {
  right: -50px;
}
.portfolio-item-inner ul {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  padding: 0 20px;
  opacity: 0;
  list-style: none;
  font-family: 'Raleway', sans-serif;
  transition: 0.4s ease-in-out;
}
.portfolio-item-inner li {
  position: relative;
  font-size: 18px;
  padding: 10px 0;
  margin-bottom: 4px;
}
.portfolio-item-inner li:after {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -2px;
  bottom: -4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: white;
  box-shadow: 10px 0 0 white, -10px 0 0 white;
}
.portfolio-item-inner li:last-child:after {
  content: none;
}
.portfolio-item:hover img {
  opacity: 0.45;
  transform: scale(1.1);
}
.portfolio-item:hover .portfolio-item-inner {
  top: 7%;
  bottom: 7%;
}
.portfolio-item:hover ul {
  opacity: 1;
  transition-delay: 0.5s;
}
@media (min-width: 530px) {
  .portfolio-item {
    flex-basis: 50%;
    flex-shrink: 0;
  }
}
@media (min-width: 768px) {
  .portfolio-item {
    flex-basis: 33.333333333%;
  }
}

.studi-img{
  width: 550px;
  height: 450px;
  box-shadow:  4px 4px 9px #1569ae, -4px -4px 9px #bbdefb;
}

.studi-img img{
  height: 450px;
}