html {
  cursor: url('img/dsword.png'), auto;
  
}

body {
  background-color: black;
  color: rgb(255, 255, 255);
  font-family: monospace;
  margin: auto;
  max-width: 1280px;

}

.navbar {
  background-color: #313236;
  border-radius: 2px;
  max-width: 800px;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.navbar:hover {
  transform: rotate(-10deg);
}

.navbar a {
  color: #aaa;
  display: inline-block;
  font-size: 15px;
  padding: 10px;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  cursor: url('img/dsword.png'), auto;
}

a {
  color:aqua;
  font-size:20px;
  
}

.header-box {
  border: 3px solid black;
  font-size: 50px;
  background-image: url('img/skyline.jpg');
  background-size: cover;
  display: inline-block;
  padding: 20px;
}

.container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.rbutton {
  font: bold 20px Monospace;
  text-decoration: none;
  background-color: #313236;
  color: white;
  padding: 30px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;

  transition: transform 0.3s ease-in-out; 
}

.rbutton:hover {
  transform: rotate(15deg);
  border: 3px solid red;
  cursor: url('img/dsword.png'), auto;
}

.r2button {
  font: bold 20px Monospace;
  text-decoration: none;
  background-image: url('img/SplatoonBG05.webp');
  background-size: cover;
  color: white;
  padding: 30px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;

  transition: transform 0.3s ease-in-out; 
}

.r2button:hover {
  transform: rotate(15deg);
  border: 2px solid blue;
  cursor: url('img/dsword.png'), auto;
}

.dbutton {
  font: bold 20px Monospace;
  text-decoration: none;
  background-color: #313236;
  color: white;
  padding: 30px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;

  transition: transform 0.3s ease-in-out; 
}

.dbutton:hover {
  transform: rotate(15deg);
  border: 3px solid red;
  cursor: url('img/dsword.png'), auto;
}


.d2button {
  font: bold 20px Monospace;
  text-decoration: none;
  background-image: url('img/SplatoonBG05.webp');
  background-size: cover;
  color: white;
  padding: 30px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;

  transition: transform 0.3s ease-in-out; 
}

.d2button:hover {
  transform: rotate(15deg);
  border: 2px solid blue;
  cursor: url('img/dsword.png'), auto;
}


.scrolling_text {
  background-color: red;
  width: 100%;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}

.s_text {
  font-size: 20px;
  font-weight: 700;
  color: black;
  animation: animate_text 20s linear infinite;
}

.text span {
  margin: 0 40px;
}



@keyframes animate_text {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

