/* Setup variables
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Roboto&display=swap");
:root {
  --h1: 38px;
  --h2: 34px;
  --h3: 32px;
  --h4: 26px;
  --h5: 22px;
  --h6: 20px;
  --h7: 18px;
  --h8: 14px;
  --h9: 12px;

  --label: 38px;
  --ls: 5px;
  --body: 18px;
  --bodycolor: linear-gradient(to top, #dfe9f3 0%, white 100%);

  --font-1: "Montserrat", sans-serif;
  --font-2: "Roboto", sans-serif;
}

/* Styles for body tag
*/
body {
  background: var(--bodycolor);
  font-size: 12px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Styles for footer
*/

footer {
  margin-top: auto;
}

/*
styles for projects page
*/
.proj-points {
  font-family: var(--font-2);
  font-size: var(--h7);
  color: black;
}

/* Styles for labels */
.label-1,
label-2,
label-3 {
  font-family: var(--font-1);
  font-size: var(--h2);
}

.label-2 {
  font-size: var(--h4);
}
.label-3 {
  font-family: var(--font-2);
  font-size: var(--h7);
}

.label-4 {
  font-family: var(--font-1);
  font-size: var(--h7);
  font-weight: bold;
}

.label-5 {
  font-family: var(--font-1);
  font-size: var(--h8);
}
.label-6 {
  font-family: var(--font-1);
  font-size: var(--h9);
  font-style: italic;
}
.label-7 {
  font-family: var(--font-2);
  font-size: var(--h8);
}
.contact-label-1 {
  font-family: var(--font-2);
  font-size: var(--h7);
  font-weight: bold;
}
/* Styles for icons*/
[id^="icon-"] {
  font-size: 32px;
  color: black;
}

[id^="icon-footer-"] {
  font-size: 25px;
  color: white;
}

.grad-icon {
  font-size: 22px;
  color: black;
}

/* styles for homepage/index*/
#homepage_cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  height: 99vh;
  width: 99vw;
  padding: 2px;
  text-align: center;
  font-family: var(--font-1);
  font-size: var(--label);
  color: white;
  letter-spacing: var(--ls);
}

/* Style the links inside the navigation bar */
.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 18px;
  font-family: var(--font-2);
}

/* Change the color of links on hover */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.navbar a.active {
  background-color: white;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/* Media Queries for responsive design*/
@media (max-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (max-width: 568px) {
  .container {
    max-width: 568px;
  }
}
