:root {
	--title-color: #8c6d54;
	--text-color: #515046;
	--bg-color: #a4e1fc;
	--alt-color: #fff;
	--button-color: #544C36;
	--button-color2: #DECEA8; 
	--text-color2: rgba(234, 229, 215, 0.8);
	--border-color:#bfa66f;
}

body {
  background: var(--text-color2) url("https://file.garden/aZG0jf3ch2qR4shv/forNeo/niwa.jpg")center;
  background-size: cover;
  position: relative;
  display: block;
  margin: auto;
  width: 850px;
	line-height: 1.5;
	color: var(--text-color);
	font-size: 90%;
	font-family:georgia;
}

.maine{
  width: fit-content;
  background-image: url(https://file.garden/aZG0jf3ch2qR4shv/forNeo/i01-bg-cloth.gif);
  padding: 10px;
  padding-left: 150px;
  box-shadow: 0px 0px 5px 3px #4a2f1e;
}
main {
  display: block;
  min-height: 540px;
  margin: 75px 0px 0px 4px;
  padding: 32px 12px 32px 22px;
  background: var(--text-color2);
  border-radius: 10px;
  border: double 4px var(--title-color);
  box-shadow: inset 2px 0px 7px 0px var(--border-color), inset -2px 0px 6px 1px var(--border-color);
}

.gradient{
  background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 0) 100% );
  width: 80%;
  }

.return{
  cursor: pointer;
  font-family: Times New Roman;
  color: var(--text-color);
  font-weight: 500;
  font-size: 25px;
  text-transform: uppercase;
  text-align: center;
  width: 70%;
  padding: 25px;
  margin: 15px 0px 0px 15px;
  background-image: url("https://file.garden/aZG0jf3ch2qR4shv/forNeo/nor_city006.jpg");
  background-position: top;
  background-size: cover;
}

a {
   color: var(--text-color);
   text-decoration: none
  
  }
  
  h1{
  border-bottom: 2px dashed;
  font-weight: 500;
  font-size: 25px;
  background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 20%, rgba(255, 255, 255, 0.5) 80%, rgba(255, 255, 255, 0) 100% );

}
  
.tablinks,.tablinksdeco{
  border:ridge 2px var(--title-color);
  border-radius: 20px;
  background: linear-gradient(var(--border-color), var(--button-color) 40%, var(--border-color));
  padding: 5px;
  text-align: center;
  margin:5px;
  margin-left:2px;
  margin-bottom:25px;
  filter:drop-shadow(0 0.5px 0.5px gray) drop-shadow(0.5px 0.5px 1px gray)drop-shadow(-0.5px 0.5px 0 gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-size: 19px;
  font-family: Times New Roman;
  color: var(--text-color2);
}
.tablinks{
width: 130px;  
}
.tablinksdeco{
padding-top: 15px;
width: 24px;
}
.tablinks:focus,.tablinks:hover, .return:focus,.return:hover {
  font-style: italic;
  cursor:pointer;
}
  

  
.img{
  height: 560px;  
  margin: 25px;
  margin-left:5px;
}

.icon{
  float:left;
  flex-direction: column;
  height: 130px;
  width: 130px;
  margin: 15px;
  text-align: center;
  align-items: center;
  transition: background-color 0.1s ease;
} 
.icon img {
  border: solid 6px var(--text-color2);
  border-image: url("https://file.garden/aZG0jf3ch2qR4shv/forNeo/border.png") 7 fill round;
  object-fit: cover;
  width: 95%;
  display: block;
  transition: all 0.5s;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;}
  
  
.gallery img {
  border: solid 6px var(--text-color2);
  border-image: url("https://i.imgur.com/NJa4bp2.png") 8 fill round;
  object-fit: cover;
  display: flex;
  transition: all 0.5s;
  margin: 4px;
  height: 150px;
  width: 150px;
}


/* The Close Button */
.close {
  cursor: pointer;
  color: var(--alt-color);
  text-shadow: 1px 1px 1px var(--link-color);
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 32px;
  font-weight: 900;
}

.close:hover,
.close:focus {
  font-style: italic;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
  height: 100%; 
  width: 100%; 
}


/* Next & previous buttons */
.prev,
.next {
  font-family: Times;
  color: var(--alt-color);
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  font-weight: bold;
  font-size: 70px;
}

.next {
  right: 0;
}

.prev:focus,.prev:hover,.next:focus,.next:hover {
  text-shadow: 1px 1px 15px var(--title-color);
}

@media(orientation:portrait), (max-width: 600px) {
  
  .return, body, main, .maine, .gradient{
    margin: 0 auto;
    width: auto;
    }
   
.maine{
  padding-left:10%;}
  .icon {
        width:40%;
        }
        .gallery img{
           width: 20vw;
          }
          .tapblinks{
            margin:auto;
            padding:0;}
  .img, .tablinksdeco{
          display: none;}
 .button{
    width:auto;
      }

  }