
*{
  font-family: "Amaranth", serif;
  font-weight: normal;
}

/******NAVIGATION BAR*******/
#navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #efab0e;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#navbar a {
  flex: 1;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
  position: relative;
  font-size: 1.2em;

}

#navbar a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #915602;
  transition: all 0.3s;
}

#navbar a:hover::before {
  width: 100%;
  left: 0;
}

#navbar a:hover {
  background-color: #dc9a00;
  color: #FFF;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#navbar a:active {
  transform: translateY(2px);
}

@media screen and (max-width: 768px) {
  #navbar a {
    padding: 10px 12px;
    font-size: 1em;
  }
}

/*********TITLE BAR**********/

.title-bar {
  background: linear-gradient(to right, #fae28b, #F6B80EFF, #fae28b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}


.title-bar h1{
  margin: 0;
  padding: 0;
  text-align: center;
  color: white;
  font-size: 2.5em;
  letter-spacing: 1px;
  animation: slideInFromLeft 1s forwards;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  position: relative;
}
.title-bar p{
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
.title-bar a{
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
.title-bar a:hover{
  color: #008b8b;
}

/********TEXTBOX********/
.textbox{
  display: flex;
  flex-direction: column;
}
.textbox h3,h2{
color: #008b8b;

}
/**********GENERAL********/
h1{
  color: #008b8b;
  text-align: center;
  font-size: 50px;
}

p,h1,h2,h3,a{
  margin-left: 10px;
}

p,li,a{
  font-size: 20px;
}

a:hover{
  color: #064444;
}
.textbox h3:hover{
  color: #064444;
}

.downloads{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;

}
.downloads img{
  width: 250px;
  height: 100px;
}

.person{
  display: inline-block;
  width: 22vw;
  margin-top: 20px;
  margin-left: 20px;
}
.person img{
  width: 12vw;
  height: 15vw;
}
.person img,p,a{
  margin-left: 5px;
}


.vertical {
  margin-top: 30px;

  Float:left;
  height: 500px;
  width:1px;
  background-color: rgb(128, 128, 128);
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

body{
  margin:0;
}
.box{
  justify-content: space-between;
  margin-left: 50px;
  margin-right: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.box img{
  padding-left: 70px;
  align-self: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.tbox{
  width: 50%;
}

.personbox{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.center {
  margin: auto;
  padding: 10px;
}

#funktion_textbox2{
  margin-left: 50px
}
#index_image2{
  height: 300px;
  width: 400px;
}
#funktion_image3{
  width: 100px;
  height: 150px;
}
.sun_share_logo{
  width: 400px;
  height: 200px;
}

/* Responsive font size for better readability on different devices */
@media screen and (max-width: 800px) {
  h1{
    font-size: 6vw;
  }
  .title-bar h1{
    font-size: 4vw;
  }
  #navbar a{
    font-size: 2vw;
  }
  .textbox h1 {
    font-size: 4vw;
  }
  .textbox h3,h2 {
    font-size: 3vw;
  }
  .textbox p,ul,li {
    font-size: 3vw;
  }
  .textbox li {
    font-size: 3vw;
  }
  .person p,a{
    font-size: 2vw;
  }
  .box_image{
    width: 45vw;
    height: 25vw;
  }
  #funktion_image1{
    width:50vw;
    height:70vw;
  }
  #funktion_textbox2{
    margin-left: 0;
  }
  .box img{
    margin-bottom: 10px;
  }
  .tbox{
    width:100%;
  }
  .vertical{
    height: 65vw;
  }
  #index_image2{
    width: 50vw;
    height: 40vw;
  }
  #funktion_image2{
    width: 35vw;
    height: 35vw;
  }
  #funktion_image3{
    width: 15vw;
    height: 25vw;
  }
}

@media screen and (max-width: 1000px) {
  .tbox{
    width: 100%;
  }
}


@media screen and (max-width: 1130px) {
  #index_image1{
    order: 2;
  }
  #index_textbox1{
    order:1;
  }
  #funktion_image1{
    order:2;
  }
  #funktion_textbox1{
    order:1;
  }
  #funktion_image2{
    order:2;
  }
  #funktion_image3{
    order:3;
  }
  #funktion_textbox2{
    order:1;
  }

}

