/* =========== Google Fonts ============ */
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");

/* =============== Globals ============== */
* {
  font-family:'Verdana'; 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #2a2185;
  --white: #000000;
  --gray: #f5f5f5;
  --black1: #222;
  --black2: #999;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  position: relative;
  width: 100%;
}

/* =============== Navigation ================ */
.navigation {
  position: fixed;
  width: 300px;
  height: 100%;
  background:rgb(255, 254, 254);
  border-left: 10px solid rgb(255, 255, 255);
  transition: 0.5s;
  overflow: hidden;
}
.navigation.active {
  width: 80px;
}

.navigation ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.navigation ul li {
  position: relative;
  width: 100%;
  list-style: none;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.navigation ul li:hover,
.navigation ul li.hovered {
  background-color: #ffffff;
}

.navigation ul li:nth-child(1) {
  margin-bottom: 40px;
  pointer-events: none;
}

.navigation ul li a {
  position: relative;
  display: block;
  width: 100%;
  display: flex;
  text-decoration: none;
  color: var(--white);
}
.navigation ul li:hover a,
.navigation ul li.hovered a {
  color: #0f8ce0;
}

.navigation ul li a .icon {
  position: relative;
  display: block;
  min-width: 60px;
  height: 60px;
  line-height: 75px;
  text-align: center;
}
.navigation ul li a .icon ion-icon {
  font-size: 1.75rem;
}

.navigation ul li a .title {
  position: relative;
  display: block;
  padding: 0 10px;
  height: 60px;
  line-height: 60px;
  text-align: start;
  white-space: nowrap;
}

/* --------- curve outside ---------- */
.navigation ul li:hover a::before,
.navigation ul li.hovered a::before {
  content: "";
  position: absolute;
  right: 0;
  top: -50px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 35px 35px 0 10px #ffffff;
  pointer-events: none;
}
.navigation ul li:hover a::after,
.navigation ul li.hovered a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -50px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 35px -35px 0 10px #ffffff;
  pointer-events: none;
}

/* ===================== Main ===================== */
.main {
  position: absolute;
  width: calc(100% - 200px);
 
  left: 300px;
  min-height: 100vh;
  background-image:url(portada3.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  transition: 0.5s;
}
.main.active {
  width: calc(100% - 80px);
  left: 80px;
}

.topbar {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  color: #0f8ce0;
}

.toggle {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  cursor: pointer;
}

.search {
  position: relative;
  width: 400px;
  margin: 0 10px;
}

.search label {
  position: relative;
  width: 100%;
}

.search label input {
  width: 100%;
  height: 40px;
  border-radius: 40px;
  padding: 5px 20px;
  padding-left: 35px;
  font-size: 18px;
  outline: none;
  border: 1px solid var(--black2);
}

.search label ion-icon {
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 1.2rem;
}

.user {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.user img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}





/* ===================== Container ===================== */

.CONTAINER{
  width: 100%;
  height: 425px;
  display: FLEX;
  max-width: 850PX;
}

.CARD{
  width: 100%;
  margin: 10PX;
  border-radius: 6PX;
  overflow: hidden;
  background: #000000;
  box-shadow: 0PX 1PX 10PX rgb(0, 0, 0);
  cursor: default;
  transition: all 400ms ease;
  background-color: white;
  border: 0PX SOLID #0f8ce0;
    border-radius: 15PX;
}

.CARD:hover{
  box-shadow: 5px 5px 20px black ;
  transform: translateY(-3%);
}

.CARD IMG{
  width: 100%;
  height: 0%;
}

.CARD .CONTENIDO{ 
  font-family: Arial Black;
  padding: 10px;
  height: 190px;
  width: 100%;
  text-align: center;
  justify-self: CENTER;
}

.CARD .CONTENIDO P{
  line-height: 1.3;
  color:#0f8ce0;
  font-family: Arial Black;
  padding: 10px;
}

.CARD .CONTENIDO H3{
  font-family: Arial Black;
  margin-bottom: 0PX;
  color: BLACK;
  font-size: 14px;
}

.BTN-1{
  display: inline-block;
  padding: 10PX 40PX;
  border: 3PX SOLID rgb(255, 255, 255);
  border-radius: 10PX;
  COLOR:#0f8ce0;
  text-decoration: NONE;
  margin-top: 20PX;
  background-color: BLACK;
  box-shadow: 2px 3px 5px whITE ;
}





H1{
  font-family: Arial Black;
  margin-bottom: 0PX;
  color: rgb(255, 255, 255);
}














/* ====================== Responsive Design ========================== */
@media (max-width: 991px) {
  .navigation {
    left: -300px;
  }
  .navigation.active {
    width: 300px;
    left: 0;
  }
  .main {
    width: 100%;
    left: 0;
  }
  .main.active {
    left: 300px;
  }
  .cardBox {
    grid-template-columns: repeat(2, 1fr);
  }



.BTN-1{
    display: inline-block;
    padding: 10PX 10PX;
    border: 2PX SOLID #b2b9b3;
    border-radius: 12PX;
    COLOR:#0f8ce0;
    text-decoration: NONE;
    margin-top: 5PX;
}

.BTN-1 .contenido{
  font-size: 5px;
}


button{
  display: inline-block;
  padding: 10PX 5PX;
  border: 3PX SOLID rgb(0, 0, 0);
  border-radius: 10PX;
  COLOR:rgb(0, 0, 0);
  box-shadow: 5px 5px -5px -5px #0f8ce0;
transition: 0.5s;
background-color: #ffffff;
margin-block-end: 8%;
}

}

@media (max-width: 768px) {
  .details {
    grid-template-columns: 1fr;
  }
  .recentOrders {
    overflow-x: auto;
  }
  .status.inProgress {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .cardBox {
    grid-template-columns: repeat(1, 1fr);
  }
  .cardHeader h2 {
    font-size: 20px;
  }
  .user {
    min-width: 40px;
  }
  .navigation {
    width: 100%;
    left: -100%;
    z-index: 1000;
  }
  .navigation.active {
    width: 100%;
    left: 0;
  }
  .toggle {
    z-index: 10001;
  }
  .main.active .toggle {
    color: #fff;
    position: fixed;
    right: 0;
    left: initial;
  }






  .CONTAINER{
  width: 100%;
  height: 186px;
  display: FLEX;
  max-width: 500PX;
}

.CARD{
  width: 100%;
  margin: 5PX;
  border-radius: 6PX;
  overflow: hidden;
  background: #000000;
  box-shadow: 0PX 1PX 10PX rgb(0, 0, 0);
  cursor: default;
  transition: all 400ms ease;
  background-color: white;
  border: 0PX SOLID #0f8ce0;
    border-radius: 15PX;
}

.CARD:hover{
  box-shadow: 5px 5px 20px black ;
  transform: translateY(-3%);
}

.CARD IMG{
  width: 100%;
  height: 0%;
}

.CARD .CONTENIDO{ 
  font-family: Arial Black;
  padding: 0px;
  height: 10px;
  width: 100%;
  text-align: center;
  justify-self: CENTER;
}

.CARD .CONTENIDO P{
  line-height: 1.3;
  color:#0f8ce0;
  font-family: Arial Black;
  padding: 10px;
}

.CARD .CONTENIDO H3{
  font-family: Arial Black;
  margin-bottom: 0PX;
  color: BLACK;
  font-size: 14px;
}


}








