@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-VariableFont_slnt.html\,wght.ttf');
      }
  
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}
.container{
    max-width: 1440px;
    padding: 0 7.5rem; 
    margin: 0 auto;    
}
@media (max-width:1000px) {            
  .container{
     padding: 0 2rem;  
  }
  
} 
@media (max-width:600px) {            
  .container{
    padding: 0 0.5rem;   
  }
} 

header {
    background-color: #37c9ff;
    height: 5rem;
    width: 100%;
}

header .container {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header #logo {
    height: 75%;
}

header #logo img {
    height: 100%;
}

header #filter {
    background-color: #29a2cf;
    padding: 0 1rem;
    margin-left: 1rem;
    height: 2.8rem;
    width: 26rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

header #filter button {
    border: 0;
    background-color: transparent;
    height: 20px;
}

header #filter input {
    border: 0;
    height: 100%;
    background-color: transparent;
    color: white;
    font-weight: 500;
}

header #filter input::placeholder {
    color: white;
}

header #filter input:focus {
    outline: none;
}

header nav ul {
    color: white;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

header nav ul li {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

header nav ul li:hover {
    background-color: #5fd4ff;
}

header nav ul .btn_join {
    border: 2px solid white;
    padding: 0.6rem 1.5rem;
}

@media (max-width: 600px) {
    header {
        padding: 0;
        height: 10rem;
        gap: 1rem;
        padding: 1rem;
    }

    header .container {
        flex-direction: column;
    }

    header #logo {
        height: 47%;
    }

    header #logo img {
        height: 100%;
    }

    header #filter {
        margin-left: 0;
        height: 2.8rem;
        width: 100%;
    }

    header nav {
        display: none;
    }
}


.grid_section {
    padding: 4.7rem 0;
    padding-bottom: 10rem;
}

.grid_section .title {
    margin-bottom: 2.2rem;
}

.grid_section .title h2 {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.55rem;
    letter-spacing: -1px;
    color: #15252b;
}

