:root{
    --bg_color: #252c42;
    --text_color: rgb(217, 217, 217);
}

.content {
  display: grid;
  
  /* background-color: #161616; */
  background-color: var(--bg_color);
  grid-template-rows: auto;
  gap: 1rem;
  
}

.content .sect-title {
  width: 100%;
  height: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 10px auto;
  gap: 15px;
  font-size: 1.8em;
  color: var(--text_color);
}


.content .sectA {
  margin-top: 80px;
  height: calc(100vh * 0.93);
  width: 100%;
  color: var(--text_color);
}

.content .sectA::after {
  content: "";
  width: 100%;
  height: calc(100vh * 0.93);
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(to top, var(--bg_color) 15%, transparent 50%, transparent);
}

.content .sectA img {
  margin-top: -80px;
  width: 100%;
  height: calc(100vh * 0.93);
  object-fit: cover;
  overflow: hidden;
}

.content .sectA .main-title {
  width: 50%;
  height: 150px;
  position: absolute;
  left: calc(100vw * 0.1);
  top: calc(100vh * 0.7);
  z-index: 10;
}

.content .sectA .main-title .title {
  font-size: 5em;
  font-weight: bold;
  color: var(--color-nav);
}

.content .sectA .main-title .desc {
  font-size: 24pt;
  font-style: italic;    
}

.content .sectA .main-title .title,
.content .sectA .main-title .desc {
  transform: translateY(30px);
  filter: blur(20px);
  opacity: 0;
  animation: showStart .5s .5s ease-in-out 1 forwards; 
}

.content .sectA .main-title .desc {
  animation-delay: .8s;
}


@keyframes showStart {
  to{
      transform: translateY(0);
      filter: blur(0);
      opacity: 1;
  }    
}



/*  ABOUT  */
.content .sectB {
  height: max-content;
}

.content .sectB .text{
  height: 100%;
  width: 50%;
  /* background-color: rgb(23, 81, 83); */
  margin: auto auto;
  font-weight: 400;
  color: var(--text_color);
}

.content .sectB .text p{
    text-align: left;
    text-indent: 45px;
    font-size: x-large;
}



/* -- FEATURES-- */

.column{
  padding: 2rem;
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.column .item{
  background-color: orange;
  border-radius: 10px;
  padding: 2rem;    
}

.column .item .item-title{
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-content: center;
  gap: 1rem;
  padding-bottom: 1rem;
}

.item-title {
  font-size: 1.4rem;
  color: var(--bg_color);
}

.item .item-content{
  font-size: 1rem;
  text-indent: 35px;
  color: var(--bg_color);
}

/*-------
----*/

.content .secD {
  display: flex;
  justify-content: center;
}

.content .secD .work-list {
  margin: 0;
  padding-inline: 0;
  list-style: none;
}

.content .secD .work-list img {
  padding: 1rem;
  /* background-color: #646464; */
  border-radius: 0.5rem;
  box-shadow: 0 0.5ren 1rem -0.25rem #000;
}

.content .secD .scroller {
  max-width: 800px;
}

.content .secD .scroller[data-animated="true"] {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.content .secD .scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll 30s linear infinite;
}

.content .secD .scroller__inner {
  padding-block: 1rem;
  display: flex;
  gap: 1rem;
}

.content .button{
  display: flex;
    width: 200px;
    height: 45px;
    margin-left: auto;
    margin-right: auto;
    
    justify-content: center;
    align-items: center;
    
    text-decoration: none;
    font-size: 1.3em;
    color: var(--text_color);
    background: var(--menu_color);
    border-radius: 3px;
}


@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

/*--------*/
.content .secE {
    max-width: 80%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}


.content .secE img{
  width: 100%;
}


/*-----*/

@media screen and (max-width: 1000px) {
  
  .content .secD .scroller {
    max-width: 100vw;
  }
  .content .secD .scroller[data-animated="true"] .scroller__inner {
    width: calc(100vw - 20px);
  }
}
@media screen and (max-width: 500px) {  
   .content .sectA .main-title .title {
    font-size: 2.5em;
  }
  .content .sectA .main-title .desc {
    font-size: 1em;
  }
   
}

@media screen and (min-width:500px) {
  .column{
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .content .secE img{
    height: 350px;
    width: min-content;
  } 
}

@media screen and (min-width:800px) {
  .column {
      grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  }
}

/* 
.content .sect-title,
.content .sectB,
.content .secC {
  animation: showScroll linear;
  animation-timeline: view();
  animation-range-start: -0px;
  animation-range-end: 300px;
}

@keyframes showScroll {
  from {
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
} */