html {
    scroll-behavior: smooth;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    margin: 0;
    padding-top: 60px; /* match nav height */
}

.landing-page {
    background-image: url(./assets/pink-cloud-mountain.jpg);
    background-color: black;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    -webkit-mask-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    height: 100vmax;
    width: 100vw;
}

a {
    text-decoration: none;
    color: black;
  }

header {
    font-size: larger;
    border-radius: 10px;
}

.section-name {
    text-align: center;
    padding-top: 20%;
    width: fit-content;
    font-size: x-large;
    margin: auto;
    padding-bottom: 0;
}

.project-container {
    text-align: center;
    z-index: 1;
    margin-bottom: 10%;
}

.break-line {
    border: 1px solid black;
    width: 50%;
    margin: auto;
    margin-bottom: 100px;
}

.title-section {
    margin-bottom: 100px;
}

.div-project {
    margin-bottom: 100px;
}

.disclaimer {
    font-size: small;
}

.myButton {
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
	background-color:#f9f9f9;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#666666;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton:hover {
	background:linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
	background-color:#e9e9e9;
}
.myButton:active {
	position:relative;
	top:1px;
}

@media (max-width: 768px) {
    /* Constrain the nav content inside the fixed top-nav */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;  /* Prevents overflow on small screens */
    overflow-x: hidden;  /* Hide horizontal overflow */
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  /* Ensure nav items wrap or fit on small screens */
  .nav-ul {
    display: flex;
    flex-wrap: wrap;        /* Allows items to wrap to the next line */
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Prevent nav items from stretching too wide */
  .nav-li-page, .nav-li-links {
    margin: 0 5px;
    white-space: nowrap;     /* Prevents text from breaking mid-word */
    font-size: 14px;          /* Shrink font slightly if needed */
  }
  
  /* Adjust section spacing below header */
  .landing-page {
    padding-top: 60px;
    height: 100vh;
  }
  }

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }
  
  .nav-links,
  .social-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a,
  .social-links a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    transition: color 0.2s ease;
  }
  
  .nav-links a:hover,
  .social-links a:hover {
    color: #007acc;
  }