html {
    font-family: "Arial", sans-serif;
}

body {
    background-size: 500vh 1000vh;
    background-image: linear-gradient(-155deg, #1496d4, #00b451);
    background-position: 0;
    animation: background-animate 5s ease infinite alternate;
}

@keyframes background-animate {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/*---header section---*/
.header {
    padding: 5px;
    display: flex;
    flex-direction: row;
}

.header img {
    flex: 0;
    height: 100px;
    gap: 0;
}

.header nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.header nav a {
    text-decoration: none;
    color: #fffbea;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5%;
}

.menu ul li {
    padding: 8px;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
}

.menu ul li a:hover {
    background-color: #fff;
    color: #1a1a1a;
    transition: all 1s ease-out;
}

/*---content---*/

.content h1 {
    color: #fffbea;
    text-transform: uppercase;
    text-align: center;
    font-size: 50px;
    text-decoration: none;
}

.content {
    text-align: center;
}

.content img {
    height: 500px;
    margin: auto;
}

.content p {
    color: #fffbea;
    font-size: 25px;
}

.typewriter p {
    font-family: monospace;
    padding: 0;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid #ffffff; /* The typewriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 1em auto; /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em; /* Adjust as needed */
    animation: typing 3.5s steps(30, end), blink-caret 700ms linear infinite alternate;
    width: 15em;
}

/* The typing effect */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 15em;
    }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
    from {
        border-color: transparent;
    }
    to {
        border-color: #ffffff;
    }

}

/*---About Section---*/
.iframe-container {
    text-align: center;
}

.iframe-container iframe {
    border: 0;
}



.animated-about-text {
    color: #fffbea;
    font-weight: 800;
    font-size: 2vw;
    text-transform: uppercase;
    text-decoration: underline;
    text-align: center;
}

.image-group-about {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
}

.image-group-about:nth-of-type(odd) {
    align-self: flex-start;
}

.about {
    display: flex;
    flex-flow: row wrap;
    margin: auto;
    max-width: 75%;
}

.aboutme {
    display: flex;
    flex: 1 200px;
    flex-flow: column;
    padding-left: 50px;
}

.aboutme:first-child {
    border-right: 2px solid rgb(192, 192, 192, 0.3);
}

.image-group-about img {
    width: 200px;
    border-width: 8px;
    border-style: solid;
    border-color: #8664d2;
    box-shadow: inset 0 50px rgba(255, 255, 255, 0.1),
    inset 2px -15px 30px rgba(0, 0, 0, 0.4),
    2px 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 50% 20% / 10% 40%;
    margin-left: 1em;
}

.image-group-about p {
    width: 180px;
    opacity: 0;
    color: #e5e5e5;
    background-color: rgba(34, 172, 194, 0.75);
    position: absolute;
    margin: 5px;
    line-height: 1.5;
    font-weight: bold;
    text-align: center;
}

.image-group-about:hover p, .image-group-about:active p {
    opacity: 100%;
}


footer {
    color: #ffffff;
    text-align: center;
    padding: 50px;
    text-transform: uppercase;
}

