body{
    margin: 0;
    background: #D3D3D3;
}
.grid{
    display: grid;
    grid-template-columns: repeat(12,1fr);
    gap: 5px;
    align-items: baseline;
}
header {
    padding: 10px 10px;
    background: #02075d;
    font-size: medium;
}
header img {
    grid-column: span 4;
}
header nav {
    grid-column: span 8;
    justify-self: end;
    font-size: small;
}
header nav a {
    color:bisque;
    margin-left: 25px;
    text-decoration: none;
    font-size: medium;
}
header p {
    grid-column: span 4;
    color:bisque; 
    justify-self: center;
    font-size: medium
}

footer p {
    grid-column: 3 / span 9;
    color:#02075d; 
    justify-self: center;
    font-size: small;
}
main {
    max-width: 1200px;
    margin: 10px auto;
    padding: 5px;
}
main p {
    grid-column: span 1;
    color: #02075d; 
    justify-self: center;
    font-size: x-large;
}

.dropbtn {
    background-color: teal;
    color: white;
    padding: 2px;
    font-size: 16px;
    border: none;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: lightgray;
    padding: 0px 2px;
    min-width: 250px;
    text-align: start;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: #02075d;
    padding: 0px 2px;
    text-decoration: none;
    text-align: start;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #02075d;
    color: #fff;
}
  
  .dropdown:hover .dropdown-content {
    display: block;}
  

label {
    background-color: lightgray;
    font-size: medium;
}
label hid{
    display:none;
}
main select {
    background-color: #f5f5f5;
    font-size: large;
    width: 350px;
}
.select2{
    background-color: #f0dccc;
    justify-self: start;
    width: 350px;
}
.select3{
    background-color: #c8e2f8;
    width: 350px;
}
.select4{
    background-color: #bcf8cf;
    justify-self: start;
    width: 350px;
}
.select5{
    background-color: #fbadad;
    justify-self: start;
    width: 350px;
}
.select6{
    background-color: #f0dccc;
    justify-self: start;
    width: 700px;
}
.select7{
    background-color: #c8e2f8;
    justify-self: start;
    width: 700px;
}
main form{
    grid-column: span 4;
    justify-self: start;
}
.form1{
    grid-column: 1 / span 4;
    justify-self: start;
}
.form2{
    grid-column: 5 / span 4;
    justify-self: start;
}
.form3{
    grid-column: 9 / span 4;
    justify-self: start;
}
.form4{
    grid-column: 1/ span 6;
    justify-self: start;
}
.form5{
    grid-column: 7 / span 6;
    justify-self: start;
}
.form6{
    grid-column: 2 / span 8;
    justify-self: start;
}
.form7{
    grid-column: 1 / span 4;
    justify-content: start;
}
.form8{
    grid-column: 2 / span 10;
    justify-self: start;
}
.form9{
    grid-column: 9 / span 4;
    justify-content: start;
}
.form10{
    grid-column: 5 / span 8;
    justify-self: end;
}
.form11{
    grid-column: 1 / span 12;
    justify-self: start;
}
.span {
    display: flex;
    justify-content: center;
}
.container {
    width: 0%;
    height: 0vh;
    background: #3c5077;
    display: flex;
    align-items: center;
    justify-content: center;
}
.newbtn {
    padding: 5px 10px;
    background: rgb(109, 134, 94);
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    border-radius: 30px;
    }

.newbtn2 {
    padding: 10px 60px;
    background: hsl(90, 2%, 84%);
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    border-radius: 30px;
    }
