body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 30px;
  line-height: 1.6;
}

div {
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

div:hover {
  padding: 6px;
  transform: scale(1.02);
}
h1 {
  text-align: center;
  color: #2c3e50;
  margin-top: 0;
  font-size: 4vw;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  margin-bottom: 20px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



a {
  display: inline-block; /* Needed to make transform work right */
  transition: all 0.3s ease;
  text-decoration: none;
  color: #3498db;
  font-weight: bold;
  background-color: #cfe8e4;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform-origin: center center;
}

a:hover {
  transform: scale(1.3);
  font-size: 32px;
  text-decoration: underline;
}

@keyframes letter-bounce {
  0%   {font-size: 100%;}
  50% {font-size: 120%;}
  100% {font-size: 100%;}
}

#coded-char {
  padding: 0px;
  position: relative;
  text-align: center;
  vertical-align: bottom;  /* align baseline better */
  transition: all 1.3s ease;
  transform-origin: center center;
  cursor: default;
  animation: letter-bounce 2s ease infinite;
}



#coded {
  padding: 5px;
  transition: all 0.5s ease;
  font-size: 30px;
}

#coded:hover {
  color: #867491;
  font-size: 50px;
}

.char {
  position: relative;
  text-align: center;
  vertical-align: bottom;  /* align baseline better */
  transition: all 1.3s ease;
  transform-origin: center center;
  cursor: default;
}

@keyframes rainbow-flash {
  0%   { color: red; }
  14%  { color: orange; }
  28%  { color: yellow; }
  42%  { color: green; }
  57%  { color: blue; }
  71%  { color: indigo; }
  85%  { color: violet; }
  100% { color: red; }
}

.char:hover {
  transform-origin: center center;
  animation: rainbow-flash 3s linear infinite;
  font-size: 5vw;
}

@keyframes dots-move {
  0% {
    border-width: 1px;
  }
  50% {
    border-width: 2px;
  }
  100% {
    border-width: 1px;
  }
}


img, iframe {
  display: block; /* Needed to make transform work right */
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 20px;
  border: 4px dotted #3498db;
  animation: dots-move 2s linear infinite;

  transition: all 0.5s ease;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transform: scale(.85);        
  width: 35vw;
  height: 15vw;
}



img:hover, iframe:hover { 
  border-radius: 100px;
  transform: scale(1.3);
}
