/* Image Slider */
  * {box-sizing:border-box}

  /* Image Slider div */
  .image-slider {
    width: 100%;
    position: relative;
    margin: auto;
  }

  .images {
    display: none;
  }

  /* prev and next buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  /* positioning the next button to the extreme right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, change colour to black which is a bit translucent */
  .prev:hover, .next:hover {
    color: rgba(0, 0, 0, 0.708);
  }

  /* Subject name style */
  .subjectTitle {
    color: white;
    background-color: rgba(0, 0, 0, 0.707);
    padding: 5px;
    border-radius: 5px;
    font-family: Title;
    font-size: 25px;
    position: absolute;
    top: 10%;
    right: 6%;
    text-align: center;
  }

  /* Subject Description Style */
  .subjectDescription {
    position: absolute;
    top: 25%;
    right: 6%;
    background-color: rgba(0, 0, 0, 0.707);
    color: white;
    padding: 10px;
    margin-left: 50%;
    font-family: Body;
    font-size: 18px;
    text-align: right;
    border-radius: 5px;
  }

  /* Caption text for each Image */
  .caption {
    color: white;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  }

  /* Dots shoing the position of the image slider */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #d2d2d2;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  /* Style of dots when they are on current page and when they are just hovering */
  .active, .dot:hover {
    background-color: #7c7979;
  }

  /* Animation of fading */
  .fade {
    animation-name: fade;
    animation-duration: 1s;
  }

  /* Animation properties */
  @keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
  } 

/* Website name and Logo on Top */
.top {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

  .titleAndLogo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2%;
    flex-wrap: wrap;
  }

  .websiteTitle:hover {
    color: gold;
  }
  
  .websiteTitle {
    font-size: 16px;
    font-family: Title;
    display: block;
    text-align: center;
    color: black;
  }

  .logoTitle img {
    padding: 10px;
    width: 80px;
    border-radius: 50%;
  }

  .logoTitle:hover img {
    width: 90px;
  }

/* Dropdown*/
  #menu {
    width: 25px;
    height: 25px;
    background-image: url("images/Menu.png");
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: background-image 0s, opacity 0.5s;
  }

  .dropdown:hover #menu{
    background-image: url("images/Hover-menu.png");
    animation: fancy 0.5s;
  }

    /* Animation for the menu fading */
    @keyframes fancy {
      from {opacity: 0.4;}
      to {opacity: 1;}
    }

  /* The container for dropdown position */
  .dropdown {
    position: absolute;
    left: 10px;
  }

  /* Dropdown Content Hidden by Default */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: Body;
    font-size: 14px;
  }

  .dropdown-content a:hover {
    background-color: #ccc;
    animation: fancy 0.5s;
  }

  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {display: block;}

/* Video */
  .video-container {
    text-align: center;
  }

  .vids {
    display: flex;
    justify-content: space-between;
    margin: 5%;
  }

/* Footer */
  footer {
    background-color: rgba(255, 217, 0, 0.742);
  }

  /* Organisation on Footer */
    .footer {
      list-style-type: none;
      margin: 0;
      padding: 0;
      overflow: hidden;
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding-right: 1%;
    }
    
    /* Title and Logo */
    .titleAndLogoFooter {
      width: 100%;
      display: flex;
      justify-content: start;
      align-items: center;
      gap: 2%;
      flex-wrap: wrap;
    }

    .logoFooter img{
      border-radius: 50%;
      width: 40px;
    }

    .youtube img {
      border-radius: 50%;
      width: 40px;
    }

    .websiteTitleFooter {
      color: black;
      font-size: 100%;
    }

    .websiteTitleFooter:hover {
      background-color: rgba(255, 255, 255, 0.545);
      border-radius: 10px;
      padding: 5px;
      animation: fancy 2.0s;
    }
  
  /* Email to */
  .mail:hover {
    background-color: rgba(0, 0, 0, 0.762);
    color: white;
    padding: 2px;
    border-radius: 5px;
    font-size: 17px;
    animation: fancy 2.0s;
  }

  /* Credits */
  .credit {
    font-size: 11px;
  }

/* Navigation Bar */
  .navigator ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(255, 217, 0, 0.696);
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .navigator li {
    font-family: Title;
    font-size: 12px;
    width: 100%; 
    height: 100%;   
    }

  .navigator li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px;
    text-decoration: none;
  }

  /* Change the link color to #111 (black) on hover */
    ul a:hover {
      background-color: gold;
      animation-name: appear;
      animation-duration: 2s;
    }

    @keyframes appear {
      from {color: gold}
      to {opacity: 1}
    } 
body {
    background: white;
    font-family: Body;
  }
  p {
    color: black;
    font-family: Body;
    font-size: 16px;
    text-align: center;
    margin: 10px;
  }
  h1 {
    font-weight: bold;
    font-family: Title;
  }
  h2 {
    font-family: Title;
    font-size: 25px;
    text-align: center;
    margin: 10px;
  }

/* Other Pages Layout */
  .subjectImages {
    position: relative;
    margin: auto;
    animation: fancy 2.0s;
  }

  .courseContainer {
    display: flex;
    justify-content: space-between;
    margin: 7%;
  }

  .courseContainer ol {
    flex: 1;
    padding-left: 20px; /* keeps the numbers visible */
    list-style-position: inside; /* keeps numbers aligned with text */
  }

  .courseLinks a, li{
    text-align: left;
    font-family: Body;
    font-size: 17px;
    color: black;
    text-decoration: none;
  }

  .courseLinks:hover a, .courseName:hover{
    background-color: rgba(255, 217, 0, 0.694);
    padding: 2px;
    border-radius: 5px;
    animation: fancy 2.0s;
  }

  .courseName {
    text-decoration: none;
    background-color: rgba(247, 225, 98, 0.694);
    padding: 2px;
    border-radius: 5px;
    font-family: Title;
    color: black;
    font-size: 22px;
  }
  
  /* Caption text for each Image */
    .normal-caption {
      color: white;
      font-size: 12px;
      padding: 8px 12px;
      position: absolute;
      top: 0;
      font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
  
.noUnderline {
  text-decoration: none;
  color: black;
}

.subjectDemo {
  font-size: 20px;
}

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

.insta {
  width: 700px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Page */
  /* Style inputs with type="text", select elements and textareas */
  input[type=text], select, textarea {
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ffd000; 
    border-radius: 4px; 
    box-sizing: border-box; 
    margin-top: 6px; 
    margin-bottom: 16px; 
    resize: vertical;
  }

  /* Style the submit button with a specific background color etc */
  input[type=submit] {
    background-color: #10d28b;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  /* When moving the mouse over the submit button, add a darker green color */
  input[type=submit]:hover {
    background-color: #12924e;
  }

  /* Add a background color and some padding around the form */
  .contact-container {
    padding: 20px;
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background-color: #fff5c2;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

  ::placeholder, select {
    font-family: Body;
  }

@font-face {
  font-family: Title;
  src: url(lemon_milk/LEMONMILK-Medium.otf);
}

@font-face {
  font-family: Body;
  src: url(unageo/ttf/Unageo-Medium.ttf);
}
