
html {
  scroll-behavior: smooth;
}


body{
  width: 100%;
  padding: 0px;
  margin:0px;
  font-family: Garamond, serif;
  background-image: url(bg.jpg);
  background-size: cover;
  color: #ffffff;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: auto;
}

.keret{
 background-color: rgba(0, 0, 0, 0.7);
 width: 1100px;
 height: 900px;
 margin: 10px;
 border-radius: 20px;
 position: absolute;
 top: 5%;
 left: 20%;
 transition: all 0.4s;
}

.keret h1{
  text-align: center;
  font-size: 60px;
}

.keret h2{
  text-align: justify;
  font-size: 35px;
  margin-left: 35px;
  margin-right: 35px;
}

#section1 img{
  margin-left: 255px;
  border: 2px solid #c4c40e;
  box-shadow: 5px 10px 10px #000000;
  width: 512;
  height: 256;
  transition: all 0.4s;
}

.keret h3{
  text-align: justify;
  font-size: 30px;
  margin-left: 35px;
  margin-right: 35px;
}

.keret h4{
  text-align: justify;
  font-size: 20px;
  margin-left: 35px;
  margin-right: 35px;
}

.keret li{
  font-size: 25px;
  margin-left: 35px;
  margin-right: 35px;
}

a{
    color: #ffffff;

}

#section2{
  position: absolute;
  top: 110%;
  height: 1900px;
}

#section2 img{
  position: absolute;
  right: 60px;
  border: 2px solid #c4c40e;
  box-shadow: 5px 10px 10px #000000;
  width: 312;
  height: 200;
}

#section3{
  position: absolute;
  top: 310%;
  height: 300px;
  margin-bottom: 150px;
}

.topnav {
  overflow: hidden;
  position: fixed;
  width: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7);
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  transition: all 0.4s;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.footer{
  position: absolute;
  bottom: -2500px;
  width: 100%;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 20px;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #04AA6D;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  transition: all 0.4s;
}

#myBtn:hover {
  background-color: #555;
}

@media only screen and (max-width:800px) {
  /* For tablets: */
  body {
    width: 80%;
  }
}
@media only screen and (max-width:500px) {
  /* For mobile phones: */
  body {
    width: 100%;
    }
    #section2{
      top: 120%;
    }
    #section3{
      top: 360%;
    }
  }
