@charset "UTF-8"

body{
    box-sizing: border-box;
    justify: center;
    position: absolute;
}

* {
    margin:0;
    padding:0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

html{
    scroll-behavior: smooth;
}

::-webkit-scrollbar{
    display: none;
}

.site{
    display:block;
    max-width: 1300px;
    background-color: #f8f8f8;
    height: 100%;
    padding: 0 20px 0 20px;
    margin-left: auto;
    margin-right: auto;    
}

a{
    text-decoration: none;
    color: black;
}

header{
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: #f8f8f8;
    border-bottom: 1px solid black;
    position:sticky;
    top:0;
    z-index: 999;
}

.logo{
    display: block;
    position: absolute;
    left: 0px;
}

#logo{
    height: 25px;
}

#check{display: none;}
#check:checked ~ .menu {height: calc(100vh - 51px); border-bottom: 1px solid black;}

.open-menu {
    display: block;
    position: absolute;
    right: 0px;
}

.buttonmenu{
    display: grid;
    place-items: center;
    height: 30px;
    width: 60px;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
}

.menu{
    display: flex;
    flex-direction: column;
    background-color:#f8f8f8;
    overflow: hidden;
    width: 320px;
    height: 0px;
    position: absolute;
    top: 51px;
    right: 0px;
    transition: all 0.2s ease-in-out;
}

.menu::before{
    content: attr(data-title);
    height: 50px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid black;
}

.menu li {
    display: block;
    height: 50px;
    list-style: none;
    width: 100%;
    margin-left: 20px;
}

.menu li a {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.menu li a:hover{
    text-decoration: underline;
}

menu li .sobre{
    bottom: 0px;
}

#contato{
    display: block;
    position:fixed;
    bottom: 0px;
    width: 300px;
}

.opcoescontato{
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    border-top: 1px solid black;
}

.icon{
    padding-right: 10px;
    width: 20px;
}

main{
    display: flex;
    height: 1vh;
}

hr{
    width: 100%;
    border: 0px;
    border-bottom: 1px solid black;
}

.principal{
    flex:auto;
    min-width: 300px;
    height: fit-content;
    padding-top: 50px;
}

.principal figcaption{
    position: relative;
    top: -25px;
    text-align: end;
    right: 5px;
    color: white;
    font-weight: bold;
    text-shadow: black 0px 0px 3px;
}

.entrada{
    margin:auto;
    padding-top: 100px;
}
article{
    display: block;
    border: 1px solid black;
    max-width: 350px;
    padding:10px;
    line-height: 1.5rem;
    margin: auto;
    border-radius: 3px;
}

h1{
    font-weight: normal;
}

article p1{
    padding-top: 10px;
}

table {
    border-collapse: separate;
    border-spacing: 0px;
    width: 100%;
    position: relative;
    text-align: center;
    vertical-align: middle;
    table-layout: fixed;
}

table thead tr th {
    font-weight: normal;
    padding-top: 30px;
    padding-bottom: 10px;
    position: sticky;
    top: 51px;
    background-color: white;
    border-bottom: 1px solid black;
    z-index: 1;

}

table td {
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
}

.area{
    text-align: left;
    width: 16%;
    padding-left: 3px;
}

.dorms{
    width: 17%;
}

.vagas{
    width: 17%;
}

.entrega{
    width: 26%;
}
.valor{
    width: 30%;
    text-align: right;
    padding-right: 3px;
}

table td a{
    text-decoration: none;
    color: black;
}

table tbody tr:hover{
    background-color: #f5f5f5;
    border-bottom: 1px solid black;
}

aside{
    display: block;
    width: 300px;
    height:max-content;
    min-width: 300px;
    padding-right: 20px;
    position: sticky;
    top: 50px;
    z-index: 0;
}

img{
    width: 100%;
}

aside .descricao{
    line-height: 1.5rem;
    hyphens: auto;
    text-align: justify;
    position: static;
}

p{
    line-height: 1.5rem;
    hyphens:auto;
    text-align: justify;
}

aside .descricao p{
    margin: 10px 0 10px 0;
}

aside .observacao p{
    line-height: 1.5rem;
    hyphens: auto;
    margin-bottom: 10px;
}

.selecionado{
    line-height: 50px;
    display: block;
    width: 100%;
    border-bottom: 1px solid black;
}

.sobre{
    display: block;
    width: 300px;
    padding-right: 20px;
    padding-top: 20px;
}

@media screen and (max-width: 1010px) {
       table tbody tr:nth-child(2n){
        background-color: #f5f5f5;
    }
}

@media screen and (max-width: 780px) {
    main{
        display: block;
    }
    aside{
        width: 100%;
        position:static;
        padding-top: 20px;
    }
    #check:checked ~ .menu {width: 100%; border: none;}

    .menu li {
        padding-left: 0px;
}

.buttoncontato{
    position: fixed;
    width: calc(100% - 40px);
    border-bottom:none;
    bottom: 0px;
}

@media screen and (max-width: 390px) {
    .vagas{
        display: none;
    }
}