* {
  text-decoration: none;
}

@font-face {
  font-family: 'main';
  src: url(fonts/RINGM.TTF);
}

@font-face {
  font-family: 'brush';
  src: url(fonts/hobbitonbrushhand.ttf);
}

@font-face {
  font-family: 'moris';
  src: url(fonts/MorrisRomanBlack.ttf);
}

html {
  scroll-behavior: smooth;
}

body {
  background-image: url('bg/bg1.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}


.head {
  z-index: 999;
  padding-top: 5px;
  padding-bottom: 0px;
  position: fixed;
  width: 98.9%;
  background-color: rgba(255, 255, 255, 0.100);
  top: 1.5%;
  border-radius: 2rem;
  box-shadow: 0px 0px 50px rgb(0, 0, 0);
  backdrop-filter: blur(1.2px);
  transition-duration: 4s;
}

.head:hover {
  box-shadow: 0px 0px 50px rgba(255, 255, 255, 0.486);
  transition-duration: 0.8s;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: rgb(0, 0, 0);
  margin-left: 30px;
  text-shadow: 0px 0px 15px rgb(255, 255, 255);
  font-family: 'main';
  font-size: 2.27rem;
  cursor: pointer;
  transition-duration: 4s;

}
.logo:hover {
  color: rgb(216, 115, 0);
  text-shadow: 0px 0px 15px rgb(216, 115, 0);
  transition-duration: 0.5s;
}

header nav li {
  list-style: none;
  display: inline-block;
}

li a {
  color: white;
  font-family: 'brush';
  text-shadow: 0px 0px 10px rgb(0, 0, 0);
  font-size: 1.7rem;
  margin-right: 65px;
  transition-duration: 0.5s;
}

li a:hover {
  color: rgb(216, 115, 0);
  cursor: pointer;
  text-shadow: 0px 0px 15px rgb(0, 0, 0);

} 



/* footer */
.foot {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 2rem;
  box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.250);
  backdrop-filter: blur(1px);
  transition-duration: 4s;
}

.insta {
  width: 5%;
  border-radius: 100%;
  box-shadow: 0px 0px 20px rgba(0, 212, 0, 0.5);
  transition-duration: 0.5s;

}
.insta:hover {
  cursor: pointer;
  scale: 1.1;
  box-shadow: 0px 0px 20px black;
  filter: saturate(1.2);
}


@media (max-width: 875px){
  .insta {
  width: 7%;

}
}
@media (max-width: 420px){
  .insta {
  width: 10%;

}
}






/* footer */












/* Sections */

/* Timeline container */
.timeline {
  position: relative;
  width: 80%;
  margin: 100px auto; 
}

/* Center vertical line */
.line {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  box-shadow: 0px 0px 10px black;
  bottom: 0;
  background-color: black;
  z-index: 0;
}

/* Row layout */
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 150px 0;
  position: relative;
}

/* Containers */
.container {
  width: 35%;

}

.container.left {
  margin-left: 9%; /* brings left container closer to line */
  border-radius: 40px;
  transition-duration: 0.3s;
}

.container.last {
  margin-left: 32.65%; /*left container closer*/
  border-radius: 40px;
  transition-duration: 0.3s;
}

.container.first {
  margin-left: 32.65%; /* left container clo*/
  border-radius: 40px;
  transition-duration: 0.3s;
}

.container.right {
  margin-right: 9%; /*right container closer  */
  border-radius: 40px;
  transition-duration: 0.3s;
}




.image-box {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
}

.image-box img {
  width: 100%;
  display: block;
  border-radius: 40px;
}

/* paragraph overlay */
.overlay {
  font-family: moris;
  position: absolute;
  bottom: 0;
  height: 28%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; 
  backdrop-filter: blur(2px);
  color: white;
  padding: 0 2px; 
  font-size: 1.02rem;
  text-shadow: 0px 0px 10px black;
  text-align: center;
  box-sizing: border-box;
}

.gift-overlay {
  font-family: moris;
  position: absolute;
  bottom: 0;
  height: 18%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; 
  backdrop-filter: blur(2px);
  color: white;
  padding: 0 2px;
  font-size: 1.0rem;
  text-shadow: 0px 0px 10px black;
  text-align: center;
  box-sizing: border-box;
}


/* Headings */
.heading {
  width: 45%;
  z-index: 1;
}

.heading.left {
  text-align: right;
}

.heading.right {
  text-align: left;
}

.heading h1 {
  font-family: brush;
  color: black;
  text-shadow: 0px 0px 10px rgb(255, 255, 255);
  font-size: 3rem;
  margin: 0;
  transition-duration: 1s;
}

.heading h1:hover {
  cursor: pointer;
  color: rgb(216, 115, 0);
  text-shadow: 0px 0px 10px black;
  transition-duration: 0.5s;
}

/*headings */