.popup {
    width: 400px;
    background: #fff;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%) scale(0.1);
    text-align: center;
    padding: 0 30px 30px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
}
.open-success-popup {
    visibility: visible;
    background: rgb(172, 240, 179);
    top: 50%;
    transform: translate(-50%,-50%) scale(1);

}
.open-warning-popup {
    visibility: visible;
    background: rgb(228, 163, 163);
    top: 50%;
    transform: translate(-50%,-50%) scale(1);

}
.popup img {
    width: 50px;
    margin-top: -25px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.popup h2{
    font-size: 20px;
    font-weight: 500;
}
button {
    background-color: teal;
    color: white;
    padding: 5px 10px;
    margin: 8px 0;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    cursor: pointer;
    z-index: -2;
  }
  button:hover{
    background-color: #02075d;
    color: white;
    padding: 5px 10px;
    margin: 8px 0;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    cursor: pointer;
    z-index: -2;
  }
  .button2{
    background-color: teal;
    color: white;
    padding: 5px 10px;
    margin: 8px 0;
    border-radius: 15px;
    cursor: pointer;
  }
  .button2:hover {
    background-color: #02075d;
    transform: scale(0.95);
  }
  .button3{
    background-color: hsl(139, 89%, 53%);
    color: teal;
    padding: 5px 10px;
    margin: 8px 0;
    border-radius: 15px;
    cursor: pointer;
  }
  .button4{
    background-color: teal;
    color: white;
    padding: 5px 10px;
    margin: 8px 0;
    border-radius: 15px;
    cursor: pointer;
  }
    .button4:hover {
    background-color: #02075d;
    transform: scale(0.95);
    padding: 5px 10px;
  }
    
  * {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
  }
  .chartMenu {
    width: 100vw;
    height: 40px;
    background: #1A1A1A;
    color: whitesmoke;
  }
  .chartMenu p {
    padding: 10px;
    font-size: 20px;
  }
  .chartCard {
    width: 100vw;
    height: calc(100vh - 40px);
    background: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .chartBox {
    width: 700px;
    padding: 20px;
    border-radius: 20px;
    border: solid 3px rgb(245, 245, 245);
    background: white;
  }

  @media screen and (max-width: 960px){

header img {
    grid-column: 2 / span 10;
}

header p {
    grid-column: 3 / span 9;
    color:bisque; 
    justify-self: center;
    font-size: x-large;
}
.form1{
    grid-column: 2 / span 10;
    justify-self: center;
}
.form2{
    grid-column: 2 / span 10;
    justify-self: center;
}
.form3{

    grid-column: 2 / span 10;
    justify-self: center;

}
.form4{
    grid-column: 2 / span 10;
    justify-self: center;
}
.form5{
    grid-column: 2/ span 10;
    justify-self: center;
}
.form7{
    grid-column: 1 / span 4;
    justify-content: center;
}
.form9{
    grid-column: 2 / span 4;
    justify-self: start;
}
.form8{
    grid-column: 7 / span 4;
    justify-content: center;
}
.form11{
    grid-column: 1 / span 12;
    justify-self: start;
}

main select {
    background-color: #f5f5f5;
    font-size: large;
    width: 90%;
}
.select2{
    background-color: #f0dccc;
    grid-column: 10 / span 3;
    justify-self: start;
    width: 90%;
}
.select3{
    background-color: #c8e2f8;
    width: 90%;
}
.select4{
    background-color: #bcf8cf;
    width: 90%;
}
.select5{
    background-color: #fbadad;
    width: 90%;
}
button {
    background-color: teal;
    color: white;
    padding: 5px 10px;
    margin: 8px 0;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    cursor: pointer;
    z-index: -2;
  }
  button:hover{
    background-color: #02075d;
    color: white;
    padding: 5px 10px;
    margin: 8px 0;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    cursor: pointer;
    z-index: -2;
  }
  .button2{
    background-color: teal;
    color: white;
    padding: 5px 10px;
    margin: 8px 0;
    border-radius: 15px;
    cursor: pointer;
  }
  .button2:hover {
    background-color: #02075d;
  }
  .button3{
    background-color: hsl(139, 89%, 53%);
    color: teal;
    padding: 5px 10px;
    margin: 8px 0;
    border-radius: 15px;
    cursor: pointer;
  }

  .newbtn {
    padding: 5px 10px;
    background: rgb(109, 134, 94);
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    border-radius: 30px;
    }

  .container {
    width: 0%;
    height: 0vh;
    background: #3c5077;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup {
    width: 100%;
    background: #fff;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%) scale(0.1);
    text-align: center;
    padding: 0 30px 30px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
}
.open-success-popup {
    visibility: visible;
    background: rgb(172, 240, 179);
    top: 50%;
    transform: translate(-50%,-50%) scale(1);

}
.open-warning-popup {
    visibility: visible;
    background: rgb(228, 163, 163);
    top: 50%;
    transform: translate(-50%,-50%) scale(1);

}
.popup img {
    width: 50px;
    margin-top: -25px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.popup h2{
    font-size: 16px;
    font-weight: 500;
}
header {
    padding: 10px 10px;
    background: #02075d;
    font-size: small;
}
header img {
    grid-column: span 12;
}
header nav {
    grid-column: span 12;
    justify-self: end;
    font-size: small;
}
header p {
    grid-column: span 12;
    color:bisque; 
    justify-self: center;
    font-size: small;
}
  }
