@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #4a4494;
    --text-color: #040C14;
    --background-color: #F5F5F5;
    /* --alt-background-color:#fff; */
}

.dark {
    --primary-color: #4a4494;
    --text-color: #EEEEEE;
    --background-color: #1d1e1f;
    /* --alt-background-color:#040C14 ; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    /* transition: background 1s ; */
}

main {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag {
    width: 36px;
    height: 36px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all .6s;
    margin-right: 8px;
}

.flag img {
    width: 60%;
    transition: all .6s;
}

button i {
    font-size: 1.3rem;
    transition: all .6s;
}

button {
    background-color: #ddd;
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-weight: 900;
    border-radius: 50%;
    transition: all .6s;
}

button:hover,
.flag:hover {
    color: var(--background-color);
    background-color: var(--text-color);
}

button i:hover,
.flag img:hover {
    transform: scale(1.2);
}

hr {
    background-color: var(--primary-color);
    height: 10px;
    border: none;
    border-radius: 999px;
    width: 50%;
    margin: 1.6rem 0;
}

ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

strong {
    color: var(--primary-color);
}

span {
    color: var(--primary-color);
}

#footer {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100vw;
}

#footer {
    text-align: center;
    padding: .5rem 2rem;
    flex-wrap: wrap;
    opacity: .8;
}
img {
    max-width: 600px;
}

@media only screen and (max-width: 600px) {
    body {
        padding: 0 3rem;
    }

    img {
        max-width: 330px;
    }

    h1 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .img {
        width: 50%;
    }

    #ki {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}