body {
    margin: 0;
    background-color: 241, 241, 241;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
}

p {
    padding: 1em;
    margin: 1em;
    background-color: white;
}

h1 {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: none;
    margin-right: none;
    padding-left: .25em;
    padding-right: .25em;
}

img {
    padding: 1em;
}

#codingMain {
    display: flex;
}

#codingMain p {
    border-color: rgb(231, 231, 231);
    border-style: solid;
    border-radius: .5em;
    margin: 20px;
}

#codingMain img {
    border-color: rgb(231, 231, 231);
    border-style: solid;
    border-radius: .5em;
    padding: 0;
    margin: 20px;
}

#tennisMain {
    display: flex;
}

#tennisMain img {
    width: 50%;
    height: auto;
    border-color: rgb(231, 231, 231);
    border-style: solid;
    border-radius: .5em;
    padding: 0;
    margin: 20px;
}

#tennisMain p {
    border-color: #ffffff;
    border-style: solid;
    border-radius: .5em;
}

#homeMain {
    display: flex;
}

#formMain

#aboutmain p{
    border-style: solid;
    border-radius: .5em;
}

.homepagecontainers {
    position: relative;
}

.homepagepics {
    display: flex;
    width: 80%;
    border-color: #000000;
    border-style: solid;
    border-width: .2em;
    border-radius: .5em;
    padding: 0;
    margin: 20px;
}

.homepageparagraph {
    border-color: #000000;
    border-style: solid;
    border-width: .2em;
    border-radius: .5em;
}

#profilePic {
    width: 5em;
    padding: 0;
    border-color: #ffffff;
    border-style: solid;
    border-width: .3em;
    border-radius: 50%;
    margin: .3em;
}

#responsive {
    display: flex;
}

header {
    display: flex;
    background-color: rgb(0, 0, 0);
    color: white;
    overflow: visible;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: rgb(255, 255, 255);
  margin: 3px 0;
  transition: 0.4s;
  padding: none;
}

.change .bar1 {
-webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
transform: rotate(-45deg) translate(-9px, 6px) ;
}

/* Fade out the second bar */
.change .bar2 {
opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
-webkit-transform: rotate(45deg) translate(-8px, -8px) ;
transform: rotate(45deg) translate(-8px, -8px) ;
}

/* Dropdown Button */
.dropbtn {
background-color: #000000;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
display: flex;
flex-direction: column;
}

/* Dropdown button on hover & focus */
.change .dropbtn {
    background-color: #a18900;
}
  
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
margin-top: auto;
margin-bottom: auto;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: flex;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

/* form styling*/
input[type="text"],
input[type="radio"],
input[type="checkbox"],
textarea,
select {
  /* Apply appropriate styles */
  color: #333;
  background-color: #f5f5f5;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  display: none;
}

.checkedinput {
    background-color: #007bff;
    color: white;
}

.labelcontainer {
    display: flex;
    flex-wrap: wrap;
}

.labelcontainer label {
    flex-grow: 1;
}

label {
  border-color: #8EC468;
  border-style: solid;
  border-width: .2em;
  border-radius: .5em;
  padding: .25em;
  margin-right: .5em;
  margin-left: .5em;
  background-color: rgb(255, 255, 255);
  margin-bottom: .1em;
  cursor: pointer;
}

form {
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
}

.formblocktop {
    margin-bottom: 1.25em;
}

.formblockbottom {
    margin-top: 1.25em;
}

/* Apply custom styles to form fieldsets */
fieldset {
    border-style: solid;
  margin-bottom: .2em;
  border-width: .3em;
  border-color: #A09F91;
  border-radius: .5em;
  padding: 10px;
  padding-bottom: .75em;
}

.formbuttons {
    margin-bottom: 1em;
    margin-top: 1em;
}

/* Apply custom styles to form legends */
legend {
  font-weight: bold;
  margin-top: .3em;
}

/* Apply styles to the  button */
.formbuttons button {
    padding: 15px 25px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1em;
}

.formbuttons button:hover {
    background-color: #0066d3;
}

.formbuttons button:active {
    background-color: #004a9a;
}

#downloadreport {
    margin-bottom: 1em;
}

@media (max-width: 1400px) {
    #tennisMain {
        display: block;
    }
    #tennisMain img {
        width: 80%;
    }
    #codingMain {
        display: block;
    }
    #codingMain img {
        width: 80%;
    }
}
@media (max-width: 1200px) {
    #responsive {
        display: block;
    }
}
@media (max-width: 1000px) {
    #homeMain {
        display: block;
    }
    .homepagepics {
        width: 50%;
    }
}
@media (max-width: 850px) {
    label {
        display: inline-block;
        margin-top: .3em;
        margin-bottom: .1em;
        text-align: center;
    }
    .formblockbottom {
        margin-top: 0;
    }
    .formblocktop {
        margin-bottom: 0;
    }
    fieldset {
        padding-bottom: .5em;
    }
}
@media (max-width: 700px) {
    #codingMain img {
        width: 80%;
    }
}
@media (max-width: 500px) {
    .homepagepics {
        width: 80%;
    }
}
@media (max-width: 400px) {
    header h1 {
        font-size: 1em;
    }
}
