/*
  - karenzagames.css
  - April 30, 2026
  - Starting a new website
  */

/* FONTS TO BE USED */
/* Montserrat Regular **/
@font-face {
  font-family: "Montserrat-Regular";
  font-weight: 400;
  font-style: normal;
  src:
    url("fonts/Montserrat-Regular.woff2") format("woff2"),
    url("fonts/Montserrat-Regular.woff") format("woff");
}

@font-face {
  font-family: "Montserrat-Thin";
  font-weight: 100;
  font-style: normal;
  src: url("fonts/Montserrat-Thin.woff") format("woff");
}

@font-face {
  font-family: "Lato-Light";
  font-weight: 300;
  font-style: normal;
  src: url("fonts/Lato-Light.woff") format("woff");
}

@font-face {
  font-family: "Lato-Regular";
  /*a name to be used later*/
  src: url("fonts/Lato-Regular.woff");
  /*URL to font*/
}

* {
  box-sizing: border-box;
}

:root {
  --header-height: 120px;
  --portfolio-header-height: 182px;
}

body {
  max-width: 1024px;
  margin: 2px auto;
  font-family: "Lato-Regular", Courier, monospace;
}

/* The header should have the height of the included headshot image */
#header,
#site-header {
  max-width: 1024px;
  width: 100%;
  height: var(--header-height);
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 100;
}

#index-header {
  max-width: 1024px;
  width: 100%;
  height: auto;
}

div.headshot-container {
  width: 100%;
  padding-top: 0.3rem;
  margin-top: 0.3rem;
  padding-bottom: 1rem;
}

.headshot-container img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.header-logo {
  width: 100%;
  display: block;
}

.navigation-bar {
  width: 100%;
  display: flex;
  justify-content: end;
  margin: -3rem auto;
  background-color: gainsboro;
  bottom: 0;
  right: 0;

}

button {
  /* Set the color in each individual .css file */
  margin: 1px;
  padding: 4px 12px;
  background-color: #7c9fb2;
  color: whitesmoke;
  border: 1px solid darkslategray;
}

button.current {
  background-color: white;
}

button:hover {
  background-color: white;
  color: green;
  font-weight: 400;
}

button a {
  color: whitesmoke;
  font-family: "Lato", sans-serif;
  font-variant: small-caps;
  margin: 0 5px;
  font-size: 1.1em;
  font-weight: 100;
  text-decoration: none;
}

#main {
  max-width: 1024px;
  clear: both;
  margin: 0 auto;
  width: 100%;
  padding-top: var(--header-height);
}

article {
  clear: both;
  padding-top: 0;
  padding-bottom: 1rem;
  padding-left: 1rem;
}

p {
  font-family: "Lato", sans-serif;
  font-weight: 200;
  font-size: 1.1em;
  line-height: 1.4em;
}

footer {
  margin-top: 0.5rem;
  border-top: 1px solid darkslategray;
}

footer p {
  text-align: center;
  color: darkslategray;
  clear: both;
  padding-top: 5px;
  font-size: 0.7em;
}

@media screen and (min-width: 320px) and (max-width: 699px) {
  #site-header {
    height: var(--header-height);
  }

  #swiftblog-header {
    height: var(--swiftblog-header-height);
  }

  div.headshot-container {
    width: 100%;
    padding-top: 0.3rem;
    margin-top: 0.3rem;
    padding-bottom: 1rem;
  }

  .headshot-container img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  .navigation-bar {
    /* background-color: antiquewhite; */
    width: 100%;
    border: 1px darkslategray;
  }

  button {
    width: 25%;
  }

  button a {
    font-variant: normal;
    margin: 5px 0;
    font-size: 1em;
  }

  /* ???? */
  nav {
    display: flex;
    margin: 0;
    padding: 0;
    width: 100vw;
  }

  h3 {
    font-size: 1.2em;
    padding-top: 1rem;
    padding-bottom: 0.6rem;
  }

  main {
    clear: both;
    margin-top: 50px;
  }
}

@media only screen and (min-width: 700px) {
  body {
    max-width: 1024px;
    width: 100%;
    box-shadow:
      12px 0 15px -4px rgba(204, 204, 204, 0.6),
      -12px 0 8px -4px rgba(204, 204, 204, 0.6);
    margin: 1rem auto;
  }

  img.headshot {
    /* width: 100%; */
    padding-bottom: 2rem;
  }

  .navigation-bar nav {
    display: flex;
    justify-content: flex-end;
  }
}