/* - fonts - */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

@font-face {
  font-family: Druk-Wide-Bold;
  src: url(../assets/fonts/Druk-Wide-Bold.ttf);
  font-family: Tungsten-Bold;
  src: url(../assets/fonts/Tungsten-Bold.ttf);
}
:root {
  --bg-color: #dbd8d2;
  --primary-color: #1F2326;
  --secondary-color: #ff4655;
  --tertiary-color: #F8F8F8;
  --quaternary-color: #c4c4c4;
  --nav-color: #0f1923;
  --success-color: rgb(24, 88, 24);
}
html, body {
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  height: auto;
  min-height: 100vh;
  width: 100%;
  color: var(--primary-color);
}
body{
  display: grid;
  grid-template-areas: 
  "nav    nav   nav"
  "header header header"
  "main   main  aside"
  "footer footer footer";
}

/* Algemeen */
h1{
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    padding: 2rem 1rem 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-align: center;
}
h2{
    font-family: Tungsten-Bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 0.1rem;
    padding: 1rem 1rem 1rem 1rem;
}
h3{
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: bold;
    padding: 2rem 1rem 1rem 3rem;

}
p{
    font-family: 'Montserrat', sans-serif;
    color: #1F2326;
    font-size: 1rem;
    padding: 0 1rem 0rem 2rem;
}
a{
    color: var(--secondary-color);
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    font-weight: bold;
}
a:hover{
  color: var(--tertiary-color);
}
.left{
  width: 50%;
}
.right{
  width: 50%;
}
.full{
  width: 100%;
}
/* nav */
nav {
  grid-area: nav;
  display: flex;
  justify-content: space-between;
  max-height: 60px;
  background-color: var(--nav-color);
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 2;
}
.nav-logo{
  z-index: 2;
}
nav .logo{
  height: 2rem;
  margin: 1rem 1.5rem 0 2rem;
}
nav ul {
  display: flex;
}
nav ul li {
  list-style: none;
}
nav ul li a {
  display: block;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--tertiary-color);
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
  margin: 1rem 1.5rem;
  transition: color 0.2s;
  animation: drop 1s;
}
@keyframes drop {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  60% {
      opacity: 1;
    }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
nav ul li a:hover {
  color: var(--secondary-color);
}


/* header */
header {grid-area: header;}

/* main */
main{
  grid-area: main;
  max-width: 800px;
  height: 100%;
  margin: auto;
  padding: 1rem;
}
/* aside */
aside {
  grid-area: aside;
  max-width: 25rem;
  padding: 1.5rem 1.5rem 3rem 1.5rem;
  border-left: 0.1rem solid var(--secondary-color);
}

.likeaside{
  position: -webkit-sticky;
  height: 20vh;
  position: sticky;
  top: 7%;
  z-index: 1;
  width: 300px;
}
#searchbutton{
  background-color: #ff4655;
  color: #fff;
  border: none;
  width: 100px;
  border-radius: 22px;
  padding: 5px;
  margin: 1rem;
}
.like {
  display: inline-block;
  background-color: var(--tertiary-color);
  color: var(--secondary-color);
  padding: 5px 25px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  margin-top: 1rem;
}
.like:hover{
  color: var(--secondary-color);
}
.like:hover:before {
  content: '';
  background: linear-gradient(45deg,#fff, var(--secondary-color), #fff);
  position: absolute;
  top: -2px;
  left:-2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
  color: var(--secondary-color);
}



.like:hover:before {
  opacity: 1;
}


@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
} 
#search{
  width: 120px; 
  border: 1px solid var(--secondary-color);
}
/* leaflet map */
#aMap, #agentsMap{
  height: 800px;
  width: auto;
  z-index: 0;
}
#map{
  display: block;
  padding: 50px;
}
#mapMaps{
  display: block;
  padding-bottom: 30px;
}
/* footer */
footer {
  grid-area: footer;

}

footer p {
  font-size: 0.9rem;
  padding: 1rem 0 1rem 0;
  text-align: center;
  color: var(--nav-color);
}

