html {
    box-sizing: border-box;
    min-height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: black;
} 

*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

.wrapper{
  min-height: 100vh;
  background: #ccc;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.header {
  background: #666;
  color: #fff;
  align-self: center;
  width: 100vw;
  height: auto;
}

.footer {
  background: #666;
  color: #fff;
  width: 100vw;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}
.footer p {
  text-align: center;
  width: 100%;
}

/* LINK STYLES / NAV STYLES */

a:link {
  text-decoration: none;
}

a:visited {
  color: #0100fe;
  text-decoration: none;
}

a:hover,
a:focus {
    color: darkcyan;
    text-decoration: underline;
}

.active,
a:active {
    color: orangered;
    background-color: white;
    padding: 2px;
    text-decoration: underline;
}

nav li {
  list-style-type: none;
  font-size: 18px;
}

nav {
  margin-top: 10px;
}

 /* MAIN CONTENT STYLES */

.content {
  display: flex;
  flex: 1;
  background: #999;
  color: #000; 
}
.columns {
  display: flex;
  flex: 1;
}
.main {
  flex: 1;
  order: 2;
  background: #eee;
  display: flex;
  flex-direction: column;
  width: 60%;
}

.bold-big {
  font-size: 24px;
  font-weight: bold;
}

.underline {
  text-decoration: underline;
  font-weight: 700;
}

h1, h2, h3, h4 {
  text-align: center;
  padding: 10px;
  margin: 50px 20px 20px 0px;
}

p {
  font-size: 18px;
  margin: 5px 20px 5px 20px;
  text-align: left;
}

.etheldiv {
  display: flex;
  align-content: center;
  flex-direction: row;
  align-items: center;
}

.etheldivtwo {
  display: flex;
  align-content: center;
  flex-direction: row;
  align-self: center;
}

.panamdiv {
  display: flex;
  align-content: center;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.anchor {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  background: #ccc;
  padding: 5px;
  margin: 10px;
}
.caps {
  font-variant: small-caps;
}

/*LEFT SIDEBAR STYLES*/

.sidebar-left {
  width: 20%;
  background: #ccc;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;  
}


/*RIGHT SIDEBAR STYLES*/

.sidebar-right { 
  width: 20%;
  order: 3;
  background: #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
   
}

/*HEADER STYLES*/

.header-img {
  padding: 0;
  width: 100%;
  height: auto;
}

/* IMAGE STYLES*/

.sidebar-right > img {
  width: 60%;
  height: auto;
}


#double {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
}

#double > img {
  height: 200px;
  width: 0 auto;
  padding: 10px;
}

#single {
  display: flex;
  align-self: center;
  margin: 20px;
}

.first,
.cars  {
  width: 325px;
  height: auto;
  align-self: center;
  margin: 0;
  padding: 0;
}

.cars {
  margin-top: 15px;
}

#first {
  width: 400px;
  height: auto;
  align-self: center;
  margin: 10px;
  padding: 0;
}

.event {
  display: flex;
  flex-direction: column;
  align-self: center;
  margin-bottom: 25px;
}

.event > img {
  width: 400px;
  margin: 0 auto;
}

.meet {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  height: auto;
  margin-top: 35px;
}

figure {
  margin: 0px 20px 0px 20px;
  padding: 0;
  border: solid black 1px;
  background-color: white;
}

figcaption {
  font-size: 12px;
  margin: 0px 10px 10px 10px;
}



/* FORM STYLES */


form > h3 {
  margin: 0;
}

#register {
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 10px;
  padding: 5px;
}

#meminfo {
  justify-content: center;
  margin: 5px;
  padding: 5px;
  flex-direction: row;
}

#register > fieldset {
  margin: 15px 0px 15px 0px;
  width: auto;
  display: flex;
  align-self: center;
}

#register > legend {
  border: 1px solid #000000;
  background:#0100fe;
  color: #ffffff;
  padding: 3px;
  margin: 10px;
  font-variant: small-caps;
  font-size: 18px;
}

#register > input {
  margin: 2.5px 5px 2.5px 5px;
}

#register > label {
  margin: 2.5px 5px 2.5px 5px;
  font-weight: bold;
  font-variant: small-caps;
  font-size: 16px;
}

