@charset "utf-8";
:root {
    --text: #fff;
    --bg: #252525;
}
body {
    font-family: "Noto Sans SC", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-size: 16px;
    color: var(--text);
    background-color: var(--bg);
    margin-bottom: 0px;
}
/* Define the style for the top bar */
.top-bar {
    position: fixed;
    top: -60px; /* Set the initial top position to -50px to hide the top bar */
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #333;
    transition: top 0.5s ease-in-out; /* Add a transition effect to the top property */
}
/* Define the style for the title text */
.title-text {
    font-size: 18px;
    font-weight: 600;
	letter-spacing: 2px;
    margin-top: 4px;
	margin-left: 5%;
    text-align: left;
    line-height: 50px;
	font-family: helvetica;
	color: #fff;
}
.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  position: fixed;
  width: 100%;
  color: #000;
  opacity: 0.85;
  height: 50px;
  z-index: 12;
	top: 0px;
}

.navbar-container {
  display: flex;
  justify-content: flex-end;
  height: 64px;
  align-items: right;
}

.menu-items {
  order: 2;
  display: flex;
}

.menu-items li {
  list-style: none;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;

  font-size: 1rem;
	
}

.menu-items a {
  text-decoration: none;
  color: #fff;
  font-weight: 200;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  text-decoration: underline;
	text-decoration-thickness: 1px;
  transition: text-decoration 0.3s ease-in-out;
}
.no_wrap {
	white-space: nowrap;
	} 
.content {
    max-width: 900px;
    margin: auto auto;
    padding: 0px;
}
h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: left;
    position: relative;
    margin-left: 10%;
    margin-right: 10%;
    color: #fff;
}
h2 {
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    position: relative;
    margin-left: 10%;
    margin-right: 10%;
    color: #fff;
}
h3 {
    font-size: 15px;
    font-weight: normal;
    text-align: end;
    margin-top: 30px;
    margin-right: 20px;
    position: sticky;
}
.content h4 {
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    margin-top: 20px;
    margin-left: 20px;
    position: sticky;
}
.content h5 {
    font-size: 12px;
    font-weight: normal;
    text-align: end;
    margin-top: 5px;
    margin-right: 5px;
    position: sticky;
}
.content p {
    font-size: 15px;
    font-weight: normal;
    text-align: left;
    align-content: center;
    margin-top: 30px;
    margin-left: auto;
    padding-left: 30px;
    padding-right: 20px;
    margin-right: auto;
    max-width: 600px;
    width: auto;
    position: sticky;
}
.cover-image {
    background-image: url('img/intro.png');
    background-size: cover;
    height: 500px;
    display: flex;
    align-items: left;
    justify-content: left;
    text-align: left;
    flex-direction: column;
}
.cover-image h1 {
    font-size: 4em;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 15vh;
    line-height: 1.1em;
    color: #fff;
}
.cover-image h2 {
    font-size: 16px;
    font-weight: normal;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: -10px;
    color: #fff;
}
.content reference {
    display: relative;
    align-self: center;
    margin-top: 20px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    height: 400px;
}
.content reference img {
    width: 400px;
    height: 400px;
}
.content ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: sticky;
    max-width: 600px;
    min-width: 300px;
    align-self: center;
    text-align: left;
}
.content ul p {
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    align-content: left;
    margin-top: 20px;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 20px;
    max-width: 400px;
    position: sticky;
}
.content li {
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px;
}
.content li div {
    display: flex;
    justify-content: space-around;
}
.content img {
    margin-top: 20px;
    width: auto;
    max-width: 40vw;
    max-height: 300px;
}
.footer {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-bottom: 0px;
    margin-top: 80px;
    font-size: 16px;
    height: 130px;
}
.footer p {
    font-size: 14px;
    color: #838383;
    text-align: center;
    margin-top: 30px;
    background-color: #333;
    margin-bottom: 0px;
    font-family: "Noto Sans SC", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
}
.footer ul {
    list-style-type: none;
    display: flex;
}
.footer ul li {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    border-radius: 0;
    box-shadow: none;
    display: block;
    align-content: center;
}
.footer ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
@media screen and (max-width: 768px) {
   .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
	  right: 0px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 22px;
    top: 5px;
    right: 34px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    height: 23px;
    width: 22px;
    position: absolute;
	 
    top: 18px;
    right: 34px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 10px;
    background: #fff;
  }

  .navbar-container .hamburger-lines .line1 {
	  position: absolute;
    transform-origin: 50% 50%;
	-webkit-transform:
            rotate(90deg); 
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
	    position: absolute;
    transform-origin: 50% 50%;
	  -webkit-transform:
            rotate(0deg); 
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
	align-items: flex-end;
    background: #000;
    height: 103vh;
    max-width: 50vw;
	  transform: translateX(100vw);
	  -webkit-transform: translateX(100vw);
    display: fixed;
    flex-direction: column;
    padding-right: 15px;
	  margin-top: 0px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #000;
  }
  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translatex(calc(100vw - 100%));
	  -webkit-transform: translatex(calc(100vw - 100%));
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(135deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(45deg);
  }
	.top-bar {
        top: -60px; /* Set the top position to 0 to show the top bar on small screens */
		height: 40px;
    }
    .title-text {
        font-size: 12px;
		margin-top: -5px;
		font-weight:300;
    }
    .cover-image h1 {
        font-size: 2.5em;
    }
}
@media (prefers-color-scheme: light) {
    :root {
        --text: #000;
        --bg: #F3F3F3;
    }
    .top-bar {
        background-color: #333;
    }
    .footer {
        background-color: #333;
    }
    .footer p {
        background-color: #333;
    }
    .footer ul {
        color: #000;
        background-color: #333;
    }
    .footer ul li {
        color: #000;
        background-color: #333;
    }
    .footer ul li a {
        color: #fff;
        background-color: #333;
    }
   .content li {
        background-color: #dfdfdf;
    }
}