/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set default font */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #c6c3fa; /* white background by default */
    color: #000; /* default text color */
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
button {
    font-family: inherit;
    cursor: pointer;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Optional: smooth scrolling */
html {
    scroll-behavior: smooth;
}


.navbar{
    display:flex;
    width:100%;
    height:50px;
    background-color:rgb(138, 137, 199);
    box-shadow: #303257 0px 1px 5px;
    transition:box-shadow 0.5s ease;
    overflow:hidden;
    padding:0;
    align-items: center;
}

.navbar:hover{
    box-shadow: #303257 0px 3px 5px;

}


.navbar {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0;
  list-style: none;
}

.navbar img{
    display: block; /* removes inline spacing issues */
    height: 40px;
    width: auto;
    margin: 0 10px; /* shorthand for left/right margin */
}
.navbar a{
    text-align: center;
    color:rgb(14, 14, 42);
    font-weight:bolder;
    display:block;
    text-decoration:none;
    padding:16px;
    border-radius: 5px 5px 0px 0px;
    position: relative;
    transition:
    background-color 0.15s ease,
    color 0.15s ease;
    margin-right:5px;
}

.navbar a:hover{
    background-color:#515492;
    color:white;
    cursor:pointer;
}



.navbar li a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* important for ::after */
  padding: 0 16px;
  color: rgb(14, 14, 42);
  font-weight: bolder;
  text-decoration: none;
  height: 100%;
  transition: 
  color 0.15s ease,
  background-color 0.3s ease;
}


.navbar li a.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0px;
  width: 100%;
  height: 4px;
  background-color: #53557c;
  border-radius: 15px;
  box-shadow: rgb(52, 36, 55) 1px 3px 10px;
}

/* idk! */

h1{
    margin-top:50px;
    text-align:center;
    font-size:75px;
    color:#6c6ea0;
    cursor:default;
}

p{
    text-align:center;
    margin-top: 5px;
    font-size:25px;
    color:#515492;
    font-weight: bolder;
    cursor:default;
}

hr{
    margin-top:20px;
    height:3px;
    background-color:#7f84ff;
    border: none;
    box-shadow:3px 3px 5px #514e57, 0 0 10px #bd9ffd;
}

h2{
    margin-top:10px;
    text-align:center;
    font-size:30px;
    color:#6c6ea0;
    cursor:default;
}

.contains ul{
    
    text-shadow: #240e2d80 1px 1px 5px;
    color:#484c87;
    margin-left:10px;
    font-weight:bold;
    list-style:none;
}

.contains li{
    
    margin-bottom: 50px;

}

.contains li::before{
    text-shadow:none;
    content: "•";
}

.containsdiv {
    padding-top:10px;
    border-radius:5px;
    margin:15px auto;
    width:300px;
    height:200px;
    background-color:#9f90d0;
    animation: containsdivv 5s ease infinite;
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease,
        margin-top 0.4s ease;
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, box-shadow;
}

@keyframes containsdivv {
  0%   { box-shadow:#4a4069 7px 7px 25px; transform: scale(1.02) }
  50%  { box-shadow:#a9a1c2 5px 5px 30px; transform: scale(1)}
  100% { box-shadow:#4a4069 7px 7px 25px; transform:scale(1.02)}
}

.containsdiv:hover {
    transition:
        box-shadow 0.3s ease-in-out,
        transform 0.3s ease-in-out,
        margin-top 0.3s ease-in-out;
    transform: scale(1.08);
    margin-top: 1rem;
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    animation-play-state: paused;  /* freezes animation at current frame */
    box-shadow:#000000 0px 0px 40px; 
}