nav {
    display: flex;
    justify-content: flex;
    background: #444;
    padding: 0.5rem;
    align-content:flex;
}
nav a {
    color: #fff;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    align-content:flex;
}
nav a:hover {
    color: #f4f4f4;
    align-content:flex;
}
p {
    text-align: center;
    color: black;
}
h1 {
 text-decoration: overline;
 text-align: center;
 color:aqua
}
.container {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}
.info-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.info-card h3 {
    margin-top: 0;
}
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 0.3rem 0;
    position:static;
    bottom: 0;
    width: 100%;
}
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    header h1 {
        font-size: 2rem;
    }
    nav a {
        margin: 0 0.5rem;
    }
    .container {
        padding: 1rem;
    }
}
nav ul {
    width: 100%;
    margin: 0%;
    padding: 0%;
    list-style: none;
}

nav li {
    margin: 0%;
    padding:0%;
    float: left;
    position:relative;
}
nav a {
    padding: 5px 15px;
    display: block;
    background:#333;
    font-family: 'Tahoma';
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 100;
    color: white;
    text-align: flex;
    text-decoration: none;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
nav li:hover a {
    background-color:#333
}
nav li ul {
    width: auto;
    float: flex;
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 42px;
    z-index: 1;
    opacity: 0;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

nav li:hover ul {
    visibility: visible;
    opacity: 1;
}
nav li ul a:hover {
    background-color: rgb(60, 108, 172);
}
nav li ul li {
    width: 100%;
}

nav li ul li a {
    width: 100%;
    text-align: left;
}
.w3rcontainer{
    border: 1px solid #cccfdb;
    border-radius: 2px;
 } 
 .hover-underline-animation {
   display: inline-block;
   position: relative;
   color: #ffffff;
 }
 
 .hover-underline-animation:after {
   content: '';
   position: absolute;
   width: 100%;
   transform: scaleX(0);
   height: 2px;
   bottom: 0;
   left: 0;
   background-color: #0087ca;
   transform-origin: bottom right;
   transition: transform 0.25s ease-out;
 }
 
 .hover-underline-animation:hover:after {
   transform: scaleX(1);
   transform-origin: bottom left;
 }
