@font-face {
    font-family: 'poppins';
    src: url(../font/poppins.ttf) format(truetype);
}

* {
    box-sizing: border-box;
}

body {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: rgb(53, 21, 93);
    font-family: 'poppins', sans-serif;
    color: aliceblue;
    overflow-x: hidden;
}

/* animation for ai start */
.ball {
    width: 100%;
    position: absolute;
    border-radius: 100%;
    opacity: 0.5;
    overflow-x: hidden;
}
/* animation for ai start */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8vw;
}

h1 {
    margin: 0;
    padding: 0;
}

h1.hide {
    display: none;
}

h1 a {
    text-decoration: none;
    color: aliceblue;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

ul {
    width: auto;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

ul.show {
    width: auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

li {
    padding-left: 21px;

}

nav a {
    color: aliceblue;
    text-decoration: none;
}

nav a::after {
    content: "";
    display: block;
    height: 3px;
    background-color: aliceblue;
    transform: scale(0,1);
    transform-origin: center;
    transition: transform 0.3s;
}

nav a:hover::after {
    transform: scale(1,1);
}

button.hamburger {
    position: relative;
    display: none;
}

main {
    padding: 0 8vw;
}

p {
    text-align: justify;
}

.examples {
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
}

.buttons-ai button {
    margin: 13px 13px 13px 0;
    width: auto;
    height: 34px;
    border: 3px solid aliceblue;
    border-radius: 3%;
    font-family: 'poppins', sans-serif;
    font-size: 1em;
    text-align: center;
    color: aliceblue;
    background-color: rgb(53, 21, 93);
    transition: 0.7s ease-in-out;
}

.buttons-ai button:hover {
    border-radius: 12px;
    border-color: rgb(53, 21, 93);
    color: rgb(53, 21, 93);
    background-color: aliceblue;
}

.youtube {
    display: block;
    margin: 12px auto;
    width: 89%;
    aspect-ratio: 16 / 9;
    border: none;
  }

audio {
    width: 89%;
    margin: 34px auto 12px auto;
}

.hidden-video {
    display: none;
    visibility: hidden;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

footer a {
    text-decoration: none;
    color: aliceblue;
    padding: 12px;
    font-size: xx-large;
    transition: 0.7s ease-in-out;
}

footer a:hover {
    transform: scale(1.3);
}
/* start screen fit */
@media only screen and (min-width: 1597px) {
    body {
        font-size: 1.5em;
    }

    nav>ul>li {
        font-size: 0.7em;
    }
}

@media only screen and (max-width: 650px) {
    h1 {
        font-size: 1.2em;
    }

    button.hamburger {
        display: block;
        padding: 20px 0;
        border: 0;
        background-color: transparent;
        color: aliceblue;
        font-size: 27px;
    }

    nav {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
    }

    ul {
        display: none;
        justify-content: flex-start;
        width: 100%;
        padding: 0;
    }

    li {
        margin: 0;
        padding: 0 12px;
        font-size: small;
    }

    h2 {
        font-size: 1.17em;
    }

    p {
        font-size: small;
    }

    .youtube {
        width: 100%;
        justify-content: end;
    }

    audio {
        width:100%;
    }

    .buttons-ai {
        display: flex;
        flex-direction: column;
    }

    .button-example {
        width: 100vw;
    }
}
