// VueAgile styles
.agile {
  &__box {
    z-index: 2;
    width: 100%;
    max-width: 10vw;
    .slide {
      width: 100%;
      min-height: 80vh;
      img {
        display: block;
        min-height: 80vh;
        width: 100%;
        height: 80vh;
        object-fit: cover;
      }
    }
  }
  &__dots {
    width: 100%;
    z-index: 9;
    bottom: 1em;
    flex-direction: row;
    right: 0;
    left: 0;
    position: absolute;
    justify-content: center;
  }
  &__dot {
    margin: 0px 4px;
    transition: all 0.3s ease;
    &--current {
      background-color: #fff;
      border-radius: 50%;
    }
    &:hover {
      border-radius: 50%;
      background-color: #fff;
    }

    button {
      border-radius: 50%;
      background-color: transparent;
      border: thin solid #fff;
      cursor: pointer;
      display: block;
      height: 10px;
      font-size: 0;
      line-height: 0;
      margin: 0;
      padding: 0;
      transition-duration: 0.3s;
      width: 10px;
    }
  }
}

.agile__slide {
  position: relative;
  &--title {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--primary-text);
    background: rgba(black, 0.1)
      url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGElEQVQYV2NkQAOMDAwMDchiIAEUgKECAB7uAQW2u7tQAAAAAElFTkSuQmCC') repeat top left;
  }
  &--btns {
    margin-top: 3em;
    display: flex;
    justify-content: center;
    .btn-blue,
    .btn-white {
      background-color: var(--accent);
      padding: 1.5rem 0;
      color: var(--primary-text);
      text-transform: uppercase;
      font-weight: bold;
      border: 0;
      cursor: pointer;
      width: 200px;
      border-radius: 4px;
      transition: all 0.3s ease-in;
    }
    .btn-blue {
      box-shadow: 0 2px 5px rgba($primary, 0.2), 0 3px 6px rgba($primary, 0.4);
      &:hover {
        background-color: darken($primary, 5);
        box-shadow: 0 2px 5px rgba($primary, 0.5), 0 3px 8px rgba($primary, 0.5);
      }
    }
    .btn-white {
      margin-left: 1em;
      background-color: var(--primary-text);
      color: var(--primary);
      box-shadow: 0 2px 5px rgba($primary-text, 0.2), 0 3px 6px rgba($primary-text, 0.4);
      &:hover {
        background-color: darken($primary-text, 5);
        box-shadow: 0 2px 5px rgba($primary-text, 0.5), 0 3px 8px rgba($primary-text, 0.5);
      }
    }
  }
}

.title-big {
  font-size: 4em;
  line-height: 1.5;
  font-weight: bold;
  color: var(--primary-text);
}

.title-small {
  font-size: 1.3em;
  color: var(--primary-text);
}

@media (max-width: 992px) {
  .agile__box {
    max-width: calc(100vw);
    .slide {
      height: 70vh;
    }
  }
  .agile__slide {
    &--btns {
      .btn-blue,
      .btn-white {
        width: 170px;
      }
    }
  }
  .title-big {
    font-size: 2.4rem;
  }

  .title-small {
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media (max-width: 760px) {
  .agile__box {
    max-width: calc(100vw);
  }
  .agile__slide {
    &--btns {
      .btn-blue,
      .btn-white {
        width: 125px;
        padding: 0.8rem 0;
      }
    }
  }
  .title-big {
    font-size: 1.5rem;
  }

  .title-small {
    font-size: 1rem;
  }
}
/*=============================================
=                   Project                   =
=============================================*/
.agile-project {
  height: 250px;
  margin: 1rem 0;
  // width: calc(100% + 10px);
  // padding: 1rem 0;
  // background-color: blue;
  // background-color: red;
  a {
    // width: 100%;
    height: 100%;
  }
  .slide-project {
    height: 250px;
    width: 100%;
    object-fit: contain;
    padding: 0 5px;
    cursor: pointer;
    // height: 100px;
    padding: 0 5px;
    transition: all 0.3s ease;
    &:hover {
      opacity: 0.75;
    }
    // margin-left: 10px;
  }
  .agile__dots {
    width: 100%;
    z-index: 9;
    bottom: 0;
    flex-direction: row;
    right: 0;
    left: 0;
    position: absolute;
    justify-content: center;
  }
  .agile__dot {
    background-color: var(--primary);
    margin: 0px 4px;
    transition: all 0.3s ease;
    border-radius: 50%;
    button {
      border: 0;
    }
    &--current {
      background-color: rgba($primary, 0.5);
      border-radius: 50%;
    }
    &:hover {
      border-radius: 50%;
      background-color: rgba($primary, 0.5);
    }
  }
  .agile__nav-button--prev,
  .agile__nav-button--next {
    // background: linear-gradient(to right, $primary, transparent);
    background-color: rgba($primary, 0);
    // backdrop-filter: blur(8px);
    border: 0;
    padding: 0 0.5rem;
    position: absolute;
    top: 0;
    bottom: 0;
    font-size: 1.5em;
    color: var(--primary);
    cursor: pointer;
    transition: background-color 0.3s ease-in;

    // &:hover {
    // 	background-color: rgba($primary, 0.1);
    // }
  }
  .agile__nav-button--next {
    // background: linear-gradient(to left, $primary, transparent);
    right: 0;
  }
}

// @media (max-width: 760px) {
// 	.agile-project {
// 		height: 100%;
// 		// height: 200px;
// 		.slide-project {
// 			height: 100%;
// 			width: 100%;
// 		}
// 	}
// }
