/* ==========================================================
   SONNY'S WEBSITE
   2004-ERA STYLESHEET
   ========================================================== */


/* --------------------------
   PAGE
   -------------------------- */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #7c8ca0;

  /*
     If you later make a repeating background image,
     uncomment this:

     background-image: url("background.gif");
     background-repeat: repeat;
  */

  color: #000000;

  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.45;
}


/* --------------------------
   LINKS
   -------------------------- */

a:link {
  color: #0000cc;
  text-decoration: underline;
}

a:visited {
  color: #660099;
  text-decoration: underline;
}

a:hover {
  color: #ff0000;
  text-decoration: underline;
}

a:active {
  color: #ff6600;
}


/* --------------------------
   MAIN WEBSITE BOX
   -------------------------- */

.site {
  width: 900px;
  max-width: calc(100% - 20px);

  margin: 20px auto;

  background: #ffffff;

  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #333333;
  border-bottom: 2px solid #333333;

  box-shadow: 2px 2px 0 #000000;
}


/* --------------------------
   BANNER
   -------------------------- */

.site-banner {
  display: block;

  width: 100%;
  height: auto;

  border: 0;
  border-bottom: 2px solid #333333;
}


/* --------------------------
   TWO-COLUMN LAYOUT
   -------------------------- */

.layout {
  display: grid;
  grid-template-columns: 220px 1fr;

  background: #ffffff;
}


/* ==========================================================
   LEFT SIDEBAR
   ========================================================== */

.sidebar {
  padding: 10px;

  background: #d4dce6;

  border-right: 2px solid #59697a;
}


/* --------------------------
   PROFILE IMAGE
   -------------------------- */

.profile-picture {
  display: block;

  width: 180px;
  height: 180px;

  margin: 5px auto 10px auto;

  object-fit: cover;

  background: #ffffff;

  border-top: 2px solid #555555;
  border-left: 2px solid #555555;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;

  padding: 3px;
}


/* --------------------------
   SIDEBAR HEADINGS
   -------------------------- */

.sidebar h2 {
  margin: 8px 0 7px 0;
  padding: 3px 5px;

  color: #ffffff;
  background: #3e5875;

  border-top: 1px solid #8fa5bb;
  border-left: 1px solid #8fa5bb;
  border-right: 1px solid #1e2d3d;
  border-bottom: 1px solid #1e2d3d;

  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;

  text-transform: uppercase;
}

.sidebar p {
  margin: 7px 3px;
}


/* --------------------------
   PROFILE INFO
   -------------------------- */

.profile-info {
  margin: 10px 0;
  padding: 7px;

  background: #eef2f6;

  border-top: 1px solid #777777;
  border-left: 1px solid #777777;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;

  font-size: 10px;
}


/* --------------------------
   SIDEBAR LINKS
   -------------------------- */

.sidebar-links {
  margin-top: 12px;

  background: #eef2f6;

  border: 1px solid #667788;
}

.sidebar-links strong {
  display: block;

  padding: 3px 5px;

  color: #ffffff;
  background: #3e5875;

  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 11px;
}

.sidebar-links a {
  display: block;

  padding: 4px 7px;

  border-bottom: 1px dotted #999999;

  font-size: 10px;
}

.sidebar-links a:last-child {
  border-bottom: 0;
}

.sidebar-links a:hover {
  background: #ffffcc;
}


/* ==========================================================
   MAIN CONTENT
   ========================================================== */

.main-content {
  padding: 12px 15px 18px 15px;

  background: #ffffff;
}


/* --------------------------
   MAIN HEADINGS
   -------------------------- */

.main-content h2 {
  margin: 0 0 10px 0;
  padding: 4px 7px;

  color: #ffffff;

  background: #3e5875;

  border-top: 1px solid #8fa5bb;
  border-left: 1px solid #8fa5bb;
  border-right: 1px solid #1e2d3d;
  border-bottom: 1px solid #1e2d3d;

  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 14px;
}

.main-content h3 {
  margin: 8px 0 5px 0;
  padding: 3px 5px;

  color: #ffffff;
  background: #596f87;

  border-top: 1px solid #9aabba;
  border-left: 1px solid #9aabba;
  border-right: 1px solid #263747;
  border-bottom: 1px solid #263747;

  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 11px;
}


/* --------------------------
   WELCOME AREA
   -------------------------- */

.welcome {
  margin-bottom: 15px;
}

.welcome p {
  margin: 8px 4px;
}


/* ==========================================================
   VIDEO + SITE UPDATES
   ========================================================== */

.media-area {
  display: grid;

  grid-template-columns: 2fr 1fr;
  gap: 12px;

  margin-top: 15px;
}


/* --------------------------
   YOUTUBE PLAYER
   -------------------------- */

.latest-video {
  min-width: 0;
}

.video-container {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  padding: 3px;

  background: #c5ccd3;

  border-top: 2px solid #555555;
  border-left: 2px solid #555555;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.video-container iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* --------------------------
   SITE UPDATES
   -------------------------- */

.updates {
  padding: 5px;

  background: #ffffdd;

  border-top: 2px solid #666666;
  border-left: 2px solid #666666;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;

  font-size: 10px;
}

.update {
  padding: 5px 3px;

  border-bottom: 1px dotted #999999;
}

.update:last-child {
  border-bottom: 0;
}

.update-date {
  display: block;

  margin-bottom: 2px;

  color: #555555;

  font-size: 9px;
  font-weight: bold;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
  padding: 10px;

  text-align: center;

  color: #222222;
  background: #c5ced8;

  border-top: 2px solid #59697a;
}

.tagline {
  margin: 0 0 5px 0;

  color: #263d58;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
}

.footer-info {
  margin: 0;

  font-size: 9px;
  color: #444444;
}

.footer-info a {
  color: #0000aa;
}


/* ==========================================================
   TEXT SELECTION
   ========================================================== */

::selection {
  background: #000080;
  color: #ffffff;
}


/* ==========================================================
   SMALL SCREENS

   A genuine 2004 website probably wouldn't bother,
   but this prevents the site from becoming unusable
   on a modern phone.
   ========================================================== */

@media (max-width: 700px) {

  .site {
    width: calc(100% - 10px);
    max-width: none;

    margin: 5px auto;
  }

  .layout {
    display: block;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 2px solid #59697a;
  }

  .media-area {
    grid-template-columns: 1fr;
  }

}