html{
    font-size: 62.5%;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    background-color: white;
}

header{
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 50vh;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.navbar {
    background-color: blue;
    width: 100%;
display: flex;
justify-content: space-between;
}
.nav-item{
    text-decoration: none;
    color: #fdfdfd ;
    background-color: #1b02f7;
    margin: .5rem;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    transition: 0.2s ease-in-out;
}
.nav-item{
background-color: red;
transform: translateY(.2rem);
}

.logo{
    width: 30rem;
}
.button{
background-color: rgb(162, 214, 114);
color: white;
border-radius: 2rem;
padding: 1rem 2rem;
font-size: 3rem;
font-weight: 600;
text-decoration: none;
transition: .5s ease-in-out;
}

.button-demo{
 background-color: rgb(172, 245, 104);
     color: rgb(240, 244, 245);

}


.button-demo:hover{
    background-color: rgb(226, 71, 32);
}

@media only screen and ( max-width:600px){

.nav-item{
    flex-direction: column;
}
.nav-item{with: max-content;}
}
.logo{
    width: 20rem;
}
