/* GENERAL */
body {
  background-color: white;
  color: black;
  font-family: Poppins;
  margin: 0; 
  padding: 0;
}
h1 {
  padding-left: 64px;
  padding-right: 64px;
}
p {
  padding-left: 64px;
  padding-right: 64px;
}
img {
  margin-left: 64px;
  margin-right: 64px;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* FONTS */
@font-face {
  font-family: Poppins;
  src: url(other/poppins.ttf);
}

/* LINKS */
a:link {
  color: gray;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  text-decoration: none;
  transition-property: color;
  transition-duration: 0.3s ease-out;
  color: black;
}

a:active {
  color: gray;
  text-decoration: none;
}

a:visited {
  color: gray;
  text-decoration: none;
}

/* IDs */
#cover {
  width: 10vw;
  min-width: 300px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  border-radius: 5%;
  transition: 0.3s;
}
#cover:hover {
 animation-iteration-count: infinite;
 animation-name: grid;
 animation-duration: 1s;
}
#banner {
  width: 50vw;
  height: auto;
}
#icon {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}
#topbutton {
  cursor: pointer;
  color: grey;
  transition: 0.3s;
}
#topbutton:hover {
  color: black;
  transition-property: color;
}

/* DIVS */
.icon-image {
  margin-left: auto;
  margin-right: 32px;
  height: 64px;
  width: 64px;
  transition: 0.3s;
  vertical-align: middle;
}
.icon-image:hover {
  transform: scale(1.25);
}
.banner {
  background-color: white;
  background-image: url("images/boytoysystem_banner.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  height: 20vw;
  border: 0 transparent;
  padding: 0;
  margin: 0;
}

/* TOPNAV */
.topnav {
  background-color: transparent;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  top: 0;
  left: 0;
}
.logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.logo img {
  width: 100%;
  height: 100%;
  display: block;
}
.menu-wrap {
  flex-grow: 1;
  background-color: grey;
  height: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.menu {
  left: 64px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  transition: max-width 1.5s ease, opacity 0.5s ease;
}
.menu.show {
  max-width: 100vw;
  opacity: 1;
}
.menu a {
  width: 64px;
  height: 64px;
  background-color: grey;
  color: white;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 10px;
  box-sizing: border-box;
  transition: transform 1.5s ease
}
.menu a:hover {
  background-color: grey;
  transform: scale(1.2);
}

/* GRID */
.grid-container {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 128px;
  padding: 10px;
}
.grid-container > div {
  background-color: white;
  color: black;
  padding: 10px;
}

/* ANIMATIONS */
@keyframes grid {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-5px);
	}
	100% {
		transform: translateY(0px);
	}
}

/* BOTTOM TEXT */
.bottom-text {
  position: fixed;
  background-color: white;
  color: black;
  bottom: 0;
  text-align: left;
  font-size: 16px;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  left: 0;
  right: 0;
  padding: 10px 10px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.bottom-text a:hover {
  color: black;
}

/* PHONE SCREENS */
@media only screen and (min-width: 768px) {
  .phone-only {
    display: none;
  }
}
@media only screen and (max-width: 768px) {
  
/* GENERAL */
body {
  background-color: white;
  color: black;
  font-family: Poppins;
  margin: 0; 
  padding: 0;
  font-size: 15px;
 }
  h1 {
  padding-left: 16px;
  padding-right: 16px;
 }
p {
  padding-left: 16px;
  padding-right: 16px;
 }
img {
  margin-left: 16px;
  margin-right: 16px;
  }
  
/* IDs */
#topbutton:hover {
  color: gray;
}
#banner {
  width: 90vw;
}

/* DIVs */
.icon-image {
 margin-right: 16px;
  height: 32px;
  width: 32px;
}

/* TOPNAV */
.menu a {
  font-size: 12px;
  margin: auto;
}
.menu {
  transition: max-width 1.5s ease, opacity 2s ease;
}
.banner {
  height: 50vw;
}

/* BOTTOM TEXT */
.bottom-text {
   font-size: 8px;
   background-color: white;
   left: 0;
   right: 0;
   padding: 10px 10px;
 }
 .bottom-text a:hover {
  font-size: 9px;
  }
}