:root {
  --background-color: #293C63;
  --secondary-background-color: rgba(67, 99, 165, 0.6);
  --tertiary-background-color: rgba(126, 70, 125, .6);
  --text-color: #C2C2D0;

  /* #293C63
  #C2C2D0
  #68BBC5
  #7E467D
  #5188BA */

  font-size: 2vh
}

@import url('https://fonts.googleapis.com/css?family=Noto+Sans');
* {
  font-family: 'Noto Sans', sans-serif;
  color: var(--text-color);

  cursor: default;

  -webkit-user-select: none;  
  -moz-user-select: none;    
  -ms-user-select: none;      
  user-select: none;

  -webkit-user-drag: none;
  -moz-user-drag: none;
  -ms-user-drag: none;
  user-drag: none;
}

a, a * {
  cursor: pointer;
}

.hidden, .hidden * {
  display: none;
}

html {
  background-color: var(--background-color);
  background: no-repeat center fixed;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)), url("/assets/background.webp");
  background-size: cover;

  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  width: 95vw;
  height: 95vh;
  display: flex;
  flex-direction: column;

  border-radius: 2vh;
  /* outline: .1vh solid #68BBC5; */
  /* background: rgba(41, 53, 59, 0.3); */
  /* box-shadow: inset 0 0 1vh #68BBC5;   */
}

body header {
  height: 20%;
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  justify-content: space-evenly;
}

body header img {
  max-height: 60%;
  height: auto;
  width: auto;
  object-fit: contain;
}

body header h1 {
  margin: 0;
}

body main {
  height: 70%;
  width: 100%;
  align-self: center;
  display: flex;
  flex-direction: row;
  background-color: var(--tertiary-background-color);
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}

body main section {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;

  background-color: var(--secondary-background-color);
  border-radius: 1em;
}

body main section div.content {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: center;
}

body main section div.content h2, body main section div.content h3, body main section div.content h4, body main section div.content p {
  padding: 1vw;
} 

body main section iframe.playlist {
  width: 60%;
}

body main section iframe.playlist {
  border-radius: 1em;
}

body main section.profiles .wrapper {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  height: 80%;
  width: 90%;
  margin: 0 auto;
}

body main section.profiles div.main {
  flex-direction: column;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr); 
  place-items: center;
  place-self: center;
}

body main section.profiles div.main a {
  align-items: center;
}

body main section.profiles div.main a img {
  height: 10vh;
}

body main section.profiles div.main a#discord {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

body main section.profiles div.main a#discord img {
  width: 10vh;
}

body main section.profiles div.main a#discord .popup {
  padding: .5em;
  font-weight: bold;
  position: fixed;
  margin-top: 10vh;
  background-color: var(--background-color);
  border-radius: 1em;
  cursor: default;
}

body main section.home div.content {
  width: 100%;
}

main section.home p a {
  cursor: text;
  padding-left: .3em;
  padding-right: .3em;
}

body footer {
  width: 100%;
  height: 8%;

  background-color: var(--tertiary-background-color);
  border-bottom-left-radius: 1em;
  border-bottom-right-radius: 1em;
}

body footer nav {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

body footer nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-align: center;
  width: 8vw;
  height: 100%;
  
}

body footer nav a:hover {
  background-color: var(--tertiary-background-color);
  border-bottom-left-radius: 1em;
  border-bottom-right-radius: 1em;
}

body footer nav a.current {
  background-color: var(--secondary-background-color);
  border-bottom-left-radius: 1em;
  border-bottom-right-radius: 1em;

  font-weight: bold;
  cursor: default;
}

@media (orientation: portrait) {
  body main section {
    flex-direction: column;
    /* Additional styles specific for vertical orientation */
  }
  body main section iframe.playlist {
    width: 100%;
    height: 100%;
  }
  body main section.profiles div.main {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
  body main section.profiles div.main a img {
    height: 15vw;
    max-height: 10vh;
  }
  body main section.profiles div.main a#discord img {
    width: 15vw;
    max-width: 10vh;
  }
  body footer nav a {
    width: 20%;
  }
}

@media (pointer: coarse), (pointer: none) {
  body footer nav a {
    width: 25%;
  }

  body main section {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}