
body {
    
   
   background-color: #9fa6ec;
}

main{
    /* align-content: center; */
width: 70%;
    margin: auto;
}
/* navigation bar */
#nav{
   

    margin: auto;
    display: flex;
    list-style-type: none ;
    background-color: #4665b5;
    padding: 10px;
    font-size: 35px;
    position: sticky;
    top:0;
    z-index: 1;
     /* border: 2px solid red; */
}


      /* This is to give the content on the nav bar a unique look  */
#nav li a{
    margin: 0 30px;
    padding: 10px ;
    text-align: center;
     text-decoration:none ;
    color: white;

}

      /* when the mouse hovers over a link  */
#nav li a:hover{
    color:#f2f7cf;
    background-color: black;
}

#nav li a:visited{
    color: white;
}

      /* This is for the current page the user is on, will be used on other pages */
#current{
    background-color: black;
    color: white;
}

/* navigation bar ends */

/* Header */
h1 {
    font-family: Verdana, Geneva, sans-serif;
font-size: 30px;
letter-spacing: -1.6px;
word-spacing: -1.6px;
color: #621695;
font-weight: 700;
text-decoration: none solid rgb(68, 68, 68);
    align-content: center;   
}

p {
    font-family: Georgia, serif;
font-size: 30px;
letter-spacing: -0.6px;
word-spacing: 2.8px;
color: black;
font-weight: normal;
text-decoration: none solid rgb(68, 68, 68);
font-style: italic;
 
}

/* Title - Css Animations */

.highlight {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    }
    100% {
        text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;
    }
}

/* word - smooth */ 

.shadow-dance-text {
    font-size: 4rem;
    color: #fff;
    text-shadow: 5px 5px 0 #ff005e, 10px 10px 0 #00d4ff;
    animation: shadow-dance 2s infinite;
}

@keyframes shadow-dance {
    0%, 100% {
        text-shadow: 5px 5px 0 #ff005e, 10px 10px 0 #00d4ff;
    }
    50% {
        text-shadow: -5px -5px 0 #00d4ff, -10px -10px 0 #ff005e;
    }
}

/* word - cool */

.wave-text span {
    display: inline-block;
    font-size: 4rem;
    animation: wave 2s ease-in-out infinite;
}

.wave-text span:nth-child(1) {
    animation-delay: 0s;
}
.wave-text span:nth-child(2) {
    animation-delay: 0.2s;
}
.wave-text span:nth-child(3) {
    animation-delay: 0.4s;
}
.wave-text span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.split-text-container {
    display: flex;
    font-size: 5rem;
    font-weight: bold;
    text-transform: none;
    color: #3f2ca8;
    overflow: hidden;
}



/* What is CSS */
.info-box1 {
    float: left;
    background-color: #ddf9ca;
    padding: 20px;
    margin-bottom: 20px;
    width: 400px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards, floatUp 1.5s ease-in-out;
}

/* Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Float-Up Effect */
@keyframes floatUp {
    from { transform: translateY(20px); }
    to { transform: translateY(0); }
} 

/* Why CSS */

.info-box2 {
    float: right;
    background-color: #ffdddd;
    padding: 20px;
    width: 400px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards, floatUp 1.5s ease-in-out;
}

/* Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Float-Up Effect */
@keyframes floatUp {
    from { transform: translateY(20px); }
    to { transform: translateY(0); }
} 

#p2 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
font-size: 26px;
letter-spacing: -2px;
word-spacing: 2.8px;
color: #224681;
font-weight: 700;
text-decoration: none solid rgb(68, 68, 68);
}


/* History of CSS */


.info-box3 {
    clear: both;
    background-color: white;
    padding: 20px;
    width: 900px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards, floatUp 1.5s ease-in-out;
    margin-bottom: 15px;
}

/* Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Float-Up Effect */
@keyframes floatUp {
    from { transform: translateY(20px); }
    to { transform: translateY(0); }
} 