.grid_section .carrousel {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.grid_section .carrousel svg {
    cursor: pointer;
    color: rgba(128, 128, 128, 0.489);
    height: 36px;
    width: 36px;
}

.grid_section .carrousel svg:hover {
    color: grey;
}

.grid_section .carrousel .carrousel_container {
    width: 90%;
    overflow-x: scroll;
}

.grid_section .carrousel .carrousel_container::-webkit-scrollbar {
    width: 0;
    height: 0;
    background-color: transparent;
}

.grid_section .carrousel .carrousel_items {
    display: flex;
    gap: 1rem;
    align-items: center;
    height: 7rem;
    width: max-content;
    user-select: none;
}

.grid_section .carrousel .carrousel_items a {
    height: 100%;
    width: 12rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.4rem;
    cursor: pointer;
}

.grid_section .carrousel .carrousel_items a img {
    height: 100%;
    width: max-content;
    user-select: none;
}

@media (max-width: 600px) {
    .grid_section .carrousel svg {
        min-height: 36px;
        min-width: 36px;
    }
}

.grid_section .grid_content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.grid_section .grid_content .item {
    background-color: white;
    width: 100%;
    box-shadow: 0 8px 20px 0 rgba(0, 55, 75, 0.25);
    border-radius: 1.2rem;
    overflow: hidden;
    cursor: pointer;
}

.grid_section .grid_content .item .item_img {
    height: 8rem;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.grid_section .grid_content .item .item_img img {
    width: 100%;
    height: max-content;
}

.grid_section .grid_content .item .item_content {
    padding: 1.7rem 1.4rem;
    font-weight: 600;
    height: 10.5rem;
    position: relative;
}

.grid_section .grid_content .item .item_content .item_type {
    background-color: #37c9ff;
    color: white;
    border-radius: 1rem;
    width: max-content;
    padding: 0.3rem 0.6rem;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.grid_section .grid_content .item .item_content .item_description {
    padding-right: 10%;
    line-height: 1.44;
    color: #15252b;
}

.grid_section .grid_content .item .item_content .item_uses {
    position: absolute;
    bottom: 1rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px dashed #eee;
    color: #bbb;
}

@media (max-width: 1000px) {
    .grid_section .grid_content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .grid_section {
        padding: 2.5rem 0;
    }
    .grid_section .title {
        margin-bottom: 2.2rem;
        text-align: center;
    }
    .grid_section .grid_content {
        grid-template-columns: 1fr;
    }
    .grid_section .grid_content .item .item_img {
        height: 11rem;
    }
}

.show_item {
    background-color: #eeeeee;
    padding: 3rem 0;
    padding-bottom: 10rem;
  }
  
  .show_item .container {
    display: flex;
    gap: 3rem;
  }
  
  .show_item .container aside {
    width: 23.5%;
  }
  
  .show_item .container aside .img_container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 0.2rem;
    border-radius: 0.7rem;
  }
  
  .show_item .container aside .img_container img {
    width: 100%;
    border-radius: 0.6rem;
  }
  
  .show_item .container aside .rating_container {
    margin-top: 0.75rem;
    border-top: 1px solid rgb(211, 211, 211);
    box-shadow: 0px -1px 0px 0px #ffffff;
    padding: 1.2rem 0;
    padding-bottom: 0.2rem;
    display: flex;
    align-items: center;
  }
  
  .show_item .container aside .rating_container h1 {
    font-size: 1.6em;
    color: #ffb900;
    font-weight: 900;
    margin-right: 0.5rem;
  }
  
  .show_item .container aside .rating_container i {
    margin-bottom: -5px;
    color: transparent;
  }
  
  .show_item .container aside .rating_container i.colored {
    color: #ffb900;
  }
  
  .show_item .container aside .rating_container .rating_amount {
    margin-left: 0.5rem;
    font-weight: 700;
    color: #999;
  }
  
  .show_item .container aside .note {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.5;
  }
  
  .show_item .container aside .note b {
    font-size: 0.8rem;
  }
  
  .show_item .container aside .about,
  .show_item .container aside .tips {
    margin-top: 0.5rem;
    border-top: 1px solid rgb(211, 211, 211);
    box-shadow: 0px -1px 0px 0px #ffffff;
    padding: 1.2rem 0;
    padding-bottom: 0.2rem;
    font-size: 0.9em;
    text-align: justify;
    color: #15252b;
    line-height: 1.5;
  }
  
  .show_item .container aside .about h1,
  .show_item .container aside .tips h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .show_item .container aside .about p,
  .show_item .container aside .tips p {
    font-size: 0.9rem;
  }
  
  .show_item .container .coupons {
    display: flex;
    flex-direction: column;
    width: 76.5%;
  }
  
  .show_item .container .coupons h1 {
    font-size: 2.5rem;
    color: #15252b;
    margin-bottom: 1rem;
  }
  
  .show_item .container .coupons .item {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    border-radius: 20px;
    padding: 30px 30px;
    box-shadow: 0 8px 20px 0 rgba(0, 55, 75, 0.25);
    margin-bottom: 1rem;
    background-color: white;
  }
  
  .show_item .container .coupons .item .col {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
  }
  
  .show_item .container .coupons .item .col_1 {
    width: 20%;
  }
  
  .show_item .container .coupons .item .col_1 h2 {
    font-size: 2.5rem;
    color: #37c9ff;
    font-weight: 900;
  }
  
  .show_item .container .coupons .item .col_2 {
    width: 60%;
  }
  
  .show_item .container .coupons .item .col_2 .code_ {
    background-color: #37c9ff;
    color: white;
    border-radius: 1rem;
    width: max-content;
    padding: 0.3rem 0.6rem;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
  }
  
  .show_item .container .coupons .item .col_2 .title_ {
    display: flex;
    margin-bottom: 0.5rem;
  }
  
  .show_item .container .coupons .item .col_2 .title_ h3 {
    font-size: 1.2rem;
    color: #15252b;
  }
  
  .show_item .container .coupons .item .col_2 span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
  }
  
  .show_item .container .coupons .item .col_3 button {
    border-radius: 2rem;
    position: relative;
    height: 3rem;
    width: 9rem;
    background-color: #37c9ff;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.2s;
  }
  
  .show_item .container .coupons .item .col_3 button .sticker {
    position: absolute;
    border-left: 0 solid transparent;
    border-right: 1.2rem solid transparent;
    border-bottom: 1.5rem solid #ffffff81;
    border-radius: 0 2rem 0 2rem;
    top: 0;
    right: 0;
    background-color: #ffffff81;
  }
  
  .show_item .container .coupons .item .col_3 button:hover {
    background-color: #2aa8d7;
  }
  
  @media (max-width: 600px) {
    .show_item .container {
      flex-direction: column;
    }
    .show_item .container aside {
      width: 100%;
      padding: 0 0.5rem;
    }
    .show_item .container aside .rating_container {
      justify-content: center;
    }
    .show_item .container aside .note {
      display: flex;
      justify-content: center;
    }
    .show_item .container .coupons {
      width: 100%;
    }
    .show_item .container .coupons h1 {
      text-align: center;
    }
    .show_item .container .coupons .item {
      flex-direction: column;
    }
    .show_item .container .coupons .item .col {
      align-items: center;
      flex-direction: column;
    }
    .show_item .container .coupons .item .col_1 {
      width: 100%;
      margin-bottom: 0.4rem;
    }
    .show_item .container .coupons .item .col_2 {
      width: 100%;
      margin-bottom: 1.5rem;
    }
    .show_item .container .coupons .item .col_3 {
      width: 100%;
    }
    .show_item .container .coupons .item .col_3 button {
      width: 100%;
    }
}

/* Footer */
footer {
    background-color: #37c9ff;
}

footer .footer_content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3.5rem 0;
}

