* {
  box-sizing: border-box;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 10px;
border: 0px solid blue;
}


html {
  margin-top: 2%;
  margin-bottom: 0%;
  margin-right: 2%;
  margin-left: 2%;
}


button {
    outline: none;
  }

h1 {
padding-top: 40px;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
color: #000;
 text-align: left;
line-height: 1;
font-weight: 500;
}



h2.next {
  font-family: 'Roboto', sans-serif;
  font-size: 42px;
color: #000;
 text-align: right;
line-height: 0.2;
font-weight: 500;
}

p.nextName {
padding-top: 0px;
padding-bottom: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
color: #999;
 text-align: right;
line-height: 0.5;
font-weight: 300;
}


.nextPro {
  background-color: #fff;
  border: none;
  color: white;
  padding: 0px 0px;
  margin: 0px 0px;
  opacity: 1;
  transition: 0.1s;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
align: right;
}

.nextPro:hover{opacity: 0.5}


a.contact:link {color:#000; text-decoration: none;}
a.contact:visited {color:#000; text-decoration: none;}
a.contact:hover {color:#000; text-decoration: none; background:yellow;}



.copyright{
	color: #999;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
line-height: 0.6;
 text-align: left;
font-weight: 300;

}

/* hover */

.container {
  position: relative;
  width: 100%;
max-width: 435px;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

hr.new1 {
   border: 1px solid #000;
}

hr.new2 {
   border: 10px solid #000;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
   background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.6); /* Black see-through */
}

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

.text {
  color: #fff;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
letter-spacing: 1px;
font-weight: 300;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
 opacity: 1;
}






img {
  max-width: 100%;
  height: auto;
}





#img1 {
  width: 100%;
  height: auto;
}

/* close button */

#closeContainer {
  width: 70px;
  height: 46px;
  background: #fff;
  float: right;
padding-left: 20px;
position:relative;
}


.buttonClose {
  background-color: #fff;
  border: none;
  color: white;
  padding: 0px 0px;
  margin: 0px 0px;
  opacity: 1;
  transition: 0.2s;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.buttonClose:hover {opacity: 0.4}






/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}

@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}