:root {
  --primary-color: #3472b9;
  --secondary-color: #aaddf7;
  --light-color: #f3f3f3;
  --max-width: 1100px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: tbudrgothic-std, sans-serif;
  background: var(--primary-color);
}

h1 {
  font-family: kozuka-gothic-pro, sans-serif;
  font-size: 3rem;
  letter-spacing: 10px;
}

h3 {
  font-family: kozuka-gothic-pro, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

a {
  color: #333;
  text-decoration: none;
}

p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

ul {
  list-style: none;
}

img {
  width: 90%;
}

.main-container {
  background: var(--primary-color);
}

/* Utility */
.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 2rem;
  overflow: hidden;
}

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

.card {
  background: #fff;
  padding: 1rem;
  border: 6px solid var(--secondary-color);
  border-radius: 1.7rem;
}

.py-1 {
  padding: 0.3rem 0;
}

.py-2 {
  padding: 2rem 0;
}

.py-3 {
  padding: 3rem 0;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 4rem;
}

.bg-light {
  background: var(--light-color);
  color: #333;
}

/* Navigation */

#main-nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 4px solid var(--secondary-color);
  height: 75px;
}

#main-nav .logo {
  display: block;
  margin-top: 0.7rem;
  width: 180px;
}

/* Header */
#top-title .container > * {
  text-align: center;
  color: #fff;
}

/* Home Articles */
#home-articles .articles-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
}

#home-articles .articles-container > article:last-child {
  grid-column: 1 / span 3;
  text-align: center;
  border-radius: 0;
}

#home-articles .articles-container > article:last-child h2 {
  color: #af1e23;
}

#home-articles .articles-container > article img {
  display: block;
  margin: auto;
}

#home-articles .articles-container > article:nth-child(4) img,
#home-articles .articles-container > article:nth-child(5) img,
#home-articles .articles-container > article:nth-child(6) img {
  width: 60%;
}

#home-articles .articles-container > article:nth-child(4),
#home-articles .articles-container > article:nth-child(6) {
  position: relative;
}

#home-articles .articles-container > article:nth-child(4) img.stop {
  position: absolute;
  top: 25%;
  right: 2%;
  width: 105px;
  height: 105px;
}

#home-articles .articles-container > article:nth-child(6) img.alchol {
  position: absolute;
  width: 65px;
  top: 40%;
  left: 10%;
}

#home-articles ul li::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 4px;
  border: 2px solid #333;
  border-radius: 50%;
  vertical-align: -2px;
}
