@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing : border-box;
}

:root{
  --body-color: #503368;
  --sidebar-color: rgb(255, 255, 255);
  --primary-color : #9624a0;
  --primary-color-light: #F6F5FF;
  --toggle-color: #DDD;
  --text-color : #707070;
}

body{
  height: 100%;
  width: 100%;
  background: var(--body-color);
  margin: 0px;
  padding: 0px;
}

.sidebar .text{
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
}

.sidebar .image{
  min-width : 60px;
  display: flex;
  align-items: center;
}

.sidebar{
  position: absolute;
  top: 0;
  left: 0;
  height: 1000%;
  width: 250px;
  padding: 10px 14px;
  background: var(--sidebar-color);
  z-index: 1;
}

.sidebar li{
  height: 50px;
  margin-top: 10px;list-style: none;
  display: flex;
  align-items: center;
}

.sidebar li .icon{
  font-size: 20px;
}

.sidebar li .icon,
.sidebar li .text{
  color: var(--text-color);
}

.sidebar header{
  position: relative;
}

.sidebar .image-text img{
  width: 40px;
  border-radius: 6px;
}

.sidebar header .image-text{
  display: flex;
  align-items: center;
  padding-bottom: 10px;
}

.sidebar header .image-text:hover{
  cursor: pointer;
}

header .image-text .header-text{
  display: flex;
  flex-direction: column;
}

.header-text .name{
  font-weight: 600;
}

.header-text .description{
  margin-top: -2px;
  font-weight: 400;
}

.sidebar header .toggle{
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-17px);
  height: 25px;
  width: 25px;
  background: var(--primary-color);
  display: flex;
  align-items : center;
  justify-content: center;
  border-radius: 50%;
  color: var(--sidebar-color);
  font-size: 22px;
}

.sidebar li a{
  display: flex;
  align-items : center;
  text-decoration: none;
}

.sidebar li a span{
  margin-left: 20px;
  position: absolute;
}

.sidebar li a span::after{
  content: "";
  display: block;
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--body-color);
  transition: width 0.2s ease-in-out;
}

.sidebar li a span:hover::after{
  width: 100%;
}

.pizzas h1{
  font-size: 1.9em;
  text-decoration: underline;
  color: white;
  padding-left: 90px;
  padding-bottom: 50px;
  display: flex;
  justify-content: center;
}

a:active{
  color: var(--body-color);
}

.sidebar header .toggle:hover{
  cursor: pointer;
}

.close{
  width: 80px;
  z-index: 1;
}

.close li span{
  display: none;
}

.close li, image{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.close li i{
  font-size: 30px;
  padding-right: 9px;
}

.close .name, .close .description{
  display: none;
}

.slider-container{
  padding-left: 10px;
  display: block;
  overflow: hidden;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
}

.slide{
  width: 800px;
  max-height: 750px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  user-select: none;
}

.slide img{
  max-width: 70%;
  max-height: 50%;
  border-radius: 5%;
}

.slide h2{
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.slide h4{
  font-size: 1.3rem;
}

.grabbing{
  cursor: grabbing;
}

.grabbing .slide img{
  transform: scale(0.9);
}