* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}

html {
    scroll-behavior: smooth; 
}


body {
    background-color: #f9f9f9;
}

nav {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 10px 20px;
    background-color: #f9f9f9; 
    border-bottom: 1px #c9c8c8 solid;
}

nav a {
    margin-right: 20px;
    text-decoration: none; 
    color: #242323; 
    font-family: 'Montserrat',sans-serif;
    font-weight: 600;
}

nav a:hover{
    color: #0060af;
}

nav img {
    height: 50px; 
}


.logo img {
    height: 100px;
    margin: 0 10px;
}

#hand{
    width: 80%;
    height: 80%;
}

h1{
    font-family: 'Poppins',sans-serif;
    font-weight: 400;
    text-align: center;

}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #c9c8c8; 
    padding: 20px; 
    margin: 20px auto; 
    max-width: 900px; 
    border-radius: 8px; 
}

article {
    max-width: 900px; 
    margin: 20px auto; 
    padding: 20px; 
    line-height: 1.8;
    text-align: justify; 
    font-size: 16px; 
    color: #333; 
}

article a{
    color: #333;
    text-decoration: underline;
}

article a:hover{
    color: #003058;
}

footer{
    background-color: #003058;
    color: white;
    text-align: center;
    padding: 1.25em;
    padding-bottom: 2em;
    max-height: 3rem;
    margin: 0;
    display: block;
}
  
footer p{
    color:white;
    font-family: 'Montserrat',sans-serif;
    font-weight: 400;
    font-size: 1.25em;
}

footer a{
    color: white;
    text-decoration: none;
}

footer a:hover{
    text-decoration: underline;
}

@media (max-width: 768px) {
    #hand{
        width: 90%;
        height: 90%;
    }

    #hand1{
        width: 95%;
        height: 95%;
    }
}

@media screen and (max-width:320px) {
    footer p{
        font-size: 0.5em;
    }

}

@media screen and (max-width:375px) {
    footer p{
        font-size: 1em;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html, body {
        height: 100%;
        margin: 0;
    }

    body {
        display: flex;
        flex-direction: column;
    }

    footer {
        margin-top: auto;
    }
}

