body{
    margin: 0;
    padding: 0;
    background-color: rgb(246, 246, 246);
}

/* header */
header{
    background-color: white;
    margin-bottom: 30px;
    padding: 15px;
    display: flex;
    justify-content: space-between; 
}

/* div logo */
header .logo{
    display: flex;
}

header .logo img{
    width: 150px;
    margin-right: 20px;
}

header .logo h1 a{
    margin-top: 30px;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    color: black;
}

/* nav */
header nav ul li{
    display: inline-block;
    text-decoration: none;
    margin: 10px 20px 0px 0px;
}
header nav ul li a{
    text-decoration: none;
    background-color: black;
    color: white;
    padding: 20px;
    font-size: 25px;
    font-weight: bold;
    border-radius: 20px;
}
header nav ul li a:hover{
    padding: -20px;
    border-radius: 15px;
    background-color: lightgreen;
    color: white;
}
header nav ul li a:active{
    padding: 20px;
    padding: -20px;
    border-radius: 15px;
    background-color: black;
    color: white;
}

/* div principal */
.principal{
    background-color: white;
    padding: 15px 15px 100px 15px;
}

/* div conteudo */
.principal .conteudo h1{
    text-align: center;
}

.principal .conteudo h1 span{
    color: lightgreen;
}

.principal .conteudo p{
    margin: 20px 260px;
    font-size: 25px;
    text-align: justify;
}

/* div caixa */
.principal .caixa{
    background: linear-gradient(to right, white, white, lightgreen);
    margin: 50px 100px 0px 100px;
    padding: 15px;
    border-radius: 20px;
    border: lightgreen solid 5px;
    display: flex;
    justify-content: space-between;
}

/* div caixa_texto */
.principal .caixa .caixa_display .caixa_texto{
    font-size: 25px;
    text-align: justify;
    margin-right: 100px;
}

/* div caixa_button */
.principal .caixa .caixa_display .caixa_button{
    border-radius: 20px;
    text-align: center;
    padding: 20px;
    width: 100px;
    background-color: black;
    color: white;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
}

.principal .caixa .caixa_display .caixa_button:hover{
    background-color: lightgreen;
    color: white;
}

.principal .caixa .caixa_display .caixa_button:active{
    background-color: black;
    color: white;
}

.principal .caixa .caixa_display .caixa_button a{
    text-wrap: wrap;
    color: white;
}

/* img */
.principal .caixa img{
    margin: auto;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

#chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: lightgreen;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  
  #chat-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: white;
    border: 3px solid lightgreen;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border-radius: 20px;
    overflow: hidden;
    font-family: Arial, sans-serif;
  }
  
  #chat-header {
    background: black;
    color: white;
    padding: 12px;
    font-weight: bold;
    text-align: center;
  }
  
  #chat-output {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
  }
  
  #chat-input {
    width: 68%;
    border: none;
    padding: 10px;
    border-top: 1px solid #ccc;
    font-size: 14px;
  }
  
  #chat-box button {
    width: 32%;
    border: none;
    padding: 10px;
    background: lightgreen;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
  }  

/* responsividade */
@media (max-width: 880px) {
    header{
        flex-wrap: wrap;
        justify-content: center;
    }
  }

@media (max-width: 1273px) {
    .principal .caixa .caixa_display .caixa_texto{
        margin: 0;
    }

    .principal .caixa .caixa_display .caixa_button{
        margin-bottom: 50px;
    }

    .principal .caixa{
        flex-wrap: wrap;
    }
}

@media (max-width: 1048px) {
    .principal .conteudo p{
        margin: 20px 100px;
    }
}

@media (max-width: 725px) {
    .principal .conteudo p{
        margin: 20px 50px;
    }
}

/* footer */
footer{
    background-color: white;
    margin-top: 30px;
    padding: 15px;
}