*,
*::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 {
  cursor: pointer;
    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;
}

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



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



.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: 320px;
  }

  .cards {
      text-align: center;
  }

  .cardcontainer2 {
    padding: 2px 2px;
    background-color: #222;
    color: white;
    height: 350px;
   
  }

  .cardcontainer2 img {
    display: inline-block ;
  }

  .support-button {
    display: inline-block;
    padding: 10px 10px;
    background-color: rgba(131, 129, 129, 0.801);
    color: white; /* White text */
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
    position: fixed; /* Fixed position */
    right: 10px; 
    top: 80px; 
    transform: translateY(-50%); /* Center the button vertically */
    z-index: 2;
}

.support-button:hover {
    background-color: rgba(104, 102, 102, 0.801);; /* Darker green background on hover */
}

footer {
    bottom: 0;
    width: 100%;
    background: #222;
    color: whitesmoke;
    width: 100%;
    margin-top: 5px;
    /* Additional footer styling */
}

.footer-container {
  padding-bottom: 20px;
  padding-top: 20px;
  padding-left: 20px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #000000;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 3px solid #ffffff;
  width: 60%; 
  max-width: 500px;
  border-radius: 10px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: rgb(114, 114, 114);
  text-decoration: none;
  cursor: default;
}

/* Button styles */
.modal-button {
  padding: 10px 10px;
  background-color: rgba(131, 129, 129, 0.801); 
  color: white; 
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.modal-button:hover {
  background-color: rgba(104, 102, 102, 0.801);; 
}

  /*.featured__item::after {
    content: '';
    position: absolute;
  
    top: 10%;
    left: 10%;
    padding: 75% 75% 0 0;
    border-radius: 50%;
    background: #2193b0;
    z-index: -1;
  }
  
  .featured__details {
    opacity: 0;
    transition: opacity 250ms linear;
  }
  
  .featured__details span {
    display: block;
    font-weight: 700;
    font-size: 2.5rem;
  }*/
  