* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hidden {
  display: none;
}

img.hidden {
  transform: rotate(-540deg);
}

#par {
  width: 100%;
}

nav {
  background-color: #A3BF6F;
  width: 100%;
  padding: 10px 20px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

nav a {
  text-decoration: none;
}

nav div {
  z-index: 500;
}

nav p {
  font-size: 25px;
  font-family: 'Days One', sans-serif;
  color: #444E30;
  text-align: left;
  line-height: 1.2;
}

nav #right {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-left: auto;
  align-self: flex-start;
  margin-bottom: 10px;
}

nav #right img {
  display: block;
  margin-top: 5px;
  width: auto;
  height: auto;
}

#menu {
  box-shadow: 0 4px 10px 0 rgba(68, 78, 48, 0.71);
  background-color: #718251;
  outline: 2px #A3BF6F solid;
  padding: 16px 20px;
  border-radius: 10px;
  position: relative;
  width: 200px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

#menu p {
  color: #A3BF6F;
  font-family: 'Days One', sans-serif;
  font-size: 25px;
  text-align: left;
}

#menu img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

#menu ul {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px 0 rgba(68, 78, 48, 0.71);
  background-color: #444E30;
  outline: 2px #A3BF6F solid;
  z-index: 999;
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu li {
  background-color: #A3BF6F;
  list-style: none;
  margin: 4px;
  padding: 8px 12px;
}

#menu li:first-child {
  border-radius: 5px 5px 0 0;
}

#menu li:last-child {
  border-radius: 0 0 5px 5px;
}

#menu li a {
  text-align: center;
  font-size: 16px;
  font-family: 'Comfortaa', cursive;
  width: 100%;
  display: block;
  cursor: pointer;
  color: #444E30;
  text-decoration: none;
}

header {
  background-color: rgb(200, 200, 200);
  width: 100%;
}

header img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

#abt {
  background-color: #A3BF6F;
  width: 100%;
}

#abt .main {
  color: #718251;
  font-size: 100px;
  font-family: 'Days One', sans-serif;
  text-align: center;
  padding-top: 31px;
  text-shadow: 0 4px 4px #252A16;
}

#abt .sec {
  color: #3C452B;
  font-size: 38px;
  font-family: 'Courier New', Courier, monospace;
  padding: 31px;
}

#abt .sec p {
  display: inline-block;
}

#abt div {
  display: grid;
  grid-template-areas:
    "img1 img1 img1 img2 img2 img2 img2 img3 img3 img3"
    "img4 img4 img4 img4 img4 img4 img5 img5 img5 img5";
  grid-template-rows: auto auto;
  grid-template-columns: repeat(10, 1fr);
  gap: 20px;
  width: 97%;
  margin: auto;
  padding-bottom: 31px;
}

#abt div figure {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  outline: 2px white solid;
}

#abt div figure:nth-child(1) { grid-area: img1; }
#abt div figure:nth-child(2) { grid-area: img2; }
#abt div figure:nth-child(3) { grid-area: img3; }
#abt div figure:nth-child(4) { grid-area: img4; }
#abt div figure:nth-child(5) { grid-area: img5; }

#st {
  background-color: #C9E399;
  width: 100%;
  padding: 50px;
  background-image: url('st.png');
  background-size: cover;
  display: flex;
  height: 1000px;
  position: relative;
}

#st #flexdiv {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 50%;
}

#st figure {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 5;
  width: 50%;
  height: auto;
}

#st .main {
  font-family: 'Comfortaa', cursive;
  font-size: 100px;
  color: #5F703F;
  -webkit-text-stroke: 4px #444E30;
}

#st .sec {
  font-family: 'Comfortaa', cursive;
  font-size: 50px;
  color: #5F703F;
  font-weight
: bold;
}

#gal {
  background-color: #A3BF6F;
  width: 100%;
  background-image: url('gal.png');
  background-size: cover;
  position: relative;
  padding: 40px;
}

#gal p {
  color: #3C452B;
  font-size: 38px;
  font-family: 'Courier New', Courier, monospace;
  padding: 31px;
}

#galpar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: auto;
}

#swipe {
  width: 900px;
  max-width: 80vw;
  height: 600px;
  max-height: 50vw;
  overflow: hidden;
  display: flex;
  outline: 7px white solid;
  border-radius: 20px;
}

#line {
  display: flex;
  width: 100%;
  height: 100%;
}

#swipe figure {
  width: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

#galpar > figure {
  cursor: pointer;
  width: 80px;
  height: auto;
  flex-shrink: 0;
  z-index: 10;
}

#links {
  background-color: #EDFFCC;
  background-image: url('links.png');
  background-size: auto 100%;
  background-position: center;
  width: 100%;
  height: 150px;
  display:flex;
  justify-content: center; 
  align-items: center;
  gap:5px;
  padding:100px 0
}

#links p {
  font-family: 'Days One', sans-serif;
  font-size: 30px;
  color: #83975E;
  padding:30px
}

#links div {
  width:auto;
  display:flex;
  flex-direction:row;
  gap:10px;
  padding-right:30px
}

