* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 1px;
}

body {
    color: white;    
    font-family: sans-serif;
    background-color: #192a51;
}


/* header: navbar */

li, a, i, button {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1rem;
    color: white;
    text-decoration: none;
}

header img {
    width: 60px;
    
}

header {
    display: flex ;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px ;
    background-color: #1d3772;
}

.menu {
    list-style: none;
   
    padding: 1% 50px;
}

.menu li {
    display: inline-block;
    padding: 15px 20px;
    
}

.menu i {
    padding: 15px 12px;

}

.logo {
    cursor: pointer;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #192a51;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #568cc9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  body.loading {
    overflow: hidden;
  }

/* CART */

.wrapper {
    display: flex;
    justify-content:center;
    margin-bottom: 450px;
}

.box {
    display: flex;
    justify-content: center;
    align-items:flex-end;
    padding: 50px;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    background-color: rgb(26, 31, 61);
}



.shop h1 {
    font-size: 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items:center;
    padding: 15px 20px 15px;
    margin-top: 100px;
    background-color: #557daa;
    border-radius: 8px;
}

.shop img {

    width: 100%;
    max-width: 200px;
    cursor: pointer;
    border-radius: 8px;
}

.content {
    display: flex;
    flex-direction: column;
    line-height: 30px;
}

.content h4 {
    font-weight: 200;
}

.btn2{
font-size: 0.7rem;
color: #aaaaaa;
cursor: pointer;
}

.btn-area i {
    font-size: 0.8rem;
    color: #555555;
    
}

.right-bar {
   
    display: flex;
    font-size: 1rem;
    padding: 0 0 20px;
    gap: 10px;
    margin-bottom: 50px;
}

.unit input {
    width: 30px;
    padding: 5px;
    text-align: center;
}

.total {
    font-weight: 700;
    letter-spacing: 5px;
}

.button {

    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    cursor: pointer;
    font-weight: 100;
    font-size: 1.2rem;
    background-color: #1e74cf;
    color: rgb(221, 221, 221);
    border: solid;
    border-width: thin;
    border-radius: 10px;
    padding: 20px 80px;
    margin-bottom: 10px;
}



hr {
    border-color: rgb(207, 207, 207);
    opacity: 30%;
}



.empty-cart-message {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: #f7f7f7;
  }
  
  .empty-cart-message a {
    text-decoration: underline;
    color: #f7f7f7;
  }
  
  .empty-total {
    text-align: center;
    color: #d1d1d1;
    font-style: italic;
  }













/* FOOTER */

footer {
    width: 100%;
    bottom: 0;
    padding: 10px 5px;
    border: 125px;
    font-size: 0.8rem;
    line-height: 18px;
    background: linear-gradient(to right, #568cc9, #1d346b);
}

.row {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    
}

.col img {
    max-width: 100%;
    width: 150px;
    margin-bottom: 10px; 
}

col {
    flex-basis: 15%;
    padding: 10px;
} 

.col h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    
} 

.col h3 {
    
    margin-bottom: 15px;
    margin-top: 10px;
    position: relative;
}

.col h5 {
    font-size: 0.8rem;
    margin-top: 20px;
    letter-spacing: 1px;
}

.col ul li {
    list-style: none;
    line-height: 20px;
    font-weight: 100;
    font-size: 0.5rem;
}

form {
    padding-bottom: 10px;
    display: flex;
    border-bottom: 1px solid rgb(131, 150, 189);
    margin-bottom: 10px;
    
}

form input {

    padding: 0 5px;
    background: transparent;
    border: 0;
}

form button {
    background: transparent;
    border: 0;
    padding: 2.5px;
    opacity: 50%;
}


@media screen and (max-width: 768px) {
    /* nav */

   header img {
       width: 80px;
   }

   header {
       justify-content: center;
       text-align: center;
       gap: 20px;
       font-size: 2rem;
   }

   
   .menu {
    padding: 5px;
   }

   .menu li {
       display: flex;
       flex-direction: column;
       justify-content: center;
       text-align: center;
   
       padding: 5px;
       gap: 20px;
   }

   .menu a {
       font-size: 1.6rem;
       background-color: #182747;
       border-radius: 8px;
       padding: 2px;
   }

   .menu i {
       flex-direction: row;
        font-size: 2rem;
   }

  .wrapper {
    padding: 20px;
  }

  .shop h1 {
    font-size: 2rem;
    justify-content: center;
  }

  .shop img {
    max-width: 220px;
  }

  input[type=email]::placeholder {
    color: rgb(199, 199, 199);
}

    .box h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .box h4 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .right-bar {
        font-size: 1.25rem;
        text-align: center;
        justify-content: center;
    }

    .button {
        font-size: 1.5rem;
    }
}