@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap");

* {
  margin: 0;
  padding: 0;
  /*background: #325c74;*/
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
}

nav,
nav .logo,
nav .logo h4,
nav .nav-links,
nav .nav-links li,
nav .nav-links a,
nav img {
  /*background-color: #325c74;*/
  -webkit-animation: bgcolor 60s infinite;
    animation: bgcolor 40s infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
    z-index: 1;
}

.logo {
  color: rgb(226, 226, 226);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 2.4rem;
  background-color: #325c74;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 45%;
}

.discord:link{
  color:yellow;
  padding: 1rem 1rem;
  border: 0.2rem solid white;
}

/*.discord{
  position: absolute;
  z-index:2;
  right: 15rem;
  top: 12px;
  color:yellow;
  padding: 0.5rem 0.8rem;
  background-color: transparent;
  text-decoration: none;
}

.discord:hover {
  
    margin: auto;
    border: 8px solid;
    border-image: linear-gradient(45deg, gold, deeppink) 1;
    clip-path: inset(0px round 10px);
    animation: huerotate 6s infinite linear;
    filter: hue-rotate(360deg);
}

@keyframes huerotate {
  0% {
      filter: hue-rotate(0deg);
  }
  100% {
      filter: hue-rorate(360deg);
  }
}*/

/*----- button 6 -----*/


.nav-links li {
  list-style: none;
}

.nav-links a {
  color: rgb(226, 226, 226);
  text-decoration: none;
  letter-spacing: 3px;
  font-weight: bold;
  font-size: 1.8rem;
}

.burger {
  display: none;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: rgb(226, 226, 226);
  margin: 5px;
  transition: all 0.3s ease;
}


body {
  margin: 0;
  /*font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;*/
  font-family: "Josefin Sans", sans-serif;
  font-size: 24px;
  /*color: #0374C0;*/
  line-height: 1.6;
  /* changes color of background on a rotating basis*/
  -webkit-animation: bgcolor 60s infinite;
    animation: bgcolor 40s infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

@keyframes bgcolor {
  0% {
      background-color: #4166f5
  }

  30% {
      background-color: #325c74
  }

  60% {
      background-color: #191970
  }

  90% {
      background-color: #4f86f7
  }

  100% {
      background-color: #0000cd
  }
}

/* end of color rotation */

#showcase {
  background-image: url("./images/AS4.png");
  background-size: cover;
  background-position: center;
  height: 120vh;
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}


#about{
  color: #ffffff;
  padding: 20px;
  margin: auto;
}

#about h2,
#about .words,
#about .imgrow{
  text-align: center;
  margin: auto;
}

#lore,
#lore .words{
  color: #ffffff;
  padding: 20px;
  background: linear-gradient(rgba(0,0,0,0.7),transparent),url(images/water.jpg);
  text-align: center;
  margin: auto;
}

#lore h3{
  margin: auto;
  width: 40%;
  border-radius: 50%;
  background-color: #0374C0;

}

#lore p{
  padding: 1.5rem 1.5rem;
  width: 80%;
  margin: auto;
  border-radius: 10%;
  background-color: #0374C0;
}

#roadmap{
  color: #ffffff;
  padding: 0 2rem;
  padding-top: 3rem;
  text-align: center;
}

#team{
  color: #ffffff;
  padding-top: 3rem;
  text-align: center;
}

hr.blue{
  width:30%;
  margin:auto;
  background-color: #8ed1fc;
  height:3px;
  border:none;
  border-radius: 25%;
}

hr.blue1{
  width:15%;
  margin:auto;
  background-color: #8ed1fc;
  height:3px;
  border:none;
  border-radius: 25%;
}

#about .words{
  border-radius: 10px;
  width:80%;
  padding:10px 10%;
}

/*#lore .words{
  border-radius: 10px;
  width:80%;
  padding:10px 10%;
}*/


/*#roadmap .words{
  border-radius: 10px;
}*/

#team .words{
  border-radius: 10px;
}

.imgrow{
  display:flex;
}


.roadmap-box{
  padding: 3rem;
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

#roadmap-box h3 {
  text-align:center;
  background-color: #0374C0;
}
roadmap-box hr{
  width:15%;
  margin:auto;
  background-color: #000;
  height:3px;
  border:none;
  border-radius: 25%;
  padding-bottom: 10px;
}

