@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Roboto&display=swap');
:root {
  --surface-color: #d5f3ff;
  --curve: 40;
}

.about_text_container{
  width: 100%;
  background-color: #d5f3ff;
  padding: 4rem;
  text-align: center;
}

.about_text_container h2{
  margin-top: 10rem;
  font-size: 3rem;
  color: #161637;
}

* {
  box-sizing: border-box;
}

body {
  /* font-family: 'Noto Sans JP', sans-serif; */
  background-color: #fff;

  font-family: 'Josefin Sans', sans-serif;
}

.cards {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin: 4rem 5vw;
  padding: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  list-style-type: none;
}

.card {
  position: relative;
  display: block;
  height: 100%;  
  border-radius: calc(var(--curve) * 1px);
  overflow: hidden;
  text-decoration: none;
  -webkit-box-shadow: 0 8px 6px -6px grey;
       -moz-box-shadow: 0 8px 6px -6px grey;
            box-shadow: 0 8px 6px -6px grey;
}

.card__image {      
  width: 100%;
  height: auto;
}

.card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;      
  border-radius: calc(var(--curve) * 1px);    
  background-color: var(--surface-color);      
  transform: translateY(100%);
  transition: .2s ease-in-out;
}

.card:hover .card__overlay {
  transform: translateY(0);
}

.card__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 2em;
  border-radius: calc(var(--curve) * 1px) 0 0 0;    
  background-color: var(--surface-color);
  transform: translateY(-100%);
  transition: .2s ease-in-out;
}

.card__arc {
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 100%;
  right: 0;      
  z-index: 1;
}

.card__arc path {
  fill: var(--surface-color);
  d: path("M 40 80 c 22 0 40 -22 40 -40 v 40 Z");
}       

.card:hover .card__header {
  transform: translateY(0);
}

.card__thumb {
  flex-shrink: 0;
  width: 50px;
  height: 50px;      
  border-radius: 50%;      
}

.card__title {
  font-size: 1em;
  margin: 0 0 .3em;
  color: #161637;
}

.card__tagline {
  display: block;
  margin: 1em 0;
  font-family: "MockFlowFont";  
  font-size: .8em; 
  color: aliceblue;  
}

.card__status {
  font-size: .8em;
  color: #D7BDCA;
}

.nav_logo img{
  width: 35px;
}

.card__description {
  padding: 0 2em 2em;
  margin: 0;
  color: #161637;
  font-family: 'Roboto', sans-serif;  
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}    


.one h1 {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 5px;
  }
  .one h1:before {
    width: 28px;
    height: 5px;
    display: block;
    content: "";
    position: relative;
    top: 60px;
    left: 50%;
    margin-left: -14px;
    background-color: var(--surface-color)
   }
  .one h1:after {
    width: 100px;
    height: 1px;
    display: block;
    content: "";
    position: relative;
    margin-top: 25px;
    left: 50%;
    margin-left: -50px;
    background-color: var(--surface-color);
  }

  @media screen and (max-width:900px) {
    .cards{
      grid-template-columns: 1fr 1fr;
    }
}

  @media screen and (max-width:590px) {
      .cards{
        grid-template-columns: 1fr;
      }
  }