/* CSS Reset */
body, header,nav, main, footer,h1 {
    margin: 0;
    border: 0;
    padding:0;
}




body {
    background-color: white;

}

/* Style rules for body and image */
/* Style rules for mobile viewport*/

/* Style rules to show mobile class and hide tab-desk class*/
.mobile {
    display: none;
}

.tab-desk {
    display: block;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}


h1 {
    color: Black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-large;
    margin: 0px;
    text-align: center;
}



nav{
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding-top:16px;
    padding-bottom:16px;
    margin-bottom:24px;
    border-bottom:1px solid #EFEFEF;
    position: relative;
    padding-left:64px;
}
nav a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 40px;
    text-decoration: none;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

nav ul {
    display: flex;
    justify-content: center;
    text-align: center;
    list-style: none;
    position: absolute;
    left:50%;
    transform:translateX(-50%);
}

nav a:hover{
    background-color: #EFEFEF;
}

/*.calculator{*/
/*    padding-left:64px;*/
/*    padding-right:64px;*/
/*}*/
p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: Large;
    font-weight: 500;
    margin-top: 48px;
    text-align:center;
}

p3{
    font-family: Arial, Helvetica, sans-serif;
    font-size: Large;
    font-weight: 500;
    margin-top: 16px;
    line-height: 24px;
    padding-left:64px;
    padding-right:64px;
    text-align:left;

}

#evForm {
  width: 300px;            
  margin: 0 auto;           
  text-align: left;  
  border: 2px solid;
  border-color:#EFEFEF;
  border-radius: 16px;
  padding:32px; 
  justify-content:center;
  background-color: #8FB3BF;
}

#evForm input {
  display: block;
  margin-bottom: 16px;
  margin-top: 8px;
  padding:16px;
  background-color: white;
  border: 1px solid;
  border-color: #EFEFEF;
  border-radius:8px;
  width: 90%;
}


p2{
    font-family: Arial, Helvetica, sans-serif;
    font-size: Medium;
    font-weight: 500;
    margin-bottom:16px;
    color:white;
}

#evForm button{
    background-color:#E7F9FF;
    padding: 16px 24px;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: Medium;
    border: 1px solid;
    border-color: #EFEFEF;
    width:100%;
}

.result-box {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    background: #f2f2f2;
    border: 1px solid #ccc;
}

footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    border-radius: 8px;
    width: auto;
}


.page-section {
    margin:0 auto;
    width: 600px;
}

.page-section p {
    padding-top: 5px;
}

#Background-image {
    margin: 0;
    padding: 0;
    background-image:url("../images/Ev.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
    