#icon{
    width: 250px;
    cursor: pointer;
}

img{
    cursor: pointer;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.footer{
    display: flex;
    text-align: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, .1);
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    flex-direction: column;
}

section{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding:0;
}

section h2{
    font-size: 55px;
    font-weight: 600;
    margin-bottom: 5px;
}

section p{
    margin-bottom: 15px;
}

.modal-container{
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0; 
    background: rgba(0,0,0,.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal{
    width: 40%;
    height: 50%;
    background: rgba(255,255,255,1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;
    transition: transform 1s;
    transform: translateY(0%);
    -moz-transition: transform 1s;
    -moz-transform: translateY(0%);
    -webkit-transform: translateY(0%);
    border-radius: 10px;
}

.modal-close{
    transform: translateY(-200%);
}

.close{
    position: absolute;
    top: 5px;
    right: 5px;
    display: inline-block;
    width: 25px;
    height: 25px;
    background: red;
    line-height: 25px;
    cursor: pointer;
    border-radius: 50%; 
}

.modal > img{
    height: 70%;
}


body,html {
  background: linear-gradient(
    -45deg,
    rgba(252, 247, 82, 1),
    rgba(53, 89, 238, 1)
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Open Sans", sans-serif;
}

.container {
  margin: 5% auto;
  padding: 20px;
  background-color: rgba(255,255,255,.1);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  justify-content: center;
  text-align: center;
}

.text-center {
  text-align: center;
  margin-bottom: 1em;
}

.lightbox-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.lightbox-gallery div > img {
  max-width: 100%;
  display: block;
}

.lightbox-gallery div {
  margin: 10px;
  flex-basis: auto;
}

@media only screen and (max-width: 480px) {
  .lightbox-gallery {
    flex-direction: column;
    align-items: center;
  }

  .lightbox > div {
    margin-bottom: 10px;
  }
}

/*Lighbox CSS*/

.lightbox {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  padding-top: 30px;
  box-sizing: border-box;
}

.lightbox img {
  display: block;
  margin: auto;
}

.lightbox .caption {
  margin: 15px auto;
  width: 50%;
  text-align: center;
  font-size: 1em;
  line-height: 1.5;
  font-weight: 700;
  color: #eee;
}

h1{
    text-align: center;
    font-size: auto;
    font-weight: 600;
    text-transform: uppercase;
    margin: 40px 8px 10px 8px; 
    color: black;
}



h3{
    text-align: center;
    font-size: 25;
    font-weight: 600;
    color: #C70039;
    text-transform: uppercase;
}

#active{
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 40px 8px 10px 8px; 
    color: green;
}

#inactive{
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 40px 8px 10px 8px; 
    color: red;
}

h2.inactive, h1.inactive{
    color: #cccccc;
}

h2.active, h1.active{
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}

#reconfig{
    flex-basis: auto;
    background-color: green;
    border: none;
    width: 100%;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    padding: 15px;
    box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    -webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 15px 0px 15px 0px;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

#restart{
    flex-basis: auto;
    background-color: #EEE335;
    border: none;
    width: 100%;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    padding: 15px;
    box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    -webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 15px 0px 15px 0px;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

#stop{
    flex-basis: auto;
    background-color: red;
    border: none;
    width: 100%;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    padding: 15px;
    box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    -webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 15px 0px 15px 0px;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

button:hover{
    background-color: red;
}

button:active{
    transform: scale(0.95);
}

input[type=text], input[type=password], textarea{
    background-color: #f6f6f6;
    border: none;
    color: #0d0d0d;
    padding: 15px 32px;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    width: 70%;
    margin: 5px;
    font-size: 16px;
    border: 2px solid #f6f6f6;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

input[type=text]:focus, input[type=password]:focus, select:focus, textarea:focus{
    background-color: #fff;
    border-bottom: 2px solid #5fbae9;
}

input[type=text]::placeholder, input[type=password]::placeholder, textarea::placeholder{
    color: #0d0d0d;
}

header{
    width:100%;
    position: relative;
}

header nav{
    width: 100%;
    background-color: rgba(255, 255, 255, .8);
    margin: 10px auto;
    border-radius: 10px;
    flex-basis: auto;
}

header nav ul{
    overflow: hidden;
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-basis: auto;
}

header nav ul li{
    float: left;
}

header nav ul li ul{
    width: auto;
    display: none;
    position: absolute;
    min-width: 140px;
    padding: 0;
    background-color: rgba(255, 255, 255, 1);
}

header nav ul li:hover > ul{
    display: flex;
    position: absolute;
    width: auto;
    flex-direction: column;
}

header nav ul li a{
    display: inline-block;
}

header nav ul li ul li a{
    padding: 5px 0 10px 10px;
    
}

a{
    text-decoration: none;
    font-weight: 400;
    flex-basis: auto;
    display: flex;
    color: #196386;
    padding: 15px;
}

a:after{
    left: 0;
    display: block;
    bottom: -10px;
    width: 0;
    height: 2px;
    content: "";
    background-color:  #0071c1;
    transition: width 0.2s;
}

a:hover{
    color: #0071c1;
    font-weight: 600;
}

#exit:hover{
    color: red;
    font-weight: 600;
}

a:hover:after{
    width: 100%;
}
