
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

.header {
  padding: 1rem;
  text-align: center;
  background: #1abc9c;
  color: white;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(-100%);
  animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
  to {
    transform: translateY(0);
  }
}

.header h1 {
  font-size: 2rem;
  margin: 0;
}

nav {
  background-color: #333;
  color: #fff;
  padding: 1rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 1rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

@keyframes slideInNav {
  to {
    transform: translateY(0);
  }
}

.navbar a {
  display: block;
  color: white;
  text-align: center;
  padding: 1rem;
  text-decoration: none;
}

.navbar a.right {
  float: right;
}

.navbar a:hover {
  background-color: #555;
}

.row {  
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.side {
  flex: 30%;
  background-color: #f1f1f1;
  padding: 1rem;
  text-align: center;
  transform: translateX(-100%);
  animation: slideInSide 0.5s 0.5s forwards;
}

@keyframes slideInSide {
  to {
    transform: translateX(0);
  }
}

.side h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.main {   
  flex: 70%;
  background-color: white;
  padding: 1rem;
  text-align: center;
  transform: translateX(100%);
  animation: slideInMain 0.5s 0.5s forwards;
}

@keyframes slideInMain {
  to {
    transform: translateX(0);
  }
}

.main h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.main embed {
  width: 100%;
  max-width: 1000px;
  height: 500px;
}

.footer {
  padding: 1rem;
  text-align: center;
  background: #ddd;
  clear: both;
  transform: translateY(100%);
  animation: slideInFooter 0.5s 0.7s forwards;
}

@keyframes slideInFooter {
  to {
    transform: translateY(0);
  }
}

@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
  }

  .side, .main {
    flex: 100%;
    max-width: none;
  }

  .main embed {
    width: 100%;
    height: auto;
  }
}

.side img,
.main embed {
  transition: transform 0.3s ease;
}

.side img:hover,
.main embed:hover {
  transform: scale(1.05);
}

.mains {

  transform: translate(40%, 6%);
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.up {
  display: flex;
  flex-direction: row;
  gap: 0.3em;
}

.down {
  display: flex;
  flex-direction: row;
  gap: 0.3em;
}

.card1 {
  width: 50px;
  height: 50px;
  outline: none;
  border: none;
  background: white;
  border-radius: 90px 5px 5px 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: .2s ease-in-out;
}

.instagram {
  margin-top: 1.5em;
  margin-left: 1.2em;
  fill: #cc39a4;
}

.card2 {
  width: 50px;
  height: 50px;
  outline: none;
  border: none;
  background: white;
  border-radius: 5px 90px 5px 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: .2s ease-in-out;
}

.twitter {
  margin-top: 1.5em;
  margin-left: -.9em;
  fill: #03A9F4;
}

.card3 {
  width: 50px;
  height: 50px;
  outline: none;
  border: none;
  background: white;
  border-radius: 5px 5px 5px 90px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: .2s ease-in-out;
}

.github {
  margin-top: -.6em;
  margin-left: 1.2em;
}

.card4 {
  width: 50px;
  height: 50px;
  outline: none;
  border: none;
  background: white;
  border-radius: 5px 5px 90px 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: .2s ease-in-out;
}

.discord {
  margin-top: -.9em;
  margin-left: -1.2em;
  fill: #8c9eff;
}

.card1:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #cc39a4;
}

.card1:hover .instagram {
  fill: white;
}

.card2:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #03A9F4;
}

.card2:hover .twitter {
  fill: white;
}

.card3:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: black;
}

.card3:hover .github {
  fill: white;
}

.card4:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #8c9eff;
}

.card4:hover .discord {
  fill: white;
}