@charset "UTF-8";

* {
    margin: 0px;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: black;
    color: white;
}

hr {
    color:red;
}

a {
    color: white;
}

a:visited {
    color:white;
}

/* HEADER */
/* SOCIAL LINKS HEADER */

.site-header {
    display: flex;
    flex-direction: column; /* stack rows */
    width: 100%;
}

.social-links {
    padding:0.6rem;
}

.socials-links ul {
    list-style-type: none;
}

.socials-links li {
    float: left;
    margin-left: 2rem;
}

.social-links img {
    opacity: 0.75;
}

.social-links img:hover {
    opacity: 1;
}

/* LOGOS */

.logos-wrappper {
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo-wrapper {
    float: left;
}

.site-logo {
    height: 75px;
    width: auto;

}

.site-title a {
  font-size: 75px; /* adjust text size */
  line-height: 1; /* prevents extra spacing */
  color: red;
  margin-right: 1rem;
}

/*
NAVBAR
*/

.navbar {
    list-style-type: none;
    padding: 0;
}

.navbar a {
    text-decoration: none;
    font-size: 1.2rem;
}

.navbar-unit {
    text-align: center;
}

.navbar-unit:hover {
    background-color: red;
    color: black;
}

/* MAIN */

.hero-text {
    height: 500px;
    display: flex;
    flex-direction: column;      /* stack heading, paragraph, button */
    justify-content: center;     /* vertical center */
    align-items: center;         /* horizontal center */
    text-align: center;          /* center text inside block */
    gap: 1rem;   
}

.hero-text h1 {
    font-size: 3rem;
}

.hero-photo {
    width: 100%;
    height: 150px;
    object-fit:cover;
    object-position: center 39%;
}

.featured {
  display: flex;
  /* justify-content: center;   center figures in the row */
  flex-wrap: wrap;           /* allow wrapping if multiple figures */
  gap: 1rem;
}

.featured figure {
  display: inline-block;     /* shrink-wrap to content */
  border: 1px solid white;
  margin: 0;
  flex: 0 0 auto;            /* prevent figure from stretching */
}

.featured img {
  display: block;            /* removes extra whitespace below image */
  width: 300px;              /* lock image width */
  height: auto;
}

.featured figcaption {
  max-width: 300px;          /* match the image width */
  margin: 0 auto;
  word-wrap: break-word;
}
