body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    background: linear-gradient(91.7deg, rgb(252, 190, 224) 16.8%, rgb(212, 254, 218) 103.6%);
}
.wrapper {
    display: grid;
    grid-template-columns: minmax(auto, 1024px);
    justify-content: center;
}
.patrick-hand-regular {
    font-family: "Patrick Hand", cursive;
    font-weight: 400;
    font-style: normal;
}
.sofia-regular {
    font-family: "Sofia", cursive;
    font-weight: 400;
    font-style: normal;
  }
  nav {
    display: none;
}
h1 {
    text-align: center;
}
.floating {
    background: url(images/vera1.webp) no-repeat 260px 0px / 250px 250px, url(images/vera2.webp) no-repeat 20px 130px / 250px 250px, url(images/vera3.webp) no-repeat 260px 265px / 250px 250px, url(images/vera4.webp) no-repeat 15px 390px / 250px 250px;
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
 
@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 15px); }
    100%   { transform: translate(0, -0px); }    
}

  .image img {
    width: 300px;
  }

.type--A{
    --line_color : #555555 ;
    --back_color : #FFECF6  ;
  }
  .type--B{
    --line_color : #1b1919 ;
    --back_color : #E9ECFF
  }
  .type--C{
    --line_color : #00135C ;
    --back_color : #DEFFFA 
  }
  .button{
      position : relative ;
      z-index : 0 ;
      width : 240px ;
      height : 56px ;
      text-decoration : none ;
      font-size : 14px ; 
      font-weight : bold ;
      color : var(--line_color) ;
      letter-spacing : 2px ;
      transition : all .3s ease ;
      
  }
  .button__text{
      display : flex ;
      justify-content : center ;
      align-items : center ;
      width : 100% ;
      height : 100% ;
      font-size: 1.4em;
  }
  .button::before,
  .button::after,
  .button__text::before,
  .button__text::after{
      content : '' ;
      position : absolute ;
      height : 3px ;
      border-radius : 2px ;
      background : var(--line_color) ;
      transition : all .5s ease ;
  }
  .button::before{
      top : 0 ;
      left : 54px ;
      width : calc( 100% - 56px * 2 - 16px ) ;
  }
  .button::after{
      top : 0 ;
      right : 54px ;
      width : 8px ;
  }
  .button__text::before{
      bottom : 0 ;
      right : 54px ;
      width : calc( 100% - 56px * 2 - 16px ) ;
  }
  .button__text::after{
      bottom : 0 ;
      left : 54px ;
      width : 8px ;
  }
  .button__line{
      position : absolute ;
      top : 0 ;
      width : 56px ;
      height : 100% ;
      overflow : hidden ;
      
  }
  .button__line::before{
      content : '' ;
      position : absolute ;
      top : 0 ;
      width : 150% ;
      height : 100% ;
      box-sizing : border-box ;
      border-radius : 300px ;
      border : solid 3px var(--line_color) ;
  }
  .button__line:nth-child(1),
  .button__line:nth-child(1)::before{
      left : 0 ;
  }
  .button__line:nth-child(2),
  .button__line:nth-child(2)::before{
      right : 0 ;
  }
  .button:hover{
      letter-spacing : 6px ;
  }
  .button:hover::before,
  .button:hover .button__text::before{
      width : 8px ;
  }
  .button:hover::after,
  .button:hover .button__text::after{
      width : calc( 100% - 56px * 2 - 16px ) ;
  }
  .button__drow1,
  .button__drow2{
      position : absolute ;
      z-index : -1 ;
      border-radius : 16px ;
      transform-origin : 16px 16px ;
  }
  .button__drow1{
      top : -16px ;
      left : 40px ;
      width : 32px ;
      height : 0;
      transform : rotate( 30deg ) ;
  }
  .button__drow2{
      top : 44px ;
      left : 77px ;
      width : 32px ;
      height : 0 ;
      transform : rotate(-127deg ) ;
  }
  .button__drow1::before,
  .button__drow1::after,
  .button__drow2::before,
  .button__drow2::after{
      content : '' ;
      position : absolute ;
  }
  .button__drow1::before{
      bottom : 0 ;
      left : 0 ;
      width : 0 ;
      height : 32px ;
      border-radius : 16px ;
      transform-origin : 16px 16px ;
      transform : rotate( -60deg ) ;
  }
  .button__drow1::after{
      top : -10px ;
      left : 45px ;
      width : 0 ;
      height : 32px ;
      border-radius : 16px ;
      transform-origin : 16px 16px ;
      transform : rotate( 69deg ) ;
  }
  .button__drow2::before{
      bottom : 0 ;
      left : 0 ;
      width : 0 ;
      height : 32px ;
      border-radius : 16px ;
      transform-origin : 16px 16px ;
      transform : rotate( -146deg ) ;
  }
  .button__drow2::after{
      bottom : 26px ;
      left : -40px ;
      width : 0 ;
      height : 32px ;
      border-radius : 16px ;
      transform-origin : 16px 16px ;
      transform : rotate( -262deg ) ;
  }
  .button__drow1,
  .button__drow1::before,
  .button__drow1::after,
  .button__drow2,
  .button__drow2::before,
  .button__drow2::after{
      background : var( --back_color ) ;
  }
  .button:hover .button__drow1{
      animation : drow1 ease-in .06s ;
      animation-fill-mode : forwards ;
  }
  .button:hover .button__drow1::before{
      animation : drow2 linear .08s .06s ;
      animation-fill-mode : forwards ;
  }
  .button:hover .button__drow1::after{
      animation : drow3 linear .03s .14s ;
      animation-fill-mode : forwards ;
  }
  .button:hover .button__drow2{
      animation : drow4 linear .06s .2s ;
      animation-fill-mode : forwards ;
  }
  .button:hover .button__drow2::before{
      animation : drow3 linear .03s .26s ;
      animation-fill-mode : forwards ;
  }
  .button:hover .button__drow2::after{
      animation : drow5 linear .06s .32s ;
      animation-fill-mode : forwards ;
  }
  @keyframes drow1{
      0%   { height : 0 ; }
      100% { height : 100px ; }
  }
  @keyframes drow2{
      0%   { width : 0 ; opacity : 0 ;}
      10%  { opacity : 0 ;}
      11%  { opacity : 1 ;}
      100% { width : 120px ; }
  }
  @keyframes drow3{
      0%   { width : 0 ; }
      100% { width : 80px ; }
  }
  @keyframes drow4{
      0%   { height : 0 ; }
      100% { height : 120px ; }
  }
  @keyframes drow5{
      0%   { width : 0 ; }
      100% { width : 124px ; }
  }
  .container{
      width : 100% ;
      display : flex ;
      flex-direction : row ;
      gap: 30px;
      justify-content : center ;
      padding-top: 100px;
      
  }
  .button:not(:last-child){
    margin-bottom : 64px ;
  }
  :root {
    --surface-color: #fff;
    --curve: 40;
  }
  
  * {
    box-sizing: border-box;
  }
  
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 5vw;
    padding: 0;
    list-style-type: none;

  }
  
  .card {
    position: relative;
    display: block;
    height: 100%;  
    border-radius: calc(var(--curve) * 1px);
    overflow: hidden;
    text-decoration: none;
  }
  
  .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: #6A515E;
  }
  
  .card__tagline {
    display: block;
    margin: 1em 0;
    font-family: "MockFlowFont";  
    font-size: .8em; 
    color: black;  
  }
  
  .card__status {
    font-size: .8em;
    color: black;
  }
  
  .card__description {
    padding: 0 2em 2em;
    margin: 0;
    color: black;
    font-family: "MockFlowFont";   
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }    
  @media screen and (max-width: 768px) {
    *, *::before, *::after {
      box-sizing: border-box;
    }
    .container {
        display: none;
    }
       main  {
        grid-template-columns: 1fr;
       }
       nav {
        display: contents;
    }
    .hamburger {
        position: absolute;
        width: 70px;
        height: 70px;
        display: inline-flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        padding: 20px;
   }
    .hamburger:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 20px;
        background: #f953c6;
       /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #da2287, #f953c6);
       /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #da2287, #f953c6);
       /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        transform: rotate(0deg);
        transition: all 0.4s cubic-bezier(0.54, -0.1, 0.57, 0.57);
   }
    .hamburger .hamburger-input {
        position: absolute;
        opacity: 0;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        cursor: pointer;
   }
    .hamburger .hamburger-line {
        width: 100%;
        background: #fff;
        height: 2px;
        display: block;
        border-radius: 6px;
        transition: transform 0.4s cubic-bezier(0.54, -0.81, 0.57, 0.57);
        position: relative;
   }
    .hamburger .hamburger-line.first, .hamburger .hamburger-line.third {
        width: 50%;
   }
    .hamburger .hamburger-line.third {
        margin-left: 50%;
        transform-origin: left;
   }
    .menu-button-wrapper {
      position: relative;
        display: inline-block;
   }
    .menu-button-wrapper .item-list {
      position: relative;
        top: 90px;
        transform: translateX(-50%) scale(0);
        transform-origin: center;
        transition: all 0.4s cubic-bezier(0.54, -0.1, 0.57, 0.57);
        background-color: rgba(0, 0, 0, 0.8);
        color: #fff;
        width: 200px;
        left: 50%;
        padding: 15px 0;
        border-radius: 100px;
        font-size: 1.5em;
        opacity: 0;
        user-select: none;
        display: flex;
        flex-direction: column;
        align-items: center;
   }
   
    .menu-button-wrapper .item-list div {
        padding: 10px 30px;
        cursor: pointer;
        color: white;
     text-decoration: none;
   }
    .menu-button-wrapper .menu-button {
        position: absolute;
        width: 70px;
        height: 70px;
        left: 0;
        z-index: 2;
        opacity: 0;
        cursor: pointer;
   }
    .menu-button:checked ~ .item-list {
        transform: translateX(-50%) scale(1);
        border-radius: 20px;
        opacity: 1;
        user-select: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px;
        width: 400px;
        
   }
    .menu-button:checked ~ .icon-wrapper .hamburger-line.second {
        transform: rotate(-45deg);
   }
    .menu-button:checked ~ .icon-wrapper .hamburger-line.first {
        transform: translate(2px, 8px) rotate(-135deg);
   }
    .menu-button:checked ~ .icon-wrapper .hamburger-line.third {
        transform: translate(11px, -3px) rotate(-135deg);
   }
    .menu-button:checked ~ .icon-wrapper .hamburger:before {
        transform: rotate(45deg);
   }
    }
    
  
  @media screen and (min-width: 1920px) {
    body {
        width: 100%;
        height: 100%;
    }
    .wrapper {
        min-width: 1000px;
        min-height: 1000px;
        
    }
  }