.cards {
  width: 90%;
  /*margin: auto;*/
  display: flex;
  min-height: 50vh;
  align-items: center;
  flex-wrap: wrap;
}

.card {
  text-align: center;
    flex: 1 1 15rem;
    /*min-width: 20vw;
    width: 40vw;*/
    margin: 2rem 5rem;
    border-style: solid;
    border-radius: 20%;
    padding: 2rem 2.5rem;
    background: #02568e;
}

.card h3{
  padding: 1rem;
  background: #03578f;
}

.card hr{
  margin-bottom: 2rem;
}

/* Accordion  */
/* Sets the width for the accordion. Sets the margin to 90px on the top and bottom and auto to the left and right */
.accordion-body{
  /*background-color:black;*/
  color:white;
  margin:0;
  padding:0;
}
.accordion {
  width: 60%;
  margin: 90px auto;
  color: white;
  /*background-color: black;*/
  padding: 45px 45px;
}

.accordion h1{
  text-align: center;
}

.accordion .container {
  position: relative;
  margin: 10px 10px;
}

/* Positions the labels relative to the .container. Adds padding to the top and bottom and increases font size. Also makes its cursor a pointer */

.accordion .label {
  position: relative;
  padding: 10px 10px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
/* Positions the plus sign 5px from the right. Centers it using the transform property. */

.accordion .label::before {
  content: '+';
  color: white;
  position: absolute;
  top: 50%;
  right: -5px;
  font-size: 30px;
  transform: translateY(-50%);
}

.accordion .label:hover {
  color: #8ed1fc;
}
/* Hides the content (height: 0), decreases font size, justifies text and adds transition */

.accordion .content {
  position: relative;
  /*background-color: #000;*/
  height: 0;
  font-size: 20px;
  text-align: justify;
  width: 100%;
  overflow: hidden;
  transition: 0.5s;
}

/* Adds a horizontal line between the contents */

.accordion hr {
  width: 100;
  margin-left: 0;
  border: 1px solid grey;
}
/* Unhides the content part when active. Sets the height */

.accordion .container.active .content {
  height: fit-content;
  width: 90%;
  padding: 0 30px;
}

/* Changes from plus sign to negative sign once active */

.accordion .container.active .label::before {
  content: '-';
  font-size: 30px;
}
/*  end Accordion  */

img {
  display: block;
  margin: auto;
}

#summary {
  display: absolute;
  margin: 0 auto;
  width: 60%;
  padding: 20px 20px;
  background: linear-gradient(#f0f8ff, #f0ffff); /*#fffafa, #f5fffa);*/
  border: 2px dotted lightblue;
}

#info {
  display: block;
}

.info-box {
  display: absolute;
  margin: 0 auto;
  background: #191970;
  font-weight: bold;
  color: #fff;
  align-items: center;
  text-align: center;
  font-size: 32px;
  padding: 20px 0;
}

footer {
  display: absolute;
  margin: 0 auto;
  background: #000;
  color: #fff;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

/* media queries */

@media screen and (max-width: 1500px) {
  .nav-links{
    width: 40%;
  }
}


@media screen and (max-width: 1224px) {
  body {
    overflow-x: hidden;
  }

  .nav-links {
    position: fixed;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  .nav-links li {
    opacity: 0;
  }

  .nav-links a{
    font-size: 3rem;
  }

  .discord:link{
    font-size: 1.4rem;
  }

#showcase{
  height:60vh;
}

  .burger {
    display: block;
    cursor: pointer;
  }

  #about .words{
    width: 100%;
  }

#lore .words p{
  width: 100%;
}

#roadmap{
  width: 100%;
  padding: 0 0;
  padding-top: 3rem;
  background: #02568e;
}
.roadmap-box{
  width: 100%;
  /*display: inline;
  justify-content: center;
  align-items: center;*/
  padding: 0 0;
}
.cards{
  width: 100%;
  font-size: 2.8rem;
  display: inline;
  align-items: center;
  justify-content: center;
}
.card h3{
  padding: 1rem 0;
  width: 50%;
  margin: auto;
}
.card hr{
  margin-bottom: 2.5rem;
}
.card {
  width: auto;
  border-style: none;
  padding: 1rem 0rem;
}


.accordion-body,
.accordion-body .accordion,
.container,
.container .label,
.container .label .content{
  width: 100%;
}
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