/* index */
#index{
  max-width: 1000rem;
}
#hobby{
    background-color: var(--quaternary-color);
    width: 60vw;
    height: auto;
    margin: auto;
    text-align: center;
}
#hobby p{
  max-width: 700px;
  margin: 1rem auto;
  padding-bottom: 10px;
}
#hobby figure{
    display: flex;
    justify-content:space-around;
}
#hobby img{
    height: auto;
    max-width: 40%;
    padding-bottom: 2vw;
}
#me{
    width: 20vw;
}
#me article{
    padding: 2rem;
    min-width: 200px;
}
#me p{margin-top: 1rem;}
#me img{
    height: auto;
    width: 10rem;
    border-radius: 50%;
}

/* Valorant */
#flexmain{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.overview{ 
  display:flex; 
}
.overview li{
  padding: 0.5rem;
}
.samenvatting {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  justify-content: center;
  border-top: 2px solid var(--tertiary-color);
  padding: 1rem;
}
.samenvatting img{
  width: 300px;
  height: auto;
  float: right;
  padding: 0.5rem 0;
}

/* comments */
.comment-box, #posted-comment #comments{
  padding: 0.5rem;
}
.comment-box{
  padding: 30px;
  margin: 1rem;
  background-color:#EFEEE8;
  box-shadow: 0px 2px 2px #0f1923;
  border-radius: 5px;
}
.comment-section{
  width: 80%;
  height: auto;
  margin: 0px auto;
  border-top: 1px solid #fff;
}

.comment-box form{
  padding-bottom: 10px;
}
.comment-box textarea{
  background-color: #F8F8F8;
  width: 90%;
  height: 152;
  margin: 10px ;
  padding: 10px;
  resize: inherit;
  box-shadow: 0px 0px 0px 1px var(--primary-color);
}
.comment-box textarea:focus-visible{
  box-shadow: inset 0px 0px 0px 1px #ff4655;
  outline: none;
}
.comment-box #submit{
  float: right;
  padding: 10px 10px;
  border: none;
  background-color: #ff4655;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
}
.comment-box #submit:hover{
  background-color: #ff4655;
}
#posted-comment{
  height: auto;
  background-color: #EFEEE8;
  border-radius: 6px;
  box-shadow: 0px 2px 2px #0f1923;
  margin-top: 50px;
  padding: 30px;
  margin: 1rem;
}
#posted-comment ul{
  margin: 10px;
}
#posted-comment ul li{
  background-color: #dbd8d2;
  padding: 5px;
  margin: 10px;
  border: 1px solid #ff4655;
  border-radius: 5px;
}
#posted-comment ul li p{
  padding: 3px;
}
.name{
  font-weight: bold;
}

/* socials */
.socials {
  display: flex;
  justify-content: flex-start;
}
.socials img {
  width: 3rem;
  height: auto;
  margin: 2rem 1.5rem 0 0;
}
/* regels */
.regels{
  width: 60%;
  margin: auto;
  padding: 2rem;
}
/* Agents */
#agents .agent-bio{
  padding: 50px;
  display: flex;
}
.agent-bio figcaption{
  text-align: center;
}
#roles{
  margin: 2rem 1rem;
  align-items: center;
}
.agent-bio #roles ul p{
  margin: 0 0.4rem;
}
.agent-bio span {font-weight: bold; color: #ff4655;}
#klik{
  text-align: center;
}
.agent-bio article{
  width: 100%;
  padding: 1rem;
}
.agent-bio img{
  width: 500px;
}
.agent-bio figure{
  width: 100%;
  height: auto;
}

.agent-bio audio{
  padding: 0 10px;
}
.agent-bio audio::-webkit-media-controls-panel {
  background-color: var(--bg-color);  
}
#agents table{
  margin: auto;
}
#agents table tr{
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

#agents table thead tr th{
  font-size: 0.9rem;
  color: white;
  padding: 0rem 1.5rem; 
}
#agents table thead tr th{
  background-color: var(--primary-color); 
}
#agents table tbody tr:nth-child(1n+1) td{
  background-color: var(--quaternary-color);
}
#agents table tbody tr td {
  padding: 0 0.5rem; 
}
#agents article p{
  padding: 1rem 0.5rem;
}
.voiceline{
  font-weight: bold;
  color: var(--secondary-color);
  border-left: 1px var(--secondary-color) solid;
}
.agentName{
  font-family: Tungsten-Bold;
  text-transform: uppercase;
  font-size: 5rem;
}
.role, .bio{text-transform: uppercase;}
.roleType{font-weight: bold;}
.info{max-width: 500px;}

