@font-face { font-family: League Spartan; src: url('../fonts/LeagueSpartan-VariableFont_wght.ttf'); }
@font-face { font-family: Lexend Exa; src: url('../fonts/Lexend-VariableFont_wght.ttf'); } 

body{
    padding: 0;
    margin: 0;
}

.index-redirect-link{
    background-color: black;
    color: white;
    border: none;
    border-radius: 30px;
    width: 200px;
    transition: 0.3s
  }
  
.index-redirect-link:hover{
    background-color: rgb(198, 198, 198);
    opacity: 0.5;
    color: black;
}

.header-text {
    font-family: "League Spartan";
    font-optical-sizing: auto;
    font-size: 20px;
    text-align: center;
}

header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(5, 5, 5);
    color: white;
    height: 80px;
    
}

header {
    position: fixed;
    z-index: 1;
    display: flex;
    width: 100%;
    margin-top: 0px;
}

header ul{
    display: flex;
    list-style: none;
    gap: 50px;
    
} 

a {
    color:white;
    font-family: Lexend Exa;
    font-size: 16px;
    text-decoration: none;
    user-select: none;
}

.menu-items {
    display: flex;
    align-items: center;
}

.menu-items a {
    margin-right: 20px;
}

.hamburger-lines {
    display: none;
}

.checkbox {
    display: none;
}

#logo{
    height:60%;
}

#logo-inner {
    height: 70px;
}
/*      --      HERO SECTION    --      */

#hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 75px 35px 55px 4px; 
}

.row{
    margin-top: 20px;
}

.lines{
    height: 70px
}

#subtitle{
    color: black;
    font-family: Lexend Exa;
    font-size: 20px;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 30px;;
}

.button{
    border: 4px solid;
    text-align: center;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
  }
  
.op{
    background-color: rgb(230, 176, 0);
    border-color: rgb(230, 176, 0);
    padding: 20px 40px 20px 40px;
    color: black;
    border-radius: 40px;
    font-family: Lexend Exa;
    font-size: 18px;
}
.op:hover{
    background-color: rgb(255, 255, 255);
    border-color:  rgb(230, 176, 0);
}

  

/*      --      FEATURES SECTION    --      */

#features{
    background: url(assets/train-bg.png)no-repeat;
    padding-top: 170px;
    height: 800px;
}

#content-1, #content-2{
    width: 450px;
    font-size: 18px;
    font-family: Lexend Exa;
    flex-wrap: wrap;
}

#content-1, #feature-title-1{
    margin: 5px;
    margin-left: 350px;
    margin-right: 850px;
    text-align: center;
}

#feature-title-1 {
    margin-top: 140px;
}

#content-1 {
    font-size: 14px;
}

#content-2, #feature-title-2{
    margin-left: 850px;
    margin-right: 350px;
    text-align: center;
}

#feature-title-2{
    margin-top: 90px;
}

#content-2 {
    font-size: 14px;
}

.features-content{
    background: url("../assets/features-frame-bg.png")no-repeat;
    background-position: center;
    height: 100%;
}

#features.home-section{
    background-image: url("../assets/train-bg.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
}

.features-content {
    display: inline-block;
}

#feature-title-1, #feature-title-2{
    padding-top: 80px; 
    font-size: 23px;
    font-family: Lexend Exa;
    font-weight: bold;
    color: #406302;

}

/*      --      TUTORIAL SECTION    --      */

#tutorial{
    text-align: center;
}

#tutorial-content{
    font-size: 18px;
    font-family: Lexend Exa;
    position: relative;
    bottom: 50px;
}

#tutorial-title{
    font-size: 64px;
    color: #406302;
    font-weight: bolder;
    font-family: Lexend Exa;
}

.tutorial{
    background-color: #ffffff;;
    border-color: #406302;
    padding:10px 18px;
    color: #406302;
    border-radius: 50%;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bolder;
    font-size: 30px;
    position: relative;
    bottom: 30px;
}

.tutorial:hover{
    background-color: #406302;
    color: #ffffff;
}

#artwork{
    width: 100%;
    margin-left: -7px;
}

.img-tutorial-bg {
    width: 100%;
}

/*      --      FOOTER SECTION    --      */

footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 250px;
    padding: 35px;
    background-color: #406302;
/*  min-width: 1440px; */
    height: 250px;
    margin-top: -10px;
}

footer ul{
    display: flex;
    list-style: none;
} 

#train-line-cont{
    margin: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#copyright{
    position: absolute;
    margin-top: 250px;
    word-spacing: 2px;
}

