/* css clean op */

*{
	font-family: 'Gugi', sans-serif; font-weight: 300;
	box-sizing: border-box;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
	margin: 0;
	padding: 0;
}

:root {
    --bg-color: #270318;
    --text: #ffffff;
    --textdarkend: #6d6d6d;
    --border: 12px;
    --award-size: 25rem;
}

html {
    overflow: auto;
    background: var(--bg-color);
    width: 100vw;
    height: 100%;
    overscroll-behavior-y: none;
}

body {
    overflow: auto;
    background: var(--bg-color);
    background: linear-gradient(rgb(85, 0, 57) 0.42%, rgb(21, 0, 6));
    box-shadow: inset 0 0 20rem 8rem rgb(0, 0, 0);
    height: 100%;
    overscroll-behavior-y: none;
}

/* main area */

.texture {
    position: absolute;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(/images/texture.png);
    background-size: cover;
}

.header {
    z-index: 1;
    display: flex;
    width: 100vw;
    height: auto;
}

.sign {
    margin: 6vh auto 6vh auto;
    z-index: 1;
    width: 20rem;
}

.awards {
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    flex-wrap: wrap;
    width: 100vw;
    height: auto;
}

a {
    z-index: 1;
}

.no-style {
    margin: 0 auto 0 auto;
}

.award{
    position: relative;
    margin: 2vh auto 2vh auto;
}
.award .front{
    position: relative;
    width: var(--award-size);  height: auto;
    backface-visibility: hidden;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 1s;
}
.award.backwards .front{
    transform: perspective(1000px) rotateY(180deg);
}
.award .back{
    position: absolute;
    top: 0;   left: 0;
    width: var(--award-size);  height: auto;
    backface-visibility: hidden;
    transform: perspective(1000px) rotateY(-180deg);
    transition: 1s;
}
.award.backwards .back{
    transform: perspective(1000px) rotateY(0deg);
}

.persones {
    /*box-shadow: inset 20px 20px 20px -5px #13131399,
                inset -20px -20px 20px -5px #cdcdcd13;*/
    background-color: #00000022;
    border: 10px solid rgba(50, 3, 30, 0.478);
    display: flex;
    border-radius: 20px;
    gap: 0;
    width: 100%;
    max-width: 900px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 1rem;
    padding: 100px 0 100px 0;
    margin: 0 auto;
    margin-top: 1vh;
  }
  
  .section__item {
    --stop: always;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    scroll-snap-align: center;
    scroll-snap-stop: var(--stop);
    font-size: 1.5rem;
    position: relative;
  }
  .inner_item{
    font-size: 2.5rem;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 20%;
    background-size: contain;
    opacity: .4;
    transition-property: width, height, font-size, opacity;
    transition-duration: .5s;
    /*background-color: #aaa;*/
  }
  /*
  .section__item:nth-child(odd) {
    background-color: #aaf;
  }
  */
  /* Other styles */
  
  .bigger .inner_item{
    opacity: 1;
    font-size: 4rem;
    z-index: 3;
    width: 120%;
    height: 120%;
  }

/**********  front  **************/

.award .front img{
    width: var(--award-size);  height: auto;
}

/**********  back  **************/

.award .back img{
    width: var(--award-size);  height: auto;
}

@media(max-width:1050px) {
     .awards {
        flex-direction: column;
    }

    .sign {
        margin: 3vh auto 3vh auto;
        width: 15rem;
    }

    :root {
        --award-size: 23rem;
    } 
    .persones {
        margin-top: 10vh;
      }   
 }

 /**********  js  **************/
 @media(max-width:780px) {
    .persones {
        max-width: 450px
    }
    .section__item {
        width: 150px;
        height: 150px;
    }
    .bigger .inner_item{
        width: 150%;
        height: 150%;
      }
 }
 @media(max-width:470px) {
    .persones {
        max-width: 300px
    }
    .section__item {
        width: 100px;
        height: 100px;
    }
    .bigger .inner_item{
        width: 180%;
        height: 180%;
      }
 }

 @media(max-width:750px) {
   :root {
       --award-size: 20rem;
   }  
   
   body {
    box-shadow: inset 0 0 5rem 1rem rgb(0, 0, 0);
    }

   .sign {
    width: 13rem;
    }
}