/* maps */
.valorantMaps article{
  width: 45rem;
  height: 700px;
  justify-content: center;
  margin: auto;
  padding-left: 2rem;
}
.valorantMaps article img{
  width: 600px;
  height: auto;
}
.valorantMaps article .coordinaten{
  transform: translate(25rem, -10rem);
  width: 230px;
  height: 80px;
  background-color: var(--quaternary-color);
  padding: 1.5rem;
  color: var(--secondary-color);
}
.valorantMaps article .mapInfo{
  transform: translateY(-8rem);
  max-width: 600px;
}
/* cosmetics */
.cosmetics{text-align: center;}
.cosmetics p{margin: 1rem;}

.cosmetics{
    border-bottom: solid 1px white;
    padding-bottom: 2rem;
}
.mid{
  text-align: center;
}
.cosmetics article img{
    width: 100%;
    width: 600px;
    height: auto;
}

/* contact */
#contact{
  max-width: 850px;
  margin: auto;
  background-color: #EFEEE8;
  border-radius: 10px;
}
#contact input,#contact textarea,#contact button {
  width: 100%;
  font-size: 1.4rem;
  margin-bottom: 15px;
  padding: 10px;
  box-sizing: border-box;
}
#contact button{
  width: 10rem;
  background-color: #F8F8F8;
  border: solid 2px #646464;
  border-radius: 10px;
  color: #0f1923;
  cursor: pointer;
}
#contact form {
  margin-left: -20px;
  padding: 40px;
}
.contactform input, .contactform textarea {
  background: transparent;
  padding-top: 1rem;
  padding-bottom: 0.4rem;
  font-size: 0.9rem;
  border:0;
  border-bottom: solid 2px #646464;
}
#contact label, .contactform legend {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1.2rem;
  color: #646464;
  text-align: left;
  margin: 0rem 1rem 1rem 0rem;
}
#submitted{
  color: var(--success-color);
  font-weight: bold;
  padding: 1rem;
  text-align: center;
}

/* arsenaal */
.guns img { 
  width: 250px;
  float: left;
  padding: 1rem 3rem;
}
.guns h2{text-align: center;}
.guns article {
  height: 250px;
 padding: 20px 40px 40px;
  max-width: 1000px;
  margin: 2rem auto;
}

/* shop */

.shop-row{
  display: flex;
  flex-flow: row wrap;
  max-width: 1300px;
  height: auto;
  margin: auto;
  padding: 0 5rem 0 5rem;
}
.shop-row h3{text-align: center;}
.shop-row article{
  margin: auto;
  width: 33%;
  height: auto;
}
.shop-row figure figcaption{
  margin-bottom: 20px;
  padding: 3px;
  text-align: center;
}
.shop-row figure {
  display: flex;
  flex-flow: column;
  margin: 1rem auto 0px auto;
  padding: 5px;
  justify-content: space-between;
  width: 200px;
}
.shop-item {
  display: block;
  width: 100%;
  width: 200px;
  height: auto;
  box-shadow: rgb(101, 101, 101) 10px 10px 25px; 
}
.shop-item:hover {
  opacity: 0.8;
  transition: 0.5s;
}
.add-to-cart{
  background-color: #ff4655;
  color: #fff;
  border: none;
  width: 160px;
  border-radius: 22px;
  padding: 12px 32px;
  margin: 1rem auto;
}
.add-to-cart:hover{
  cursor: pointer;
  transform: scale(1.05);
}

.shop-row .likeheart{
  top: 58%;
  left: 75%;
  margin: 0.3rem;
}
#cart-list{
  text-align:end;
}
.white-spaces{
  white-space: pre-wrap;
  padding: 0.5rem;
}

