:root{
    --main-color: rgb(31,78,121);
    --main-bg-color: rgba(188, 202, 224,0.3);
    --blue: #1e90ff;
    --white: #ffffff;
}
p{
    background-color: rgba(188, 202, 224,0.7); ;
}

figure{
    float: left;
    text-align: center;
 
    border: aqua solid;
}
figcaption{
    font-family:fantasy ;
}

img{
    max-width: 100%;
    border-radius: 3em;
}
img.round,figure.round{
    border-radius: 3em;

}
.right{
    float: right;
}


/* I wanted to play around a bit */
body{
    border: thin solid var(--main-color);
    
    color: black;
    max-width: 50em;
    line-height: 1.3em;
    padding: 1%;
    margin: auto;
}

header,nav,article,footer{
    background-color:var(--main-bg-color) ;
}


cite{
    font-size: xx-small;
}


p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    text-indent: 3em;
}
h1{
    font-style: italic; 
    text-transform: uppercase; 
    font-size: 120%;
}
html{
    background-image: url(../images/haze-over-the-ocean.jpg);
    background-size: cover;
}


nav{

    background-color: var(--main-bg-color);
    text-align: center;
}

article, section, aside, nav{
    padding: 1%;
}

nav a:link{
    background-color:rgb(128, 251, 255);
    color: blue;
    text-decoration: 0;
}
nav a:hover{
text-decoration: underline ;
}

nav a{
    display: inline-block;
    width: 19%;
}
nav{
    border: thin solid yellow;
    background-color: white;
    text-align: center;
}
a:hover{
    font-weight: bolder;
}


.grid-layout article{
    display: grid;
    /*grid-template-areas: auto auto auto;*/



    grid-template-columns: 30% 30% 30%;
}
 .flexbox-layout article{
     display:flex;
     flex-direction: row;
 }  
 label{color:navy

 }
 input[type="text"]{
     padding: 1%
 }
 input [type="radio"], input[type="checkbox"]{
     padding: 1%;
 }
 select{color:red}
 textarea{font-size: larger;}
 input[type="submit"]{
     background-color: royalblue;
 }
.crazy h1{
    text-shadow:  .03em .03em red;
}
.crazy nav{
     background-image: linear-gradient(red, yellow);
}
.crazy nav a {

  transition: width 1s;
}
.crazy nav a:hover {
    width:5em;

}
.crazy figure{animation-name: britelite;
    animation-duration: 4s;


}
@keyframes britelite {
    from {border: red solid;}
    to {border: yellow solid;}
  }

table{
    max-width: 100%;
}