footer .footer_content .logo_ {
    width: 12rem;
}

footer .footer_content .footer_nav {
    display: flex;
    list-style: none;
    gap: 1rem;
}

footer .footer_content .footer_nav a {
    color: white;
    font-size: 0.9em;
    font-weight: 700;
    text-decoration: none;
}

footer .footer_content .footer_nav a:hover {
    text-decoration: underline;
}

footer .footer_content .footer_nav .icon {
    color: rgba(0, 0, 0, 0.3);
}

footer .footer_content .footer_nav .icon:hover {
    color: white;
}

footer .footer_content .copyR {
    color: rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
}

footer .trademark_content {
    background-color: #31b5e5;
}

footer .trademark_content .container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    color: white;
    padding: 0.75rem 0;
}

.pop_up {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
}

.pop_up_content {
    width: 50%;
    background-color: white;
    border-radius: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem;
    gap: 0.9rem;
}

.pop_up_content .col_1 h2 {
    font-size: 2.2rem;
    color: #37c9ff;
    font-weight: 700;
}

.pop_up_content .col_2 {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.9rem;
}

.pop_up_content .col_2 .title_ h3 {
    font-size: 1.2rem;
    color: #15252b;
}

.pop_up_content .col_2 span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
}

.pop_up_content .col_3 {
    margin: 1rem 0;
    display: flex;
    justify-content: end;
    background-color: #f7f7f7;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(128, 128, 128, 0.497);
}

.pop_up_content .col_3 h1 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #15252bab;
}

.pop_up_content .col_4 button {
    border-radius: 2rem;
    position: relative;
    height: 3rem;
    width: 9rem;
    background-color: #37c9ff;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.2s;
}

.pop_up_content .col_4 button .sticker {
    position: absolute;
    border-left: 0 solid transparent;
    border-right: 1.2rem solid transparent;
    border-bottom: 1.5rem solid #ffffff81;
    border-radius: 0 2rem 0 2rem;
    top: 0;
    right: 0;
    background-color: #ffffff81;
}

.pop_up_content .col_4 button:hover {
    background-color: #2aa8d7;
}

.pop_up_content canvas {
    display: none;
    
    border-radius: 50%;
}

@media (max-width: 600px) {
    .pop_up .pop_up_content {
        width: 90%;
    }
}