/* Sections */














/* Header Responsive */


@media (max-width: 875px) {

    body {
    background: url('bg/bg1-m.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
  }


  .head {
    width: 98%;
  }



  .logo {
  color: rgb(216, 115, 0);
  text-shadow: 0px 0px 30px white;
  font-family: 'main';
  font-size: 1.8rem;
  cursor: pointer;

}

li a {
  text-shadow: 0px 0px 10px white;
  color: white;
  font-family: 'brush';
  font-size: 1.3rem;
  margin-right: 20px;
  margin-left: 40px;
  transition-duration: 0.5s;
}

  
}





@media (max-width: 730px) {

    .head {
    width: 97.5%;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .logo {
    color: rgb(216, 115, 0);
    margin-left: 0;
    text-shadow: 0px 0px 30px white;
    font-family: 'main';
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0; 
    margin-bottom: 10px; 
  }

  header nav ul {
    padding: 0;
    margin: 0;
    text-align: center;
  }

  header nav li {
    list-style: none;
    display: block;
    margin: 0px 0; 
  }

  li a {
    text-shadow: 0px 0px 10px white;
    color: white;
    font-family: 'brush';
    font-size: 1.3rem;
    padding: 0px 0; 
    margin: 0;
    transition-duration: 0.5s;
    text-align: center;
    display: inline-block;
  }
}


@media (max-width: 425px) {

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .logo {
    font-size: 2rem; 
    padding: 0;
    margin-bottom: 8px;
  }

  header nav ul {
    padding: 0;
    margin: 0;
    text-align: center;
  }

  header nav li {
    list-style: none;
    display: block;
    margin: 0px 0;
  }

  li a {
    font-size: 1.1rem; 
    padding: 0px 0; 
    margin: 0;
    text-align: center;
    display: inline-block;
  }
}


/* Header responsive */

























/* Timeline Responsive */

/*smaller screen scaling */
@media (max-width: 1200px) {
  .timeline {
    width: 90%;
  }

  .line {
    left: 50%;
  }

  .container {
    width: 40%;
  }

  .container.left {
    margin-left: 6%;
  }

  .container.right {
    margin-right: 6%;
  }

  .container.first,
  .container.last {
    margin-left: 30%;
  }

  .heading h1 {
    font-size: 2.5rem;
  }

  .overlay {
    font-size: 0.95rem;
  }

  .gift-overlay {
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {
  .container {
    width: 42%;
  }

  .container.left {
    margin-left: 5%;
  }

  .container.right {
    margin-right: 5%;
  }

  .container.first,
  .container.last {
    margin-left: 28%;
  }

  .heading h1 {
    font-size: 2.3rem;
  }

  .overlay {
    font-size: 0.9rem;
  }

  .gift-overlay {
    font-size: 0.85rem;
  }
}

@media (max-width: 875px) {
  .timeline {
    width: 95%;
    margin: 80px auto;
  }

  .container {
    width: 45%;
  }

  .container.left {
    margin-left: 5%;
  }

  .container.right {
    margin-right: 5%;
  }

  .container.first,
  .container.last {
    margin-left: 27%;
  }

  .heading h1 {
    font-size: 2rem;
  }

  .overlay {
    font-size: 0.80rem;
  }

  .gift-overlay {
    font-size: 0.8rem;
  }
}

@media (max-width: 728px) {
  .timeline {
    width: 98%;
    margin: 60px auto;
  }

  .container {
    width: 48%;
  }

  .container.left {
    margin-left: 4%;
  }

  .container.right {
    margin-right: 4%;
  }

  .container.first,
  .container.last {
    margin-left: 26%;
  }

  .heading h1 {
    font-size: 1.8rem;
  }

  .overlay {
    font-size: 0.8rem;
  }

  .gift-overlay {
    font-size: 0.75rem;
  }
}

@media (max-width: 425px) {
  .timeline {
    width: 100%;
    margin: 40px auto;
  }

  .container {
    width: 90%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .heading h1 {
    font-size: 1.5rem;
  }

  .overlay {
    font-size: 0.7rem;
  }

  .gift-overlay {
    font-size: 0.65rem;
  }
}






/* EXTRAAAAAAAAAAAAAAAAAAAAAAA changings */




 /* mobile */

@media (max-width: 875px) {

  .timeline {
    margin-top: 150px;
  }


  .line {
    display: none;
  }


  .heading {
    display: none;
  }

  /* containers on top of each other */
  .row {
    flex-direction: column;
    align-items: center; 
    margin: 50px 0; 
  }

  .container {
    width: 75%; 
    margin-left: 0 !important;
    margin-right: 0 !important;
  }


.overlay {
font-size: 1.3rem;

}




}

@media (max-width: 730px) {
    /*containers on top*/
  .row {
    flex-direction: column;
    align-items: center; 
    margin: 30px 0; 
  }

  .container {
    width: 75%; 
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 425px) {
    
  .row {
    flex-direction: column;
    align-items: center;
    margin: 18px 0; 
  }

  .container {
    width: 75%;
    margin-left: 0 !important;
    margin-right: 0 !important;

  }
}

@media (max-width: 375px) {
   
  .row {
    flex-direction: column;
    align-items: center; 
    margin: 20px 0; 
  }

  .container {
    width: 80%; 
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}




/*  mobile */




/* timeline for header */



@media (max-width: 730px) {
  .timeline {
    margin-top: 230px;
  }

}

@media (max-width: 425px) {
  .timeline {
    margin-top: 190px;
  }

}
@media (max-width: 283px) {
  .timeline {
    margin-top: 240px;
  }

}




/* time line for header */






/* overlay */  
@media (max-width: 1440px) {
  .overlay {
font-size: 0.85rem;


}
}
@media (max-width: 1340px) {
  .overlay {
font-size: 0.80rem;

}
}

@media (max-width: 1280px) {
  .overlay {
font-size: 0.75rem;

}
}

@media (max-width: 1200px) {
  .overlay {
font-size: 0.90rem;

}
}

@media (max-width: 1080px) {
  .overlay {
font-size: 0.80rem;

}
}

@media (max-width: 940px) {
  .overlay {
font-size: 0.75rem;

}
}

       @media (max-width: 875px) {
  .overlay {
    height: 15%;


}
}

@media (max-width: 800px) {
  .overlay {
font-size: 1rem;
height: 25%;


}
}

@media (max-width: 600px) {
  .overlay {
    font-size: 0.8rem;
  }

}

@media (max-width: 497px) {
  .overlay {
    font-size: 0.65rem;
  }

}
@media (max-width: 397px) {
  .overlay {
    font-size: 0.55rem;
    height: 25%;
  }

}
@media (max-width: 340px) {
  .overlay {
    font-size: 0.45rem;
    height: 25%;

  }

}


/* overlay */


/* gift overlay */

/* height */

@media (max-width: 1600px) {
  .gift-overlay {
    height: 21%;
  }


}

@media (max-width: 1440px) {
  .gift-overlay {
    height: 25%;
  }
}

@media (max-width: 1340px) {
  .gift-overlay {
    height: 35%;
  }


}

  @media (max-width: 1200px) {
  .gift-overlay {
    height: 16%;
  }


}

  @media (max-width: 480px) {
  .gift-overlay {
    height: 20%;
  }


}
 /* height */


 /* font */


 @media (max-width: 1440px) {
  .gift-overlay {
font-size: 0.85rem;


}
}
@media (max-width: 1340px) {
  .gift-overlay {
font-size: 0.85rem;
height: 22%;

}
}

@media (max-width: 1280px) {
  .gift-overlay {
font-size: 0.80rem;

}
}

@media (max-width: 1200px) {
  .gift-overlay {
font-size: 0.90rem;

}
}

@media (max-width: 1080px) {
  .gift-overlay {
font-size: 0.80rem;

}
}

@media (max-width: 940px) {
  .gift-overlay {
font-size: 0.75rem;

}
}

@media (max-width: 875px) {
  .gift-overlay {
  height: 12%;

}
}

@media (max-width: 800px) {
  .gift-overlay {
    height: 18%;
font-size: 0.95rem;



}
}

@media (max-width: 600px) {
  .gift-overlay {
    font-size: 0.75rem;
  }

}

@media (max-width: 497px) {
  .gift-overlay {
    font-size: 0.65rem;
  }

}
@media (max-width: 397px) {
  .gift-overlay {
    font-size: 0.55rem;

  }

}
@media (max-width: 340px) {
  .gift-overlay {
    font-size: 0.45rem;


  }

}


 /* font */




/* gift overlay */














/* headingfs */

@media (max-width: 1280px){
.heading h1 {
  font-family: brush;
  color: black;
  text-shadow: 0px 0px 10px rgb(255, 255, 255);
  font-size: 2.6rem;
  margin: 0;
}
}
/* headings */




/* hover on container */
#green:hover {
  box-shadow: 0px 0px 35px rgba(200, 255, 0, 0.5);
  scale: 1.040;
}

#orange:hover {
  box-shadow: 0px 0px 35px rgba(255, 136, 0, 0.5);
  scale: 1.040;
}

#sky:hover {
  box-shadow: 0px 0px 35px rgba(0, 255, 221, 0.5);
  scale: 1.040;
}

#blue:hover {
  box-shadow: 0px 0px 35px rgba(0, 47, 255, 0.5);
  scale: 1.040;
}

#black:hover {
  box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.7);
  scale: 1.040;
}

#white:hover {
  box-shadow: 0px 0px 35px rgba(255, 255, 255, 0.5);
  scale: 1.040;
}