@media all and (max-width: 1250px){
  body{
    display: grid;
    grid-template-areas: 
    "nav   nav"
    "header  header"
    "main  main"
    "aside aside"
    "footer  footer";
  }

  main{
    max-width: 768px;
  }
  /* aside */
  aside{
    border: none;
    border-top: 2px solid var(--secondary-color);
    margin: auto;
    height: 10vh;
  }
  .likeaside{
    position: static;
    top: 0;
  }

  /* nav */
  nav ul{
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
  }
  .nav-menu a{
    padding-right: 1.5rem;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -50%;
    flex-direction: column;
    justify-content: start;
    background-color: var(--nav-color);
    width: auto;
    height: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow:
    0 10px 27px rgba(0, 0, 0, 0.05);

  }
  .nav-menu.active {
    right: 0%;
  }
  .nav-item {
    margin: 2.5rem 0;
  }
  .hamburger {
    z-index: 4;
    display: block;
    cursor: pointer;
    padding-top: 10px;
    width: 50px;
    margin-right: 0;
  }
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--nav-color);
    background-color: var(--tertiary-color);
  }
 .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  /* agents */
  #agents .agent-bio{
    padding: 10px;
    display: block;
  }
  .agent-bio article {
    padding: 1rem 0;
  }
  .shop-item{
    width: 150px;
  }
  .shop-row figure{
    width: 150px;
  }
}

/* phone */
@media all and (max-width:768px) {
  body{
    display: grid;
    grid-template-areas: 
    "nav "
    "header"
    "main"
    "aside"
    "footer";
  }
  nav{
    top: -1px;
  };
  /* hamburger */
  .hamburger{
    width: 60px;
  }
  /* index */
  #hobby {
    background-color: var(--quaternary-color);
    width: 80vw;
  }
  #hobby p{
    padding: 0.5rem;
  }
  #hobby figure{
    display: block;
  }
  #hobby figure img{
    max-width: 80%;
  }
  #me{
    width: 80%;
    height: auto;
  }
  #me figure{
    display: flex;
    justify-content: center;
  }
  /* valorant */
  .samenvatting img{
    width: 200px;
    height: auto;
    float: right;
    padding: 1.5rem 0;
  }
  .overview{
    display: none;
  }
  .samenvatting {
    display: block;
    justify-content: center;
    border-top: 2px solid var(--tertiary-color);
    padding: 1rem;
  }
  .samenvatting .left{
    width: 100%;
  }
  .samenvatting .right{
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
  }
  /* regels */
  .regels{
  width: 80%;
  margin: auto;
  padding: 2rem;
  }
  /* agents */
  #agents{
    margin: 0;
    width: 100Vw;
    padding: 0;
  }
  audio{
     display: flex;
     margin: auto;
  }
  #roles li, #agents p{
    max-width: 300px;
    margin: 0.5rem;
    }
  #agents p{
     margin: auto;
    }
  #agents table tr a{font-size: 11px;}
  #agents table thead tr th{
    font-size: 12px;
    padding: 0.5rem 0.2rem; 
  }
  #agents section{flex-wrap: wrap;}

  #agents section img{
    max-width: 200px;
    margin: auto;
    display: flex;
  }
  #agents .agent-bio {
    display: flex;
  }
  .agent-bio h2,.agent-bio h3 {
    display: flex;
    justify-content: center;
  }
  /* maps */
  .mainMaps{
    padding: 0;
  }
  .valorantMaps h3{
    padding: 1rem 0;
  }
  .valorantMaps article{
    width: 65%;
    padding-left: 1rem;
    margin: 1rem;
  }
  .valorantMaps article img{
    width: 55vw;
  }
  .valorantMaps article .coordinaten {
    transform: translate(0, -0);
    width: 230px;
    height: 60px;
    margin-bottom: 0.5rem;
    padding: 0.5rem;

  }
  .valorantMaps article .mapInfo {
    transform: translateY(0);
    transform: translateX(-2rem);

    width: 100%;
  }

  /* cosmetics */
  .cosmetics figure{
    width: 300px;
    margin: auto;
  }
  .cosmetics figure img{
    width: 300px;
    height: auto;
  }

  /* shop */

  .shop-row{padding: 1rem 1rem 1rem 1rem;}
  .shop-row figure .shop-item {
    width: 200px;
  }
  .shop-row figure{
      width: 200px;
  }
  .shop-row{
    display: block;
  }
  .shop-row article {
    margin: auto;
    width: 100%;
    height: auto;
  }
  #cartshop{
    height: 400px;
  }

  /* arsenaal */
  .guns article{
    width: 300px;
    height: 400px;
  }
  .guns img {
    margin: auto;
    padding: 0.5rem;
  }
  
  /* comments */
  .comment-section{
    width: 100%;
  }
  .comment-section #count{
    padding: 0;
  }

  /* leaflet */
  #agentsMap {
    height: 50vh;
    width: 80vw;
  }
  #aMap{
    width: 80vw;
    left: 10vw;

  }
}
