.search {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.search input[type="submit"]{
    color: #fff;
    text-decoration: none;
    background-color: #4caf50;
    padding: 6px;
    border-radius: 3px;
}

.search input[type="search"]{
    padding: 5px 10px;
}

/*H1 Principal*/
    .title_view{
        padding: 0 20px;
        text-align: center;
        color: #153161;
        font-size: 85px;
}
/*Imagem Do Container / Endereço*/
    .container-event:nth-child(even){
        background: linear-gradient(90deg, rgba(244,245,250,1) 0%, rgba(0,66,37,1) 100%);
    }
    .container-event{
        margin: 0 auto;
        display: flex;
        justify-content: center;
        padding: 50px 0 150px 50px;  
    }
    .img_endereco{
        display: flex;
        flex-direction: column;
        padding: 50px 0;
    }
    .img-view img{
            width: auto;
            height: 100%;
            max-height: 600px;
    }
    .date{
        color: #153161;
        display: flex;
        justify-content: center;
        padding: 3px;
        font-size: 25px;
        letter-spacing: 1px;
    }
    .endereco{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 3px;
        font-size: 17px;
        letter-spacing: 1px;
        gap: 10px;
    }

/*Conteudo Do Evento*/
    .container-view{
        display: flex;
        flex-direction: column;
        width: 900px;
        padding: 0 50px;
    }

    .container-view h1{
        color: #153161;
        font-size: 30px;
        letter-spacing: 2px;
        padding-bottom: 20px;
        line-height: 40px;
    }

    .container-view p{
        text-align: justify;
        font-size: 19px;
        line-height: 31px;
        letter-spacing: 2px;
    }

    .container-event a {
        text-decoration: none;
        background-color: #4caf50;
        color: #fff;
        width: 100px;
        padding: 20px;
        text-align: center;
        border-radius: 5px;
        margin-top: 10px;
    }

    .container-event a:hover{
        background-color: darkgreen;
        transition: .3s;
    }

@media(min-width:0px) and (max-width:1007px){

    .search form{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: auto;
    }

    .search input[type="submit"]{
        margin-top: 10px;
    }

    .sec_cont_event{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .container-event{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .org_content_events{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .img-view img{
        width: 90%;
        height: 90%;
        margin: auto;
    }

    .img-view p{
       padding: 40px 0;
    }
    

    .container-view{
        justify-content: center;
        height: 100%;
        text-align: justify;
        line-height: 20px;
        width: 50%;

    }

    .container-view p {
        text-align: justify;
    }
    .container-view h1{
        text-align: center;
    }

    .endereco{
        display: inline-block;
        padding-bottom: 40px;
    }

    .endereco p {
        text-align: justify;
    }
    
}

@media(max-width:320px){
    .sec_cont_event{
        width: 80%;
    }

    .img-view{
        width: 100%;
    }

    .img-view img{
        width: 90%;
    }

    .container-view{
        width: 60%;
    }

    .date{
        width: 200px;
        padding-bottom: 20px;
    }

    .endereco{
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        padding-bottom: 40px;
    }

    .container-view p{
        text-align: left;
        line-height: 30px;
        margin: 0 auto;
    }

}


@media(min-width:321px) and (max-width:480px){
    .sec_cont_event{
        width: 80%;
    }

    .img-view{
        width: 100%;
    }

    .img-view img{
       width: 100%; 
    }
    .container-view{
        width: 60%;
    }

    .date{
        width: 200px;
    }

    .endereco{
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }

    .container-view p{
        width: auto;
        text-align: left;
        line-height: 30px;
        margin: 0 auto;
    }

}
