
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.6;
  color: #383838;
  background: #CFCFCF;
  margin: 0 auto;
  max-width: 1000px;
  overflow-x: hidden;
}

.MainWrapper {
  max-width: 1000px;
  background-color: #E4E4E4;
  border: 0px;
  border-radius: 10px;
  margin-top: 20px;
  padding: 20px;
}

.Footer {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  font-size: .8em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Menu styling */

.menu a {
  font-family: 'DM Serif Display', serif;
  text-decoration: none;
  color: #383838;
  border-top: 2px solid #383838;
  border-bottom: 2px solid #383838;
  text-align: center;
  margin: 5px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 0.8;
}

.menu .menutext:hover {
  background-color: #CFCFCF;
}

.menutext {
  display: inline-block;
  min-width: calc(20% - 15px); /* 18.5% */ 
  margin-top: 10px;
  margin-bottom: 10px;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0px;
    padding-top: 10px;
    padding-bottom: 0px;
    overflow: hidden;

  }

  .menu li {
    float: left;
    min-width:18.5%;
    margin: 7px;
    border-top: 2px solid #383838;
    border-bottom: 2px solid #383838;
    font-family: 'DM Serif Display', serif;
  }
  
  .menu li a {
    display: block;
    color: #333;
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
  }
  
  .menu li a:hover {
    background-color: #CFCFCF;
  }

  .menu .active {
    font-style: italic;
  }

  /* responsive menu with hamburger */

  .menu .icon {
    display: none;
    border-top: 0px;
  border-bottom: 0px;
  }

  @media screen and (max-width: 875px) {
    .menu a:not(:first-child) {display: none;}
    .menu a.icon {
      float: right;
      display: block;
    }
  }

  @media screen and (max-width: 875px) {
    .menu.responsive {position: relative;}
    .menu.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .menu.responsive a {
      float: none;
      display: block;
      text-align: left;
    }

    .menu a {
      font-family: 'DM Serif Display', serif;
      text-decoration: none;
      color: #383838;
      border-top: 0px solid #383838;
      border-bottom: 0px solid #383838;
      text-align: center;
      margin: 5px;
      padding-left: 0px;
      padding-right: 0px;
      padding-top: 5px;
      padding-bottom: 5px;
      font-size: 0.8;
    }

  }

/* image in the top of the page with rounded corners */  

.corners {
    border-radius: 10px;
    margin-bottom: 20px;
  }

  /* gallery on the front page */

  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}

.gallery div {
    width: calc(33.33% - 10px);
    margin-bottom: 10px;
    box-sizing: border-box;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

@media (max-width: 700px) {
    .gallery div {
        width: 100%;
    }
}

/* hover effect in the gallery*/

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  min-width: 80%;
}

.container:hover .image {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  background-color: #CFCFCF;
  color: #383838;
  font-size: 0.8em;
  padding: 5px;
  margin:0px;
  min-width: 100%;
  border-radius: 10px;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.container {
  position: relative;
  width: 100%;
}

/* About page */

.aboutContainer {
  display: flex;
  align-items: flex-start;
  margin: 20px auto;
  padding: 20px;
}

.aboutText {
  flex: 1;
  text-align: center;
  padding-right: 0px;
}

.aboutText p{
  padding: 0px;
  margin: 0px;
}
.aboutImage {
  flex: 1;
  text-align: center;
}

.aboutImage img {
  max-width: 100%;
  border-radius: 100%;
}

.subtitle {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  font-size: .6em;
}

@media (max-width: 600px) {
  .aboutContainer {
      flex-direction: column;
  }

  .aboutText, .aboutImage {
      text-align: left;
      padding: 0;
  }
}

/* references page*/

p.signature {
  text-align: right;
}

.otro-blockquote{
  font-size: 100%;
  width:80%;
  margin:50px auto;
  font-style:italic;
  color: #333333;
  padding:1.2em 30px 1.2em 75px;
  line-height:1.6;
  position: relative;
  background:#CFCFCF;
  border-radius: 10px;
}

.otro-blockquote::before{
  font-family:Arial;
  content: "\201C";
  color:#333333;
  font-size:4em;
  position: absolute;
  left: 10px;
  top:-10px;
}

.otro-blockquote::after{
  content: '';
}

.otro-blockquote span{
  display:block;
  color:#333333;
  font-size: 90%;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

/* table styling in offer page */

table {
  border-collapse: collapse;
  border-spacing: 0px;
  max-width: 100%;
  white-space:nowrap;
  border: 1px solid #ddd;
  margin-top: 30px;
}

th, td {
  text-align: left;
  padding-right: 20px;
}

@media (max-width: 600px) {
  th, td {
    font-size: 80%;
  }
}

