@charset "UTF-8";

body {
    
    background-color: #f0f0f0;
    margin: 0;
    color: #595d69;
    font-family: Lato,sans-serif;
    font-size: 15px;
    line-height: 24px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nav {
    width: 100%;
    height: 60px;
    z-index: 9999;
    top: 0;
    margin: 0 auto;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    box-shadow: 0 0 8px 0 rgba(55, 55, 55, 0.2);
}

.nav .logo {
    position: absolute;
    left: 8px;
}

.nav .menu_but {
    position: absolute;
    right: 8px;
    padding: 6px 20px;
    border: none;
    border-radius: 100px;
    box-shadow: 0 0 8px #22235434;
}

.content {
    max-width: 1080px;
    margin: 70px auto 40px auto;
    border-radius: 4px;
}

  .list-none {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
  .hide {
    opacity: 0;
  }
  
  .list-grid {
    position: relative;
  }
  
  .card-show {
    position: absolute;
  }

  .list {
    margin: 0 0.3em;
  }

.card {
    height: auto;
    width: 100%;
    margin: 0 auto auto;
    break-inside: avoid;
    transition: opacity 1s;
}

.card-content {
    margin: 8px;
    box-shadow: 0 0 8px #22235434;
    background-color: #fff;
    border-color: #000;
    border-radius: 0.3em;
}

.card-img {
    width: 100%;
    border-radius: 0.3em 0.3em 0 0;
    height: 0;
    padding-bottom: 50%;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

.card-a {
    color: #555;
    text-decoration: none;
}

.card-title {
  font-size: 16px;
}

.card-info {
    font-size: 10px;
    color: #555555;
}

.button-center {
    width: 14rem;
    height: 2rem;
    display: block;
    margin: 20px auto;
    text-align: center;
    color: #fff;
    background-color: #191a1f;
    border-radius: 0.3rem;
    border: none;
    box-shadow: 0 0 8px #22235434;
}
