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

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
p {
    margin: 0;

}

h4 {
  font-size: 1.5em;
}

.container {

    max-width: 180em;
    margin: 0 auto;
    
}

.btn {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 700;
    color: var(--clr-text, white);
    text-transform: uppercase;
    font-size: 2rem;
    padding: .5em 1.25em;
    background: var(--clr-accent, teal);
    border-radius: .25em;
    transition: 
        transform 250ms ease-in-out, 
        opacity 250ms linear;
}

.logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.btn:hover,
.btn:focus {
          transform: scale(1.1);
  opacity: .9;
}

.primary-title {
    font-size: 3rem;
    font-size: clamp(2rem, calc(5vw + 1rem), 4.5rem);
    line-height: 1;
    text-transform: uppercase;
  }

  .section-title {
    text-align: center;
    font-size: clamp(2.5rem, calc(5vw + 1rem), 4rem);
    line-height: 1;
    color: #222;
    margin-bottom: 2rem;
  }
  
  .hero {
    color: white;
    text-align: center;
    padding-top: 5em;
    padding-bottom: 5em;
    background: #222;
  }
  
  .featured {

    background: #eee;

  }
  
.featured__img {
  justify-content: center;
  text-align: center;
  margin: 0.25em;

}

  .featured__item {

    display: inline-block;
    position: relative;
    transition: transform 250ms ease-in-out;
    line-height: 1.2;

  }

  .featured__item:hover, .featured__item:focus {

            transform: scale(1.025);
            z-index: 1;
  }

  .featured__item:hover .featured__details, .featured__item:focus .featured__details {
    opacity: 1;
    text-shadow: 0 0 2em white;
  }

  .split {
    text-align: center;
  }

  .card {
    max-width: 500px;
    min-width: 350px;
    box-shadow: 2px 4px 8px 2px rgba(0, 0, 0, 0.308);
    transition: 0.3s;
    display: inline-table;
    margin: 0.2%;
    border-color: black;
  }
  
  .card img {
    max-width: 60%;
    
  }

  .card p {
    
    text-align: left;
    margin: 5px;
  }

  /* On mouse-over, add a deeper shadow */
  .card:hover {
    box-shadow: 4px 8px 16px 0 rgba(0,0,0,0.8);
  }

  .cardcontainer {
    padding: 2px 2px;
    background-color: #222;
    color: white;
    height: 250px;
  }

  .cards {
      text-align: center;
  }

  @media screen and (max-width: 600px) {

  }
  
  @media screen and (max-width: 600px) {

    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }

    .topnav.responsive {position: fixed;}
    .topnav.responsive .icon {
      position: fixed;
      left: 78px;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }

  }
  
  .topnav {
    overflow: hidden;
    background-color: #333;
    opacity: 90%;
    position:fixed;
    top:0;
    z-index: 2;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border-radius: .25em;
  }
  
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .topnav a.active {
    background-color: teal;
    color: white;
  }
  
  .topnav .icon {
    display: none;
  }
  