@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;  
}

body {
  background: #f8f7f7;
}

.titulo {
  background: #ffffff;
  padding: 10px calc((100% - 1400px) / 2);
  display: flex;
  flex-wrap: wrap; 
  border-bottom: 1px solid green; 
}

/*  */

.titulo h2 {
  /* margin: 0 auto; */
  font-size: 24px;
  color: #484848;
  text-align: left;  
  margin-bottom: 20px;
  margin-top: 20px;
  border-bottom: 5px solid green;
}

/* obras */

.obras {
  background: #ffffff;
 /*  padding: 10px calc((100% - 1100px) / 2); */
  padding: 40px 60px 30px 60px;
  display: flex;
  flex-wrap: wrap;
}

.obras info {
  background: #ffffff; 
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.obras h3 {
  width: 100%; 
  font-size: 28px;
  padding-top: 60px;
  padding-bottom: 30px;
  text-align: left;
}

.obras a {
  color: inherit;
}

.obras-corpo {
  background: #ffffff;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: space-around;
}

.obras-item {
  background: #ffffff;
  max-width: 100%;
  padding: 5px;
  margin: 10px;
  margin-bottom: 50px;
  animation-duration: 2.5s;
  animation-delay: unset;
  text-align: center;
  border: 1px solid rgb(211, 210, 210);
}

.obras-item:hover {
  box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
  -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
}

.obras-item img {
  /* padding-bottom: 20px; */
  width: 280px;
  height: 200px;
  object-fit: cover;
}

.obras-item h3 {
  font-size: 1.3em;
  color: green;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 10px;  
}

.obras-item a {
  font-weight: bold;
  color: inherit;
  color: green;
  font-size: 20px;
}

.obras-item p {
  font-size: 1em;
  color: rgb(68, 67, 67);
  font-size: 16px;
  text-align: center;
}

.box {
  position: fixed;
  display: block;
  overflow: hidden;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  -webkit-font-smoothing: antialiased;
  visibility: hidden;
}

.box.fade:target > img {
  -webkit-transition: opacity 1s;
     -moz-transition: opacity 1s;
       -o-transition: opacity 1s;
          transition: opacity 1s;
}


.box, .box > img, .box > div {top: 0;left: 0;right: 0;bottom: 0;}


.box {top: -100%;}
.box:target {top: 0;visibility: visible;}


.box > a {
  margin-top: 10px; 
  margin-right: 15px;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.box > a:hover {
opacity: 1
}


.box > img, .box > div {
  position: absolute;
  margin: auto;
  box-shadow: 0 3px 3px -1px rgba(0, 0, 0, 0.3), 0 1px 0px 0px rgba(0, 0, 0, 0.05);
}

.box > img {
max-width: 80%;
max-height: 80%;
display: block;
line-height: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.box > .vid iframe, .box > .vid object, .box > .vid embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.box > .vid {
  max-width: 800px;
  height: 450px;
  width:100%;
}

.box > .text::before {
content: "";
background-image: #ffffff;
background-repeat: repeat;
background-size: 45%;
background-position: 50% 50%;
}
.box > .text {
 position: relative;
  max-width: 60%;
  max-height: 50%;
  top: 20%;
  bottom: auto;
  padding: 2em;
  background: #eee;
  color: #757575;
  width:100%;
  overflow-y: scroll;
  display: block;
  font-family: 'Raleway', sans-serif;
  line-height: 20pt;
  text-align: left;
  font-weight: 400;
}
.box > .text > img {
width: 100%;
height: auto;
}


.box.fade > img, .box.fade > div {
  opacity: 0;
}
.box.fade:target > img, .box.fade:target > div {
  opacity: 1;
}

@-webkit-keyframes bounce {
  0% {-webkit-transform: scale(0)}
  50% {-webkit-transform: scale(1.1)}
  100% {-webkit-transform: scale(1)}
}
@-moz-keyframes bounce {
  0% {-moz-transform: scale(0)}
  50% {-moz-transform: scale(1.1)}
  100% {-moz-transform: scale(1)}
}
@keyframes bounce { 
  0% {transform: scale(0)}
  50% {transform: scale(1.1)}
  100% {transform: scale(1)}
}

.box.bounce:target > img, .box.bounce:target > div {
  -webkit-animation: bounce 1s none;
     -moz-animation: bounce 1s none;
       -o-animation: bounce 1s none;
          animation: bounce 1s none;
}

.box:target > img, .box:target > div {
  border: 12px solid white;
}

.box > span a {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none; 
}
.box > span a {
  color: #fff;
  font-size: 50px;
  text-decoration: none;
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; 
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin-left: 10px;
  top: 55%;
  margin-top: -55px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.box > span a:hover, .box > span a:focus {
  opacity: 1;
  filter: alpha(opacity=100); 
}
.box > span a:active {
  margin-top: -54px; 
}
.box > #right a {
right: 0; 
margin-right: 10px; 
}
.box > h2 {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 22px;
  color: white;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  margin-top: 10px;
}

.box > p {
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 16px;
  color: rgb(199, 194, 194);
  text-align: center;
  font-family: 'Raleway', sans-serif;
  margin-top: 10px;
}

.box:target {
outline: none;
display: block;
}

#flex-container {
margin-top: 55px;
background-color: #fff;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
background-image: url(#);
}



@media (max-width: 700px) {

  .obras {
    padding: 40px 10px 30px 10px;
  }

  .obras h3 {
    font-size: 22px;
    text-align: center;
  }

  .obras-item {
    margin-right: 0px;
    margin-left: 0px;
  }

  .obras-item img {
    width: 100%;
    height: 230px;
  }

  .tab-img label{
    margin: 0 auto;
  }

  .modulo-img {
    border-right: 0;
  }

  .modulo-info {
    text-align: center;
  }

  .titulo {
    justify-content: center; 
  }

   .box > h2 {
    margin-top: 20px;
  } 
}