/*-----===MAIN===-----*/
main {
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(0, slateblue, white);
}

article {
    margin: 2.5% 0;
    min-width: 900px;
    max-width: 1400px;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 2em;
    border: none;
    overflow: hidden;
    flex-grow: 1;
    background-color: white;
    box-shadow: 0 0 15px lightgray;
}

.avisos h2{
    position: fixed;
    width: 380px;
    top: 25px;
    font-size: 32px;
    color: white;
    border: slateblue;
    background-color: slateblue;
    padding: 10px 30px;
    transition: transform .3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: translate(-50%, -150px);
    z-index: 400;
}
.avisos h2.ativo{
    position: fixed;
    transition: transform .3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: translate(-50%, 10px);
}

.formulario-container {
    height: 30em;
    width: 100%;
    padding: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.form-cabecalho{
    width: 100%;
    height: 15%;
    font-size: 32px;
    display: flex;
    justify-content: center;
}

form {
    height: 85%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

fieldset {
    height: 20%;
    min-width: 7em;
    width: 70%;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.data-evento, .tipo-evento{width: 35%;}
.data-evento input, .tipo-evento input{ width: 90%;}
.finalizar-evento{
    height: 25%;
    width: 50%;
    flex-direction: row;
    justify-content: center;
}

fieldset span{
    display: none;
    padding: 10px 40px;
    margin-bottom: 10px;
    background-color: red;
    transition: all .5s ease;
}

fieldset label {
    font-size: 20px;
    font-weight: bold;
    width: 90%;
}
fieldset input,
fieldset select {
    width: 100%;
    padding: 1em;
    border: none;
    border-bottom: 3px solid slateblue;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: all .4s ease-in;
    font-size: 16px;
}
#nome.errado, #data.errado, #tipo.errado, #local.errado{
    border-bottom: solid 3px red;
}

fieldset input[type="submit"],
fieldset input[type="reset"] {
    max-width: 11em;
    width: 30%;
    height: 55%;
    margin: 0 1em;
    font-weight: bolder;
    font-size: 24px;
    color: slateblue;
    background-color: white;
    border: solid 3px slateblue;
    border-radius: 3em;
    cursor: pointer;
    padding: 0;
    transition: .3s;
}

#eventos-criados{
    border-top: solid 1px lightgray;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.eventos-criados-cabecalho{
    height: 5em;
    width: 85%;
    display: flex;
    align-items: center;
}
.event-card{
    margin: 1em 0;
    height: 10em;
    width: 95%;
    background-color: white;
    border-radius: 3em;
    box-shadow: 0 0 15px lightgray;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.card-detalhe{
    height: 100%;
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
}
.card-detalhe span, .card-detalhe h3, .card-detalhe p{
    width: 90%;
    display: flex;
    align-items: center;
}
.card-detalhe span{
    height: 15%;
    font-size: 18px;
    font-weight: bolder;
    color: dodgerblue;
}
.card-detalhe p{
    height: 15%;
    font-size: 16px;
    color: darkgray;
}
.card-detalhe h3{
    height: 35%;
    font-size: 28px;
}

.card-btn{
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-btn button{
    height: 30%;
    width: 40%;
    font-size: 16px;
    font-weight: bolder;
    color: dodgerblue;
    border: solid 3px dodgerblue;
    border-radius: 2.5em;
    background-color: white;
    cursor: pointer;
    transition: .3s;
}

/*-----===EFEITOS===-----*/
.card-btn button:hover{
    color: white;
    border-radius: 2.5em;
    background-color: slateblue;
}

input[type="submit"]:hover, input[type="reset"]:hover{
    color: white;
    background-color: slateblue;
}
