* {
    box-sizing: border-box;
}

  html{
    font-size: 62,5%;
}

body {
    font-family: "Noto Sans", sans-serif;
    margin: 0;
    color: #1f598c;
}

h1{
    text-align: center;
    color: ghostwhite;
    margin: 0;
    background-color: #1f598c;
    font-size: 1.4em;
    margin-block-start: 0 em;
}

h3{
    margin: 0;
    font-size: 1em;
}

p{
    margin: 0px;
}

a{
    text-decoration: none;
    color: #1f598c;
    font-weight: bold;
}

a:hover{
    text-decoration: underline;
}

 img{
    width: 100%;
}

.center{
    text-align: center;
}

.left{
    text-align: left;
}

.bold{
    font-weight: bold;
}

.flexbanner{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    background-color: ghostwhite;
}

.iarclogo{
    max-width: 15%;
}

.bbonlinelogo{
    width: 45%;
}

.titlebar{
    background-color: #1f598c;
    color: ghostwhite;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.form{
    flex-direction: row;
}

.half{
    padding: 20px;
    background-color: rgba(248, 248, 255, 0.95);
    margin-top: 60px;
}

::placeholder{
    color: #1f598c;
    opacity:0.4;
    font-weight: bold;
}

#code {
    border-radius: 30px;
    background-color: #dbe8f4;
    border: none;
    height: 40px;
    width: 170px;
    margin-right: -42px;
    padding: 20px;
    border: solid 1px #1f598c;
}

#submit{
    border-radius: 30px;
    background-color: #1f598c;
    border: none;
    height: 36px;
    width: 40px;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 1em;
}

input[type=text]{
    margin-left: 10px;
    margin-bottom: 5px;
    padding: 10px;
    padding-left: 15px;
    border-radius: 20px;
    border: none;
    background-color: #dbe8f4;
    color: #1f598c;
    font-family: "Noto Sans", sans-serif;
    font-size: inherit;
    font-weight: bold;
    width: 400px;
}

.tab-buttons {
    display:flex;
}

.tab-btn {
  padding: 7px 14px;
  border: none;
  color: #1f598c;
  cursor: pointer;
  transition: 0.3s;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  font-family: "Noto Sans", sans-serif;
  background-color: #dbe8f4;
  font-size: 1em;
  margin-right: 2px; 
}

.tab-btn:hover {
  background: white;
}

.tab-btn.active {
  font-weight: bold;
  background: white;
}

.codenone{
    display: none;
}


.container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height:100vh;
  display: flex;
  flex-direction: column;
}

.section {
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  /*background-image: url(./static/50869.jpg);*/
    background-size: cover;
    background-position: center;
}

.content {
  margin: 0;
}

.scrollable-content {
  background: white;
  flex-grow: 1;
  overflow: auto;
  min-height: 0;
  margin: 0px 10px 10px 10px;
  padding: 25px;
  font-size: small;


} 
.footer {
    font-size: smaller;
    border-top-color: darkgrey;
    border-top-width: thin;
    box-shadow: 0px -1px 3px 0px rgb(0 0 0 / 20%);
    background-color: ghostwhite;
    color: gray;
    text-align: center;
}

.nospace{
    margin: 0;
}

.menu {
    margin: 10px 0px 0px 10px;
}

.burger {
  display: none;
  width: 30px;
  height: 22px;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: white;
  left: 0;
  transition: 0.3s ease;
}

/* posições iniciais */
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

/*  ANIMAÇÃO para X */
.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}
.burger.active {
  transform: rotate(180deg);
}




/*///////////// MEDIA ////////////////*/
@media (max-width: 768px) {

    /*   BANNER   */
    .empty{
        display: none;
    }

    .iarclogo{
        max-width: 30%;
    }

    .bbonlinelogo{
        width: 100%;
    }
    .flexbanner{
    flex-direction: column;
    padding: 5px;
    }

    .row{
        display: flex;
        flex-direction: row;
    }

    .titlebar{
        flex-direction: row;
        padding: 5px;
        padding-right: 10px;
    }

    /*   CONTENT   */

    h1{
        font-size: medium;
    }

    h3{
        font-size: small;
    }

    .none{
        display: none;
    }

    .codenone{
        display: block;
    }

    form{
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        align-self: flex-end;
    }
    .tabs {
        position: relative;
    }
    .burger {
        display: block;
        margin-bottom: 10px;
        z-index: 1001;
        position: relative;
    }

  .tab-buttons {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    }

    .tab-buttons.active {
        display: flex;
    }

    .tab-btn {
        width: 100%;
        text-align: left;
        border-radius: 0;
        padding: 15px;
    }

    .scrollable-content {
        padding: 10px;
    }

    .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4); /* escurece */
    backdrop-filter: blur(8px); /* blur */
    -webkit-backdrop-filter: blur(8px); /* Safari */
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 999;
    }

    .overlay.active {
    opacity: 1;
    pointer-events: all;
    }
 
    .tabs:not(.menu-open) .tab-content.active {
        display: block;
        padding: 5px;
    }

    /*   FOOTER   */
    .footerflex{
        text-align: center;
    }

}