* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #dfc7ad;
    background-image: url("./Rio-verde.jpg");
    background-size: cover;           
    background-repeat: no-repeat;    
    background-position: center;     
    background-attachment: fixed;   
    min-height: 100vh;               

.main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    max-width: 900px;
    background-color: #9eaa7e;
    border-radius: 8px;
}

main h1 {

    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 36px;
    color: #e58934;
}

.main a {
    text-decoration: none;
     color: #e58934;
    border: 3px solid #e58934;
    display: inline-block;
    margin-top: 15px;
    padding: 5px 10px;
    border-radius: 5px;
}
.main a:hover{
    background-color: #e58934;
    color: #9eaa7e;
    transition: 0.3s;}



.navegacao ul {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-direction: row;
    list-style: none;
    padding: 20px;
    gap: 50px;
    text-decoration: none;


}

.navegacao ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    color: #333;
}
.navegacao ul li a:hover {
    color: #e58934;
    color: #9eaa7e;
    transition: 0.3s;
}

.navegacao ul li {
    margin-bottom: 10px;
    border: 3px solid#9eaa7e;
    padding: 15px;
    border-radius: 8px;
    background-color: #e58934;
    color: #9eaa7e;
}

.hoje-previsao {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    background-color: #e58934;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 19px
}

.hoje-previsao h2 {
    text-align: center;
    margin-bottom: 20px;
    color:#9eaa7e;


}

.previsao-tempo-atual {
    background-color: #9eaa7e;
    border-radius: 8px;
    max-width: 400px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.previsao-proximos-3-dias {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;

}

.previsao-proximos-3-dias .dia {

    max-width: 300px;
    padding: 20px;
    border-radius: 19px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    background-color: #e58934;
    gap: 10px;
    border: 2px solid #9eaa7e;
}

.proximos-dias {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: left;
    background-color: #9eaa7e;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 19px
}

.proximos-dias h2 {
    text-align: center;
}

.moon {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    background-color: #e58934;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 19px
}

.lua-hoje {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    background-color: #9eaa7e;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 19px
}

.lua-hoje h2 {
    text-align: center;
    margin-bottom: 20px;
}

footer {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    background-color: #9eaa7e;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 19px
}

footer a {
    text-decoration: none;
    color: #e58934;
    border: 3px solid #e58934;
    border-radius: 8px;
    display: inline-block;
    gap:15px;
    padding: 5px 10px;
}
footer a:hover {
    background-color: #e58934;
    
    color: #9eaa7e;
}

@media screen and (max-width: 768px) {
      body {
        background-size: auto;      
        background-repeat: repeat;  
        background-attachment: scroll; 
    }
    .navegacao ul {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        flex-direction: column;
        text-align: center;

    }

    .navegacao ul li {
         width: 50%;       
        padding: 10px 10px;
        font-size: 14px;
        margin: 0 auto;
    }

}}
