/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "DM Sans", sans-serif;
}

/* Background image for the whole page */
body { 
    background-color: rgba(0, 0, 0, 0.899);
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    font-family: "DM Sans", sans-serif;
}

/* Top navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

/* Logo */
.logo {
    font-size: 2rem;
    color: aqua;
}

#logo-link{
  font-size: 2rem;
  color: white;
  text-decoration: none;
}

.logo:hover{
    cursor: pointer;
}

/* Nav links */
.nav-links a {
    color: white;
    margin-left: 4rem;
    text-decoration: none;
    font-size: 25px;
}

.nav-links a:hover {
    color: aqua;
}

/* Main content */
.main-content {
    padding-top: 90px;
    text-align: left;
    padding-left: 90px;
    font-size: xx-large;
}

#main-para{
  font-size: x-large;
  text-align: left;
  padding-left: 90px;
  width: 680px;
}

.tiles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 90%;
  margin: 40px auto;
}

.tile {
  background-color: cadetblue; 
  border-radius: 16px;
  color: white;
  padding: 10px;
  box-shadow: 0 6px 12px rgb(26, 70, 245);
  text-align: center;
  transition: transform 0.2s ease;
}

.tile:hover {
  transform: translateY(-8px);
  cursor: pointer;
}

.tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.tile-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.tile-description {
  font-size: 1.5em;
  color: #d3d3d3;
}

.tile-links {
  text-decoration: none;
  color: inherit;
}

/* For mobile phones - navbar stays horizontal */
@media (max-width: 600px) {
  .navbar {
    padding: 0.8rem 1rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
  }

  .nav-links a {
    font-size: 18px;
    margin-left: 0;
    white-space: nowrap;
  }

  .main-content {
    padding-left: 20px;
    font-size: large;
  }

  #main-para {
    padding-left: 20px;
    width: 100%;
    font-size: medium;
  }

  .tiles-container {
    grid-template-columns: 1fr;
    padding: 0 15px;
    gap: 20px;
  }

  .tile img {
    height: 160px;
  }

  .tile-title {
    font-size: 1.3em;
  }

  .tile-description {
    font-size: 1em;
  }
}

/* About page CSS:  */

.about-page{
  height: 85vh;
  margin: 100px 50px 10px 50px;
}

.about-tile-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 200px;
  margin: 5px 5px 0px 20px;
}

.about-tile {
  width: 400px;
  margin: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  border-radius: 12px;
  padding: 15px;
}

.about-tile img {
  width: 100%;
  height: 200px;
  border-radius: 12px; /* rounded image corners */
  display: block;
  margin-bottom: 20px;
}

.about-tile-description {
  color: white;
  font-size: 20px;
  text-decoration: overline;
}





/* Button configurations:
.custom-button {
    background-color: #4CAF50;       
    color: white;              
    border: none;             
    padding: 12px 24px;     
    font-size: 16px;                 
    border-radius: 8px;              
    cursor: pointer;                 
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-left: 100px;
}


.custom-button:hover {
    background-color: #45a049;       
    transform: scale(1.05);         
}

.custom-button:active {
    transform: scale(0.98);         
} 
*/