.submit-button {
  align-self: center;
  font-size: 20px;
  width: 200px;
  padding: 5px;
  margin: 5px 5px 10px 5px;
  box-shadow: 2px 2px 4px #000000;
  color: #ffffff;
  background: #0100fe;
  border: none;
}

.submit-button:hover,
a:focus {
  color: white;
  text-decoration: underline;

}

#register > a:active {
  text-decoration: underline;
  box-shadow: none;
}

/* DISCUSSION BOARD NOTICE STYLES*/

#important {
  box-shadow: 3px 3px 5px #000000;
  width: 600px;
  align-self: center;
  margin: 50px 0px 50px 0px;
  border: 2px dashed red;
}

#important > h2 {
  color: #0100fe;
}

#important > p {
  color: darkred;
}

.mem-reg {
  border: 1px solid #0100fe;
  display: flex;
  flex-direction: column;
  width: 40%;
  align-items: center;
  align-self: center;
}

.mem-reg > input {
  width: 50%;
  margin: 10px;
  font-size: 1.2em;
}



/* LINK GALLERY STYLES */

.gallery {
  padding: 10px;
  display: flex;
  flex-flow: row;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.links > img {
  display: flex;
  flex: auto;
  max-width: 350px;
  height: auto;
  margin: 5px;
}

/* OFFICERS/REGIONAL PAGES */

.letter {
  display: flex;
  flex-direction: row;
  margin: 5px;
}

#right > img {
  max-width: 200px;
  height: auto;
}

#right > ul {
  padding: 5px 30px;
}

#right {
  width: 60%;
  margin: 5px;
  background: white;
}

#left {
  width: 40%;
  margin: 5px;
  background: lightgoldenrodyellow;
}

#left > h5 {
  margin: 10px;
}

.club > p {
  text-align: center;
}

.club > h3 {
  margin: 5px;
}

.officers,
.carsgallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

.addy, .club {
  padding: 5px;
  margin:5px;
  border: 1px dotted #0100fe;
  border-radius: 15px;
  background: white;
}

.addy > h3 {
  margin: 5px;
  color: #0100fe;
  font-variant: small-caps;
  padding: 5px;
}

.addy > p{
  text-align: center;
  padding: 5px;
  margin: 5px;
}

/*MEDIA QUERIES FOR RESPONSIVENESS*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .columns {
      flex-direction: column;
    }
    .sidebar-left {
      width: 100%;
    }
  
    .main {
      width: 100%;
    }
  
    .sidebar-right {
      width: 100%;
    }
  
    .sidebar-right > img {
      width: 40%;
    }

    .sidebar-left > img {
      width: 40%;
    }
  
    .login-form {
      width: 50%;
    }
  
    .footer {
      width: 100%;
    }

    .footer > p {
      text-align: center;
      width: 100%;
    }
  }


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  .columns {
    flex-direction: column;
  }
  .sidebar-left {
    width: 100%;
  }

  .main {
    width: 100%;
  }

  .sidebar-right {
    width: 100%;
  }

  .sidebar-right > img {
    width: 40%;
  }
  .sidebar-left > img {
    width: 40%;
  }

  .login-form {
    width: 50%;
  }

  .footer {
    width: 100%;
  }

  .footer > p {
    text-align: center;
    width: 100%;
  }
}
 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
  .columns {
    flex-direction: column;
  }
  .sidebar-left {
    width: 100%;
  }

  .main {
    width: 100%;
  }

  .sidebar-right {
    width: 100%;
  }

  .sidebar-right > img {
    width: 40%;
  }
  .sidebar-left > img {
    width: 40%;
  }

  .login-form {
    width: 50%;
  }
  .footer {
    width: 100%;
  }

  .footer > p {
    text-align: center;
    width: 100%;
  }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
  .columns {
    flex-direction: column;
  }
  .sidebar-left {
    width: 100%;
  }

  .main {
    width: 100%;
  }

  .sidebar-right {
    width: 100%;
  }

  .sidebar-right > img {
    width: 40%;
  }

  .sidebar-left > img {
    width: 40%;
  }

  .login-form {
    width: 50%;
  }

  .footer {
    width: 100%;
  }

  .footer > p {
    text-align: center;
    width: 100%;
  } 
}

