@keyframes anim3 { 0% {transform: rotate3d(0, 1, 0, 0deg);}  50% {transform: rotate3d(0.3, 1, 0, 179deg);} 100% {transform: rotate3d(0, 1, 0, 0deg);} 
}
#main{
	height: 72.5vh;
}
::placeholder{
	color: white;
}
#contact{
  display: none;
  height: 100%;
  width: 80%;
  animation: anim3 8s linear infinite;
}
#contact{ 
    justify-content: center;
    align-items: center;
    height: 100%;
}
#menu {
  width: 100%;
}
form {]
    display: grid;
    overflow:auto;
}
fieldset {
    display: grid;
    overflow: auto;
}
#contact a {
    border: none;
    
}
fieldset {
  outline:none;
  border: 3px solid darkgrey;
  overflow:auto;
}
form, #Submit, #Reset {
      color: darkgray;
      font-size: 0.9rem;
      overflow: auto;
}
p {
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding: 0px;
	padding: 3px;
	margin: 0px;
    background-color: rgb(11, 8, 8);
}
p:nth-child(6){
	padding-bottom:0px;
}
#label {
  color: aqua;
}
#submit-reset {
    display: flex;
    justify-content: space-around;
    background-color: darkred;
}
#firstName{
  background-color: darkred;
  color:whitesmoke;
  border:none;
}
#firstName:focus {
  outline: none;
  border: 1.3px solid white;
}
#lastName{
  background-color: darkred;
  color:white;
  border:none;
}
#lastName:focus {
  outline: none;
  border: 1.3px solid white;
}
#email{
    background-color: darkred;
    color:whitesmoke;
    border:none;
}
#email:focus {
  outline:none;
  border: 1.3px solid white;
}
#subject {
  background-color: darkred;
  color:whitesmoke;
  border:none;
}
#subject:focus {
  outline: none;
  border: 1.3px solid white;
  }
#message {
  background-color: darkred;
  color:whitesmoke;
  border:none;
}
#message:focus{
  outline: none;
  border: 1.3px solid white;
}
#submit{
    background-color: #660000;
	width: 50%;
    color:darkgray;
    border:none;
	margin-left: 3px;
	margin-right: 1.5px;
}
#submit:hover {
    color: whitesmoke;
}
#submit:focus {
  outline: none;
  border: 1.3px solid white;
}
#reset{
  background-color: #350000;
  width: 50%;
  color:darkgray;
  border:none;
  margin-left:1.5px;
  margin-right:3px;
}
#reset:hover {
    color: whitesmoke;
    
}
#reset:focus {
  outline: none;
  border: 1.3px solid white; 
}
:invalid {
    background-color: #222222;
}
input {
    font-size: 12px;
}
/* Mobile Styles */
@media only screen and (max-width: 576px) {
	input {
		font-size: 12px;
	}
	p {
		font-size: 12px;
	}
}
/* Tablet Styles */
@media only screen and (min-width: 577px) and (max-width: 991px) {
	input {
		font-size: 13px;
	}
	p {
		font-size: 14px;
	}
}
/* Desktop Styles */
@media only screen and (min-width: 992px) {
	input {
		font-size: 13px;
	}
	p {
		font-size: 14px;
	}
}
@media only screen and (max-height: 576px) and (orientation : landscape) {
	input {
		font-size: 6.5px;
	}
	p {
		font-size: 6.5px;
	}
}
