
/*, *::after, *::before{

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

}

:root {

    --slide-progress: 35%;
    --slide-progress--transition: all 200ms cubic-bezier(0.82, 0.02, 0.39, 1.01);

}

body{

    font-family: 'Inter', sans-serif;
    height: 100%;
    width: 100%;
    background-color: hsl(204, 71%, 96%);
    /*background-color: hsl(256, 100%, 91%);*/

/*}

.container{

    display: grid;
    place-items: center;
    align-content: center;
    padding: 2rem 0;

}

h1 {

    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: .5em;
    color: hsla(210, 50%, 20%, 1);
    position: relative;
    z-index: 5;
    
}

.interactiveContent{

    display: flex;
    place-items: left;
    align-content: left;
    margin-left: 10%;
    margin-right: 10%;

    box-shadow: 
    20px 20px 50px rgba(125, 163, 170, 0.4),
    -20px -20px 50px rgba(179, 222, 230, 0.2);

    border-radius: 5px 5px 5px 5px;

}

.slider{

    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;

}

.slide {

    display: flex;

}

.slide img{

    max-width: 400px;
    max-height: 350px;
    flex: 1 0 100%;
    object-fit: scale-down;

}

.wrapper {
    display: flex;
    height: 100%;
    align-content: left;
}

.main {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.side-panel-toggle {
    width: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;

    color: #ffffff;
    border: none;
    border-radius: 0 5px 5px 0;
    outline: none;
    cursor: pointer;
    background: hsl(41, 97%, 53%);

}

h2 {

    font-weight: bold;
    font-style: italic;

}

h3 {

    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: .5em;
    color: hsla(210, 50%, 20%, 1);
    position: relative;
    z-index: 5;

}

.descriptionText {

    height: 100%;

}

.side-panel-toggle:hover {

    background: hsl(39, 97%, 53%);

}

.side-panel {

    display: none;
    width: 300px;
    height: 100%;
    flex-shrink: 0;
    padding: 20px;
    color: #ffffff;
    background: hsl(204, 71%, 96%);

}

.sp-icon-close {
    display: none !important;
}

.side-panel-open .side-panel {
    display: initial!important;
}

.side-panel-open .sp-icon-open {
    display: none !important;
}

.side-panel-open .sp-icon-close {
    display: initial;
}

*/

*, *::after, *::before {
  border: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --slide-progress: 35%;
  --slide-progress--transition: all 200ms cubic-bezier(0.82, 0.02, 0.39, 1.01);
}

main {
  font-family: 'Inter', sans-serif;
  background-color: rgb(235, 235, 235);
}

.underline{
  background-color: rgb(252, 184, 38);
  border-radius: 5px 5px 5px 5px;
  width: 300px;
  height: 5px;
  margin-bottom: 2.5em;

}

.container {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100vh;
  padding: 2rem 0;
}

h1 {
  font-size: 3rem;
  line-height: 1.4;
  color: rgb(14, 36, 58);
  position: relative;
  z-index: 5;
}

.mid_container {
  display: grid;
  position: relative;
  place-items: center;
  max-width: 800px;
  overflow: hidden;
  box-shadow: 
  20px 20px 50px hsla(210, 50%, 40%, .4),
  -20px -20px 50px hsla(210, 50%, 80%, .2);
  ;
  background-color: hsla(160,0%,70%,1);
  /*grid-template-columns: 1fr 0.4fr;*/

}
  
.slider {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 800px;
  overflow: hidden;
}
  
.slide {
  height: 400px;
  max-height: 100vh;
  display: flex;
  background-color: hsla(160,0%,70%,1);
}

.slide img {
  width: 100%;
  flex: 1 0 100%;
  object-fit: cover;
  object-fit: scale-down;
}

.slide article {

  overflow: hidden;
  width: 25%;
  flex: 1 0 100%;

}

.slide article p{
  /*font-family: 'wingdings', sans-serif;*/
  font-family: 'Segoe UI', sans-serif;
  background-color: rgb(226, 226, 226);
    
  overflow: hidden;
  width: 25%;
  flex: 1 0 100%;
}
  
.slider__progress{
  position: absolute;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, hsla(210, 50%, 90%, .2), hsla(210, 50%, 70%, .1));
  bottom: 0;
  z-index: 4;
}

.slider__progress::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, hsla(210, 50%, 90%, .7), hsla(210, 50%, 70%, .6));
  width: var(--slide-progress);
  height: 6px;
  left: 0;
  transition: var(--slide-progress--transition);
}

.slider__btn-container{
  position: absolute;
  width: 100%;
}

.slider__btn {
  border-radius:50%;
  position: absolute;
  z-index: 2;
  padding: .2rem;
  top: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: hsla(210, 50%, 30%, .15);
  color: hsla(210, 50%, 95%, .9);
}

.slider__btn svg {
  pointer-events: none;
}

.slider__btn--left {
  left: 0;
  transform: translate(50%, -50%);
}
.slider__btn--left:is(:hover, :focus) {
  animation: 850ms infinite moveLeft cubic-bezier(0.25,-0.50, 0.17, 1.2);
}

@keyframes moveLeft {
  10% {
    left: -3px;
  }
}

.slider__btn--right {
  right: 0;
  transform: translate(-50%, -50%);
}
.slider__btn--right:is(:hover, :focus) {
  animation: 850ms infinite moveRight cubic-bezier(0.25,-0.50, 0.17, 1.2);
}

@keyframes moveRight {
  10% {
    right: -3px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
