/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


/* FONT FACES */

/* Goudy Old Style */
  /* Regular */
@font-face {
  font-family: "GoudyOldStyle";
  src: url("GOUDOS.woff2") format("woff2"),
       url("GOUDOS.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "GoudyOldStyle";
  src: url("GOUDOSB.woff2") format("woff2"),
       url("GOUDOSB.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Italic */
@font-face {
  font-family: "GoudyOldStyle";
  src: url("GOUDOSI.woff2") format("woff2"),
       url("GOUDOSI.TTF") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


/* Helvetica */
  /* Regular */
@font-face {
  font-family: "Helvetica";
  src: url("Helvetica.woff2") format("woff2"),
       url("Helvetica.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "Helvetica";
  src: url("Helvetica-Bold.woff2") format("woff2"),
       url("Helvetical-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* TEXT FORMATTING */
body {
  background-image: url(Paper.jpg);
  background-color: #F3F2ED;
  background-size: cover;
  background-position: center;
  color: #333130;
  font-family: Helvetica, Arial, sans-serif;
}

h1 {
  font-family: Helvetica, Arial, sans-serif;
}
h2 {
  font-family: Helvetica, Arial, sans-serif;
}
h3 {
  font-family: Helvetica, Arial, sans-serif;
}

p {
  font-family: GoudyOldStyle, serif;
  font-size: clamp(18px, 2.2vw, 25px);
}

p.SmallText {
  font-family: Helvetica, sans-serif;
  font-size: clamp(12px, 2vw, 14px);
    color: #854D23;
}


/* LINK FORMATTING */
/* unvisited link */
a:link {
  color: #333130;
}

/* visited link */
a:visited {
  color: black;
}

/* mouse over link */
a:hover {
  color: #854D23;
}

/* selected link */
a:active {
  color: #854D23;
}


/* NAVIGATION BAR */
/* Menu full section background color */
#Menu {
  background-color: #854D23;
  display: flex;
  justify-content: center;
}

/* TopNav Element */
.topnav {
  background-color: #EDEDE5;
  display: flex;
  justify-content: center;
  align-items: center;

  width: 80%;
  border: 4px solid #854D23;
  border-radius: 20px;
  
  flex-wrap: wrap;       /* allow links to move to next line */
  gap: 8px;
}

.topnav a {
  color: #854D23;
  text-align: center;
  padding: 0.4em 1em;
  text-decoration: none;
  font-size: clamp(14px, 1.5vw, 22px);
  font-weight: bold;
}

.topnav a:hover {
  background-color: #C49242;
  color: #EDEDE5;
}

.topnav .active {
  background-color: #A96736;
  color: #EDEDE5;
}


/* DISCLAIMER BOX (temporary?) */
#Disclaimer {
  background-color: #81BBAB;
  color: #EDEDE5;
  
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.4em 1em;
}

#Disclaimer p {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: bold;
  text-align: center;
  line-height: 1.5;  
  width: 80%;
}
#Disclaimer h1 {
  margin: 0; 
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 3vw, 28px); 
  text-align: center; 
}


/* ABOUT ME SECTION */
#About {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;

  width: 80%;
  max-width: 1200px;
  margin: auto;
  align-items: stretch;
}

.about-photo {
  margin-top: 2em;
  height: 100%;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: auto;
}

/* MOBILE LAYOUT */
@media (max-width: 700px) {

  #About {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    max-width: 400px;
    margin: 0;
      padding-top: 0;
  }
  
  .about-text {
    margin-bottom: 0;
    padding-bottom: 0;
  }

}
    
