@font-face { /* Font Face Rule, used for downloaded fonts */
    src: url(../TutorialWebsite/Fonts/Bangers-Regular.ttf);
    font-family: Bangers;
}


.science-gothic- Goth {
  font-family: "Science Gothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "wdth" 125,
    "CTRS" 0;
}


*{
    box-sizing: border-box;
}
body{
    margin: 0;
    background-color: #FAF3E0;
    /* background-color: black; */
    display: flow-root;
}

.HeadOfDoc {
    background-color: #1E90FF;
   /* background-color: #007BFF; */
    /* background-color: #4169E1; */
    border: solid 3px black;
    display: block;
}

.HeadOfDoc h1{
    text-align: center;
    font-family: "Science Gothic";
    margin-top: 0px;
    padding-top: 2%;
    padding-bottom: 0px;
    font-size: 55px;
    width: 100%;
    
}

.HeadOfDoc img{
    width: 250px;
    height: auto;
}
.navbar{
    padding-left: 0;
}

/* New Style for mobile */
.navbar ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
/*
.navbar ul{
    list-style-type: none;
    padding: 0px;
    margin-top: 0px;
    overflow: hidden;
}
*/
.navbar a{
    color: rgba(255, 255, 255, 0.863);
    font-family: "Bangers";
    font-size: 20px;
    text-decoration: none;
    padding-right: 20px;
    padding-left: 15px;
    display: inline-block;
    text-align: center;
    position: relative;
}

.navbar a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background:rgba(0, 0, 0, 0.895);
  transition: width 0.2s ease-out;
}

.navbar a:hover::before {
  width: 100%;
}

.navbar a:hover {
    font-size:21px;
    color: rgba(255, 255, 255, 0.959);
}



/*
.navbar a:hover{
    background-color: #898888;
}
*/

/*
.navbar li a {
    transition: all 0.3s ease 0s;
}
*/
img {
    height: 150px;
    width: 170px;
    float: left;
}


.navbar li {
    float: none; /* REMOVE float */
}
/*
.navbar li{
    float: left;
}
*/


#IntroVid{
    display: flex;
    justify-content: center;
}

.MidSection {
    margin-left: 0%;
    margin-right: 0%;
    text-align: center;
    color: rgb(0, 0, 0);
}

.MidSection {
 /* background-color: rgb(255, 252, 252); */
 background-color: #FAF3E0;
 /* border: solid 1px black; */
  padding: 1rem;
  width: 100%;
}

.MidSection p{
    font-size: 25px;
    text-align: center;
    width: 100%;
    margin-left: 0%;
}

.FeatureSection {
  background-color: #1E90FF;
  height: 25%;
  width: 100%;
  padding: 1rem 1rem;
}

.Container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* image | text */
  gap: 5rem;
  align-items: center;

  max-width: 1100px;
  margin: 0 auto;
}

.Container img {
  width: 100%;
  height: auto;
  display: block;
}

.DividerImageContainer {
    max-width: 100%;
    height: 35vh;
    display: block;

}

.DividerImage {
    Width: 100%;
    height: 100%;
    object-fit: cover;
}
#largediv {
    height: 40vh;
}
video{
    display: block;
    margin: 0 auto;
    width: 80%;
    height: auto;
}



/*  new code */
/* Hide menu button on desktop */
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

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

    .left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
        margin: 10px;
    }

    .navbar ul {
        display: none; /* hide menu initially */
        flex-direction: column;
        background-color: #1E90FF;
        width: 100%;
    }

    .navbar ul.active {
        display: flex; /* show when toggled */
    }

    .navbar li {
        text-align: center;
        padding: 10px 0;
    }

    .HeadOfDoc h1{
        font-size: 20px;
    }

   .HeadOfDoc img{
    width: 100px;
    height: auto;
   }

   .DividerImage {
    Width: 100%;
    height: 100%;
    object-fit:fill
}
}
