@font-face{
    font-family: satoshi;
    src: url(assets/font\ -\ satoshi);
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: satoshi;
    overflow: hidden;

    background: #FFFEF5;
    border-right: #FF5E60 solid 8px;
}

main{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;

    min-height: 100vh;
    width: 85%;
}

.menu-icon{
    position: fixed;
    top: 0;
    padding-top: 80px;
    width: 20px;
}
.first-column {
    display:flex;
    flex-direction: column;
    align-self: flex-end;

    padding-bottom: 100px;
}

h1{
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: right;
    line-height: 0;

    color: #333333;
}

h2{
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: 1px;

    color: #333333;
}

.line{
    width: 100%;
    border-bottom: 2px solid #FF5E60;
}

a{
    color: white;
}

.second-column{
    max-height: 100vh;
    min-width: 65%;
    padding:0 50px 0 50px;

    overflow-y: scroll;
}
.second-column::-webkit-scrollbar{
    appearance: none;
}

input{
    display: none;
}

.expandable-content{
    display: none;

    border-bottom: solid 1px rgba(51, 51, 51, 0.20);
    margin-top: -40px;
}

.item{
    display: flex;
    flex-direction: column;

    max-width: 800px;

    color: #333333;
}

.item:first-child{
    margin-top: 40px;
}

.item:last-child{
    margin-bottom: 80px;
}

label{
    display: flex;
    align-items: center;

    border-bottom: solid 1px #ebebeb;
    cursor: pointer;
}

label .button-open-close{
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.8rem;
    font-weight: 400;

    margin: 20px 16px 20px 0 ;

    transition: transform .5s;
}

.plus-span{
    color: #FF5E60;
}

input:checked + label .button-open-close{
    transform: rotate(45deg);
    transition: transform .5s;
}

label p{
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 1px;
}

input:checked + label + .expandable-content  {
    display: block;
}

input:checked + label{
    border: none;
}

.expandable-content p{
    font-size: 1rem;
    font-weight: 200;
    line-height: 150%;
    letter-spacing: 1px;

    padding: 16px 0 30px 0;
    margin: 0;

    color: rgba(51, 51, 51, 0.60);

    animation-duration: 1.5s;
    animation-name: toggle-animation;
}

.cart{
    display: flex;

    font-size: 1rem;

    position: fixed;
    right: 0;
    bottom: 0;

    padding: 16px;
    margin-bottom: 30px;
    margin-right:50px ;
    cursor: pointer;

    color: white;
    border-radius: 50%;

    background: #FF5E60;
    backdrop-filter: blur(1.2px);
}

.cart:hover::after{
    content: "Shopping Now";

    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 0;
    right: 60px;

    width: 125px;
    height: 18px;

    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;

    border-radius: 70px;
    padding: 16px;

    background: #FF5E60;
    backdrop-filter: blur(1.2px);

    animation-duration: 2s;
    animation-name: show-tooltip-animation;
}

@keyframes show-tooltip-animation {
    from {
        opacity: 0;
    }
    to {
        opacity: 100%;
    }
  }

  @keyframes toggle-animation {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 1000px;
        opacity: 100%;
    }
  }

  @media only screen and (max-width: 1024px) {

    main {
      flex-direction: column;
      --first-column-height: 120px;
    }
    
    .first-column{
        align-items:flex-start;
        justify-content: space-between;

        width: 93%;
        min-width: 0;
        height: var(--first-column-height);

        padding: 0;
        margin-top: 80px;
        margin-bottom: 30px;
    }

    h1{
        font-size: 2rem;
        margin: 0;
    }

    .line{
        width: 200px;
    }

    h2{
        font-size: 1rem;
        margin-top: -20px;
    }

    .second-column{
        width: 100%;
        height: calc(100vh - var(--first-column-height));

        padding: 0;
    }

    .item{
        max-width: 100%;
        padding: 0 25px 0 25px;
    }

    .item:first-child{
        margin-top: 0;
    }

    label .button-open-close{
        font-size: 1.5rem;
        padding: 8px 8px 8px 0;
    }

    .cart{
      font-size: 1rem;
      margin-bottom: 20px;
      margin-right: 30px;
      padding: 15px;
    }

    .cart:hover::after{
        display: none;
    }

    .menu-icon{
        display: none;
    }
  }