
/*Universal*/
html {
  scroll-behavior: smooth;
}


*{
   font-family: 'IMB+Plex Mono', monospace;
    box-sizing: border-box;
}

/*-----------------------NAV BAR-----------------------*/
/*BUTTON BACK*/
.btn-back {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color:black;
}

.btn-back a:hover {
    color: #F661BF;
}

.btn-back span {
    font-size: 1.2rem;
}

.btn-back:hover span {
    transform: translateX(-5px);
}

.btn-back span {
    font-size: 1.3rem;
    font-weight: 100;
}

/*SIDEBAR FIJA*/
.sidebar {
    position: sticky;
    top: 50px;
    width: 220px;
    height: fit-content;
    padding: 0 0px 0px 80px;
    
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/*NAV BAR*/
.nav-case {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0px 0px 70px 0px;
}

.nav-case a {
    text-decoration: none;
    color:black;
}

.nav-case a:hover {
    color: #F661BF;
}

/*-----------------------------BODY-----------------------------*/
.case-study {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
    align-items: start;
}

.body-cs {
    width: 100%;
}

section{
     padding: 50px 80px 50px 0px;
}

/*TABLA 1*/
.table-one {
    display: grid;
    grid-template-columns: 1fr;
    padding: 60px 80px 0px 0px;
}

.subtable-one {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.subtable-one p:last-child {
    text-align: right;
}

.table-one img {
    width: 100%;
    height: auto;
    display: block;
}

/* TABLA 2 */
.table-two {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem 2rem;
}

.table-two h2 {
    grid-column: 1 / -1;
}

/*Cuerpo de la pagina*/
.body-case{
    display: grid;
    grid-template-columns: 1fr 4fr;
}

h2{
    font-size: 1.5rem;
    margin: 30px 0px 30px 0px;

}

article{
    padding: 0 160px;;
}

/*Lista de Analisis*/
.list ul{
    list-style-type: none;
}

.list li{
    margin-bottom: 10px;
}

.list li::before {
  content: "★ ";
}

/*Highlight text*/
.highlight {
  padding: 25px 0px;
  font-weight:800;
  font-size: 1.2rem;
  text-align:center;
  background-color: #70F661;
  margin-top:60px;
}

.highlight p {
    margin: 0;
}

/*Paragrah text*/
.paragraph{
    margin: 30px 0px 30px 0px;
    padding:0px;
}

/* Staggered animation */
.feature-one, .feature-two, .feature-three {
    background-color: #F661BF;
    padding: 20px;
    width: 120px;
    height: 120px;
    align-items: center;
    align-content: center;
    color: white;
    text-align: center;
    font-size: 0.8rem;
}

.symbol {
    font-size: 2rem;
    font-weight: 800;
    align-content: center;
}

.wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

@keyframes apparece {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*solution*/
.solution {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


.font-h2{
    font-size: 1.5rem;
}