*{
    margin: 0;
    padding: 0;
    box-sizing: 0;
    box-sizing: border-box;
}

.intel-one-mono-<uniquifier> {
  font-family: "Intel One Mono", monospace;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body{
    background: #303030;
    color: white;
    font-family: "Intel One Mono", monospace;
    font-weight: 600;
}

.container{
    width: 100%;
    /* height: 6.2vh; */
    display: grid;
    grid-template-columns: 1fr;
    position: sticky;
    top: 0;
    z-index: 4;
}

.burger{
    height: 8vh;
    padding: 0.5em;
    transition: ease-in-out 0.2s;
    background: rgb(98, 98, 98, 55%);
    width: 120px;
    height: 120px;
    z-index: 10;
    position: relative;
}



.burger svg{
    scale: 1.3;
    margin-left: 17px;
    margin-top: 38px;
    transition: ease-in-out 0.2s;
}

.burger.active .left-line{
    transform:translate(0px, 38px) rotate(-90deg);
    transition: ease-in-out 0.2s;

}

.burger .right-line{
    transition: ease-in-out 0.2s;
}

.burger .left-line{
    transition: ease-in-out 0.2s;
}

.burger.active .right-line{
    transform:translate(69px, -31px) rotate(90deg);
    transition: ease-in-out 0.2s;
}

nav ul:first-child{
    list-style-type: none;
    position: relative;
    /* height: 6.2vh; */
    display: grid;
    grid-template-columns: 1fr auto;
    float: left;
}

nav li{
    display: inline-block;
}

nav a{
    color: white;
    text-decoration: none;
    display: block;
    padding: 1.2em;
}


.hiddenMenu{
    position: absolute;
    width: 120px;
    /* display: none; */
    transition: ease-in-out 0.2s;
    padding: 0.5em;
    left: 0;
    z-index: 5;
    transform: translateY(-1100px);

}
.hiddenMenu.visibleMenu{
    /* display: block; */
    background: rgb(98, 98, 98, 55%);
    height: 95vh;
    transition: ease-in-out 0.2s;
    transform: translateY(0px);
    z-index: 10;
}

.icons {
    margin-left: 16px;
}

.hiddenMenu img.figma{
    margin-top: 245px;
    width: 24px; 
    margin-left: 20px;
}

.hiddenMenu li{
    display: block;
}

.hiddenMenu img{
    width: 72px;
    transition: ease-in-out 0.2s;
   
}

.hiddenMenu img:hover{
    scale: 1.4;
    transition: ease-in-out 0.2s;
    cursor: pointer;
}

.title{
    grid-column: 1fr; /* Span all columns */
    font-size: 1.4em;
    margin: 0;
    margin-top: -120px;
    text-align: center;
    top: 0;
    position: sticky;
    background: rgb(48, 48, 48, 55%);
    z-index: 5;
    height: 120px;

}

#cards-grid .introduction{
    grid-column: 1 / -1; /* Span all columns */
    font-size: 1.2em;
    background: rgb(48, 48, 48, 40%);
    border-radius: 4px;
    margin-bottom: 20px;
    margin-left: 71px;
}

.cards-grid .introduction h2{
   text-aligned: center;
}

.cards-grid .introduction h4{
    text-aligned: center;
    font-weight: 400;
}

#cards-grid .start{
  grid-column: 1 / -1;    /*force to span 1 to 4 (all 3 columns) */
  width: 100%;           /* Ensure it takes the full width of those columns */
  
  /* 2. Now make the images inside it horizontal */
  justify-content: center;
  align-items: center;
  gap: 15px;             /* Adds space between your images */
  margin: 20px auto;  
}

.start{
    display: grid;
    justify-content: center;
    margin: 2em 0;
    grid-template-columns: repeat(auto-fit, 128px); /* Automatically creates as many 128px columns as fit */
    justify-content: center; 
    width: 100%;
}

.fav{
    width: 300px;


}

.start img{
    width: 128px;
    z-index: 1;
}

.start img:hover{
    scale: 1.2;
    transition: ease-in-out 0.2s;
    cursor: pointer;
}


#content{
    display:block;
    grid-template-columns: 1fr;
    justify-items: center;
    
}   


#cards-grid {
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-gap: 10px 10px;
    max-width: 90vw;
    margin: 0;

}

.card {
    position: relative;
    transition: transform 0.4s ease-in-out;
    transform-style: preserve-3d;
    transform-origin: center;
    perspective: 1200px;
    padding: 10px;
    width: 350px;
    height: 500px;

}

.card_prices{
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    background: rgb(48, 48, 48, 55%);
    padding: 0.5em;
    border-radius: 8px;
    font-family: "Intel One Mono", monospace;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    pointer-events: none;
    width: 330px;
    height: 465px;
    white-space: pre;
    text-shadow: black 1px 1px 1px;
}

.card_prices a {
    color: white;
    text-decoration: none;
    font-size: small;
    font-weight: 600;   
    transition: ease-in-out 0.2s; 
    text-align: center;
}

.card_prices a:hover {
    color: turquoise;
    transform: scale(1.1);
}

.card.is-flipped .card_prices {
    transform:translateZ(50px);
}

.card.is-flipped .card_prices {
   transform: rotateY(180deg) 
}

.card.show-prices .card_prices {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.card__face {
    position: absolute;
    backface-visibility: hidden;
    width: 350px;
    border-radius: 8px;
    top: 0;
    left: 0;
}

.card__face:hover{
    cursor: pointer;
}

.card__face.card__face--back {
    transform: rotateY(180deg);
    transform-origin: center;
    position: absolute;
     top: 0 !important;
    left: 0 !important;
   
}

.card.is-flipped {
    transform: rotateY(180deg);
    top: 0 !important;
    left: 0 !important;
}

.flip-icon{
  position: relative;
  top: 66px;   
  right: -320px;  
  width: 40px;  
  z-index: 10;  
  cursor: pointer;
}



.info-icon{
  position: absolute;
  top: 451px;   
  right: 130px;   
  width: 92px;  
  z-index: 50; 
  cursor: pointer;
}


.card.is-flipped .flip-icon,
.card.is-flipped .info-icon {
    transform: rotateY(-180deg);
}


.flip-icon, .info-icon {
    transition: transform 0.6s ease; 
    z-index: 30; 
}


@media screen and (min-width: 485px) {
    .title{
        grid-column: 1 / -1; /* Span all columns */
    }
}

@media screen and (min-width:800px) {
    #cards-grid{
        grid-template-columns: 1fr 1fr;

    }
   
    .title{
        font-size: 1.8em;
    }
}

@media screen and (min-width:1100px) {
    #cards-grid{
        grid-template-columns: 1fr 1fr 1fr;

    }
    
    .title{
        font-size: 2em;
        grid-column: 1 / -1; /* Span all columns */
        
    }
}

@media screen and (min-width:1800px) {
    #cards-grid{
        grid-template-columns: repeat(4, 1fr) ;

    }

    .title{
        font-size: 3em;
        grid-column: 1 / -1; /* Span all columns */
    }
}