#links figure {
  object-fit: contain;
}

#con {
  background-color: #C9E399;
  background-image: url('conn.png');
  background-size: auto 100%;
  background-position: right;
  background-repeat: no-repeat;
  width: 100%;
  height: 700px;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#con a {
  text-decoration: none;
  display: block;
}

#con a,
#con p,
#con h2 {
  font-family: 'Berlin Sans FB Demi', 'Arial Black', sans-serif;
}

.con-top h2 {
  font-size: 56px;
  color: #5F703F;
  margin-bottom: 15px;
}

.con-email {
  font-size: 32px;
  color: #1F75FE;
  font-weight: bold;
  margin-bottom: 15px;
}

.con-phones a {
  font-size: 32px;
  color: #1F75FE;
  font-weight: bold;
  margin-bottom: 8px;
}

.con-legal {
  font-size: 20px;
  color: #718251;
  line-height: 1.4;
  margin-bottom: 40px;
  max-width: 85%;
}

.con-privacy {
  font-size: 24px;
  color: #1F75FE;
  font-weight: bold;
}

footer {
  background-color: #444E30;
}

footer p {
  font-family: 'Days One';
  color: #C9E399;
  font-size: 38px;
  text-align: center;
}

#arrowTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  display: none;
  z-index: 999;
  border-radius: 50%;
  background: #A3BF6F;
  border: none;
  transition: background 0.3s ease;
}

#arrowTop:hover {
  background: #C9E399;
}

@media (max-width: 1560px) {
  #st .main {
    font-size: 90px;  
  }
  #st .sec {
    font-size: 40px;
  }
}

@media (max-width: 1210px) {
  nav p {
    font-size: 18px;
  }
  nav #right img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 1024px) {
  #abt .main {
    font-size: 50px;
    text-shadow: 0 2px 2px #252A16;
  }
  #abt .sec,
  #gal p {
    font-size: 28px;
  }
  #st .main {
    font-size: 60px;
  }
  #st .sec {
    font-size: 30px;
  }
  #links p {
    font-size: 20px;
  }
  #con {
    background-image: url('conn2.png');
  }
  #gal {
    background-image: url('gal2.png');
  }
  #st {
    background-image: url('st2.png');
  }
}

@media (max-width: 768px) {
  #left p:nth-child(1) {
    display: none;
  }
  #left p:nth-child(2) {
    font-size: 20px;
  }
  #menu p {
    display: block !important;
  }
  #con {
    padding: 15px;
    background-image: none;
	height:auto
  }
  #abt, #st, #gal {
    padding: 0 20px 20px 20px;
  }
  
  #list div {
	height:35%
  }

  #abt div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  #abt div figure {
    flex: 0 1 calc(45% - 10px);
    max-width: calc(45% - 10px);
  }
  
  #abt div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  #abt div figure {
    flex: 0 1 calc(100% - 16px);
    max-width: calc(100% - 16px);
  }
  
}

@media (max-width: 680px) {
  
    #st #flexdiv {
    width: 100%;
    padding-right: 0;
	}
	
  #st figure, #st figure img {
    display: none;
    width: 0%;
  }
  #flexdiv {
    width: 100%;
  }
  #flexdiv p {
    text-align: center;
  }
  #flexdiv div {
    width: 100%;
  }
  #st {
    position: static;
    height: auto;
    padding: 20px;
  }
  
  .arrow {
    width: 70px;
    height: 70px;
  }
  nav #left .mark {
	font-size:15px  
  }
  
  nav #right p {
	font-size:15px  
  }
  
  .con-top h2 {
    font-size: 40px;
    color: #5F703F;
    margin-bottom: 15px;
  }
  .con-email {
    font-size: 16px;
    color: #1F75FE;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .con-phones a {
    font-size: 16px;
    color: #1F75FE;
    font-weight: bold;
    margin-bottom: 8px;
  }
  .con-legal {
    font-size: 15px;
    color: #718251;
    line-height: 1.4;
    margin-bottom: 40px;
    max-width: 85%;
  }
  .con-privacy {
    font-size: 12px;
    color: #1F75FE;
    font-weight: bold;
  }
  
}

@media (max-width: 520px) {
  #links div {
    flex-wrap: wrap;
	justify-content:center
  }

  #links figure {
    flex-basis: 25%;
    margin-bottom: 10px;
  }
  #links p {
	font-size:15px
  }
  
}

@media (max-width: 425px) {
  nav p {
    font-size: 10px;
  }
  #menu p {
    font-size: 15px;
  }
  #menu {
    padding: 10px 16px;
    width: 140px;
  }
  #abt .sec{
    padding: 20px 0;
  }
  #gal p{
	padding:20px 0 0 0  
  }
  #st, #gal {
    background-image: none;
  }
  
  #abt .main {
	font-size:40px;
  }
  
  #st .main {
	font-size:40px  
  }
  
  #st .sec {
	font-size: 20px;
  }
  
  .arrow {
	width:30px;
	height:30px
  }
  
  #galpar {
	padding:30px 0 15px 0
  }
  
  #swipe {
	outline: 3px white solid;  
  }
  
}
