html{
    font-family: sans-serif;
}

body, ul, li , p {
    margin: 0px;
    padding: 0px;
    list-style: none;
    font-size: 1.2rem;
    font-family: arial;

}

a{
    text-decoration: none;
    color: white;
}

.header{
    background: #00006B;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    align-items: center;

}

.menu{
    display: flex;
}

.menu li {
    margin-left: 10px;

}

.menu li a {
    display: block;
    padding: 10px;
}

.teste{
    background-image: url(img/fundo.jpg);
    background-position: center 1100px;
    object-fit: cover;
    height: 92vh;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container{
    display: flex;
    justify-content: center;
    color: white;
}

section{
    height: 100%;
}

h1{
    color: #ffffff;
    background-color: #000000a2;
    border-style: double;
    border-radius: 15px;
    border-width: 4px;
    border-color: rgb(0, 141, 141);
    text-align: center;
}
h2{
    text-align: center;
}
article{
    border-style: double;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    border-color: rgb(0, 141, 141);
    border-width: 8px;
    margin-bottom: 20px;
}


img{
    display: flex;
    border-style: solid;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}
.sobre{
    display: flex;
    background-color: rgb(0, 0, 30);
    color: white;
}

img{
    border-radius: 50px;
    border-style: double;
    color: rgb(0, 141, 141);
    width: 25%; 
}

#linha {
    border-bottom: 1px solid antiquewhite;
}

h5{
    text-align: right;
    margin-right: 20px;
}

p{
    margin-top: 22px ;
    margin-left: 10px;
}

table{
    margin-left: 3px;
}

th{
    text-align: left;
}

footer{
    text-align: center;
    background-color: #00006B;
    padding: 1px 8%;
    
}

.fim{
    text-align: center;
    height: 120px;
    color: white;
}

@media screen and (max-width: 600px){
    .menu{
        display: block;
        text-align: center;
        padding: 1px;
    }
    footer{
        height: 215px;
    }

    .logo{
        font-size: 25px;
        margin: auto;
    }
    .header > nav {
        width: 100%;
        margin: auto;
    }
    .header > nav > ul > li{
        width: 100%;
        margin: 15px auto;
        background-color: #00004d;
        border-radius: 10px;
    }
    .frase{
        margin: auto;
    }
    article{
        width: 90%;
    }
}

.tabela-container{
    justify-items: center;
}

/* Normal (desktop) */
table.experiencia {
  width: 90%;
  border-collapse: collapse;
  margin-top: 20px;
}

table.experiencia th,
table.experiencia td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

/* Responsivo - Cards no mobile */
@media (max-width: 768px) {
  .tabela-container {
    overflow-x: hidden;
  }

  table.experiencia,
  table.experiencia thead,
  table.experiencia tbody,
  table.experiencia th,
  table.experiencia td,
  table.experiencia tr {
    display: block;
    width: 97.7%;
  }

  table.experiencia thead {
    display: none;
  }

  table.experiencia tr {
    border: 1px solid #ccc;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 10px;
  }

  table.experiencia td {
    border: none;
    border-bottom: 1px solid #eeeeee;
    padding: 8px 10px;
    position: relative;
  }

  table.experiencia td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
  }

  table.experiencia td:last-child {
    border-bottom: none;
  }
}
@media screen and (max-width: 345px){
    html{
        width: 113vw;
    }
}

@media screen and (max-width: 305px){
    html{
        width: 123vw;
    }
}