header{
    background-color:cadetblue;
    color:white;
    text-align: center;
    border-bottom: solid 2px #4eb4d3;
    font-size:larger;
    height: 80px;
}
ul li{
    flex-direction: column;
    flex: auto;
}
html{
    background-color: #cbebf0;
}
header:hover{
    border: solid black 2px;
}
nav ul {
    display: flex;
    flex-direction: column;
    margin: 1px;
    padding: 1px;
    list-style-type: none;
    font-family: georgia;
    
}

ul li{
    border: solid #4eb4d3 2px;
}
nav{
    background-color: #9be0fa
}
nav ul li a{
    flex: auto;
}
/* For mobile*/
img, video, embed {
   max-width:100%;
   height:auto;
}
nav a:hover{
  background: black;
  color: white;
}
a:nth-child(1){
    border-top: none;
}
ul li a{
    display:flex;
    text-align: center;
    flex: auto;
    justify-content: center;
    font-size: larger;
    
}
section{
    display:flex;
    flex-direction: column;
    width: 100%;
    border-bottom:  1px solid;
    border-right: solid 1px;
    
}
article{
    flex-basis: 100%;
}
p{
    text-align: center;
}
h2{
    text-align: center;
    color: #000000;
    font-family: 'Times New Roman', Times, serif;
}
img:hover{
    border: solid black 2px;
}
.a2{
    border-right:  1px solid;
    border-left:solid 1px;
    align-content: center;
}
footer{
    text-align: center;
    border:  1px solid;
    background-color:#8df0f0;
}
a{
    color:black;
}
.floatRight {
  float: right;
  margin: 10px;
  height: 60px;
  width: auto;
}
@media screen and (min-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        max-width: 75rem;
        border: none;
    }
    main {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
    }
    nav ul {
        flex-direction: row;
    }
    article {
        flex: 50%;
        border-right: 1px solid #A53539;
    }
    aside {
        flex: 30%;
        border-bottom: 1px solid #A53539;
    }
    section {
        border-bottom: none;
    }
    header, footer {
        border: none;
    }
    h2{
        color:blue;
    }
    a:nth-child(1){
        border-right: solid #4eb4d3 2px;
    }
    section p {
        column-count: 2;
        column-gap: 20px;
        column-rule: 1px solid rgb(255, 105, 0);
    }

}
@media screen and (min-width: 1200px){
    s
    h2{
        color:purple;
        
    }
    p{
        font-size: large;
    }
    figure figcaption{
        font-size: large;
        
    }
    article{
        flex: 33%;
        border-right: solid 1px;
        border-left: solid 1px;

    }
    img{
       width: 42%; 
    }
    section p {
        column-count: 3;
        column-gap: 20px;
        column-rule: 1px solid rgb(255, 105, 0);
    }
    
}
input{
    background-color: #7d74e2
}
label{
  width:20%;
  display:inline-block;
font-family: georgia;
}
legend{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
fieldset{
    background-color:#4ea9c4;
    border: solid black 4px;
}
input[type=text],input[type=email],input[type=submit], input[type=url], input[type=reset]{
    margin-left:10px;
    width: 50%;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #c1ec7e;
    background-image: url('searchicon.png');
    background-position: 10px 10px; 
    background-repeat: no-repeat;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;

}
table,td,th{
  padding:10px;
  border-spacing:15px;
  border:solid 4px;
  border-collapse:collapse;
}
td
{
  border: solid 4px;
}
th
{
border-top: solid;
  border-bottom:solid 4px;
}
tr:nth-child(2n) {
   background-color:coral;
}
tr:hover  {
    background-color: #364454;
    color: white;
}