@media screen and (max-width: 361px){
body{
    padding: 0;
    margin: 0;
}

header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    position: relative;
    height: 80px;
}

header ul{
    display: flex;
    list-style: none;
    gap: 50px;
    background-color: transparent;
} 

a {
    color:white;
    font-family: League Spartan;
    font-size: 16px;
}

.menu-items {
    display: none;
}

.hamburger-lines {
    display: block;
}

.checkbox:checked ~ .menu-items {
    display: block;
}

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

#logo{
    margin: 20px;
}

/*      --      HERO SECTION    --      */

/* CHANGES MADE STARTS HERE */ 
#hero.home-section{
    height: 500px;
    background-repeat: no-repeat;
    background-image: url("../assets/hero.png");
    margin-left: 20px;
}

#hero{
    margin-top: 50px;
}
.row{
    display: none;
}

#subtitle{
    color: black;
    font-family: League Spartan;
    font-size: 20px;
    text-align: center;
    padding-top: 450px;
}

.button{
    border: 4px solid;
    text-align: center;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 2px;
  }

/* CHANGES MADE ENDS HERE */  

.op{
    background-color: rgb(230, 176, 0);
    border-color: rgb(230, 176, 0);
    padding: 20px 40px 20px 40px;
    color: black;
    border-radius: 40px;
    font-family: Lexend Exa;
    font-size: 18px;
}
.op:hover{
    background-color: rgb(255, 255, 255);
    border-color:  rgb(230, 176, 0);
}

/*      --      FEATURES SECTION    --      */

/* CHANGES MADE STARTS HERE */
#features{
    padding-top: 200px;
    height: 600px;
    margin-top: 100px;
}

.features-content{
    background: url("../assets/features-frame-bg-mobile.png");
    background-repeat: no-repeat;
    margin-top: -120px;
    height: 660px;
}

#content-1, #feature-title-1, #content-2, #feature-title-2{
    margin: 15px;
    text-align: center;
    width: 300px;
}

#feature-title-2{
    margin-top: 50px;
}


/* CHANGES MADE ENDS HERE */

#content-1, #content-2{
    font-size: 14px;
    font-family: League Spartan;
    flex-wrap: wrap;
}

#features.home-section{
    padding-right: -20px;
}

#feature-title-1, #feature-title-2{
    padding-top: 100px; 
    font-size: 24px;
    font-family: Lexend Exa;
    font-weight: bold;
    color: #406302;
}

#feature-title-2{
    padding-top: 180px;
}


/*      --      TUTORIAL SECTION    --      */

#tutorial{
    text-align: center;
}

#tutorial-content{
    font-size: 18px;
    font-family: League Spartan;
    position: relative;
    padding-top: 30px;
    bottom: 50px;
    margin: 50px;
}

#tutorial-title{
    font-size: 40px;
    color: #406302;
    font-weight: bolder;
    font-family: Lexend Exa;
}

.tutorial{
    background-color: #ffffff;;
    border-color: #406302;
    padding:10px 18px;
    color: #406302;
    border-radius: 50%;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bolder;
    font-size: 30px;
    position: relative;
    bottom: 30px;
}

/* CHANGES MADE ENDS HERE */

.tutorial:hover{
    background-color: #406302;
    color: #ffffff;
}

#artwork{
    width:100%;
    margin-left: -7px;

}

/*      --      FOOTER SECTION    --      */

footer{
    display: flex;
    flex-wrap: wrap;
    padding: 70px;
    gap: 140px;
    background-color: #406302;
    margin-top: -10px;
}

#train-line-cont{
    margin-top: -100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#branding{
    width: 225px;
    margin-left: -30px;
    margin-top: -50px;
}

/*      Hamburger Menu      */

.container {
    width: 100%;
    margin: 0;
    padding: 0; 
}
.navbar {
    width: 100%;
    background-color: black;
    opacity: 100;
    box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
}
  
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
}
  
.navbar .menu-items {
    display: flex;
    gap: 20px
  }
  
.navbar .nav-container a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.7rem;
  }
  
.navbar .nav-container a:hover{
    font-weight: bolder;
  }
  
.nav-container {
    display: block;
    position: relative;
    height: 60px;
  }
  
.nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }
  
.nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
.nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #ffffff;
  }
  
.nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }
  
.nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }
  
.nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }
  
.navbar .menu-items {
    padding-top: 120px;
    background-color: black;
    height: 100vh;
    width: 100%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
}
  
.navbar .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
}
 
.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
   transform: rotate(45deg);
}
  
.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
}
  
.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
}
  
.nav-container input[type="checkbox"]:checked ~ .logo{
    display: none;
}

}