body {
    background-color: rgb(19, 18, 18);
    color: whitesmoke;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.flex-container{
    justify-content: space-between;
    align-items: center;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#titulo {
    flex-direction: column;
    line-height: 10px;
}

h1 {
    font-weight: 200;
}

li {
    display: inline-block;
    margin: 20px;
}

a {
    color: whitesmoke;
    text-decoration: none;

}

a:hover {
    color: rgb(250, 210, 9);
    transition: 0.3s all;
}

#inicio-btn {
    border: 2px solid rgb(250, 210, 9);
    padding: 10px;
    border-radius: 15px;
}

#inicio-btn:hover {
    background-color: rgb(250, 210, 9);
    color: rgb(0, 0, 0);
    transition: 0.3s all;
}

#conta-btn{
    border: 2px solid rgb(250, 210, 9);
    padding: 10px;
    border-radius: 15px;
}

#conta-btn:hover {
    background-color: rgb(250, 210, 9);
    color: rgb(0, 0, 0);
    transition: 0.3s all;
}

main {
    display: flex;
    flex-direction: row;
    margin: 50px;
}

h2 {
    font-size: 55px;
    margin: 0px;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
}

span {
    line-height: normal;
    color: rgb(250, 210, 9);
}

p {
    line-height: 20px;
    max-width: 300px;
    font-family: Arial, Helvetica, sans-serif;
}


.main-display-flex {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content:space-evenly;
    padding-left: 120px;
}

.main-index-aside {
    flex: 1;
}

.main-index-article {
    flex: 1;
}

.img-efeito {
    width: 350px;
    padding-top: 60px;
    padding: 5px;
    transform: translateY(0px);
    animation: imagem 7s ease-in-out infinite;
    padding: 10px;
}

@keyframes imagem {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-22px);
    }

    100% {
        transform: translateY(0px);
    }

}


form {
    display: flex;
    flex-direction: column;
    width: 70%;
}

form [type="submit"] {
    height: 55px;
    width: 50%;
    background-color: rgb(250, 210, 9);
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: large;
}

form [type="submit"]:hover {
    cursor: pointer;
    color: black;
    font-size: x-large;
    transition: 0.2s all;
}

input {
    margin-top: 22px;
    height: 20px;
    padding: 15px;
    border-radius: 15px;
    border: none;
    font-size: 15px;
}


@media screen and (max-width: 900px) {

    .main-display-flex {
        flex-direction: column;
        align-items: center;
        padding-right: 120px;
    }

    .img-efeito {
        width: 250px;
        padding-top: 130px;
        padding: 5px;
        transform: translateY(0px);
        animation: imagem 7s ease-in-out infinite;
        padding: 10px;
        position: relative;
    }

    form {
        width: 100%;
    }

    form [type="submit"] {
        width: 100%;
        margin-bottom: 10%;
    }
}