/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: skyblue;
  color: black;
  font-family: Verdana;
}

@keyframes floating {
  0% {transform: translate(0px, -5px);}
  50% {transform: translate(0px, 5px);}
  100% {transform: translate(0px, -5px);}
}

header, footer{
  padding: 20px;
  background-color: snow;
  animation: floating 5s infinite cubic-bezier(0.65, 0.05, 0.36, 1) -1.125s;
}

section {
  
  display: flex;
  gap: 10px;
  width: 90%;
  max-width: 100rem;
  margin: auto;
  padding: 0;
}

article {
  flex: 1;
}

nav {
  min-width: 20%;
  background-color: aliceblue;
}

nav ul{
  list-style-type: none;
  padding: 0 0 5px 0;
  margin: 0;
  background-color: skyblue;
}

nav ul li {
  margin-bottom: 5px;
}

nav ul li a{
  display: block;
  padding: 8px 16px;
  color: black;
  background-color: white;
  text-decoration: none;
  transition: 0.1s cubic-bezier(0.18, 0.89, 0.32, 1.28); 
}

nav ul li a:hover:not(.active){
  background-color: lightcyan;
  /*
  position: relative;
  left: -5px;
  */
  transform: translate(-5px, 0px) rotate(-1deg) scale(1.05, 1.05);
  transition: 0.1s cubic-bezier(0.18, 0.89, 0.32, 1.28); 
}

nav ul li a:active{
  background-color: seagreen;
}

@media screen and (max-width: 800px)
{
  section
  {
    display: block;
    width: 100%;
    margin: auto;
  }
  nav
  {
    width:auto; 
    margin-top: 20px;
    margin-bottom: 20px;
  }
  nav ul li{
    text-align: center;
  }
}

hr
{
  width: 75%;
}

small 
{ 
  color: LightGray;
}

a:link
{
  color: orange;
}

.pageblock
{
  width: auto;
  background-color: snow;
  padding: 20px;
}

.pageimg
{
  max-width: 100%;
}

.flexcont
{
  display: flex;
  max-width: 100%;
}

.imgcard
{
  width: 45%;
  padding: 5px;
  border: 5px transparent solid;
  margin: 0;
}

.vidcard
{
  padding: 5px;
}

.imgcard:hover
{
  border: 5px orange solid;
}

.inhshadow {
  text-shadow: 3px -2px 5px black;
  transition: 1s ease-in-out;
}

.inhshadow:hover {
  text-shadow:  -3px 2px 5px red;
  transition: 1s ease-in-out;
}

.ball {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10rem;
  height: 10rem;
  background-color: indianred;
  background-image: radial-gradient(at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9) 10%, transparent 10%);
  border-radius: 50%;
  box-shadow: 0.1em 0.1em rgba(255,255,255,0.75) inset, -0.25em -0.25em 0em 0.2em rgba(0,0,0,0.25) inset, 0.5em 0.5em rgba(0,0,0,0.75);
  transition: 1s ease-in-out;
}

.ball:hover {
  background-color: darkcyan;
  border-radius: 1em;
  transition: 1s ease-in-out;
}
