/*******Custom Fonts*******/
@font-face {
  font-family: "Monsterrat";
  src: url(../assets/fonts/montserrat/montserrat-variablefont_wght.ttf) format(TrueType);
}
@font-face {
  font-family: "Sofia Sans";
  src: url(../assets/fonts/sofia_sans/sofiasans-variablefont_wght.ttf) format(TrueType);
}
html {
  font-family: "Monsterrat", "Sofia Sans", Times, Monospace;
}

/* Mobile Navbar */
.list-navigation{
  background-color: rgb(43, 108, 163);
  text-align: center;
}

#nav-navigation{
  display: none;
}

header.navbar {
  background-color: rgb(43, 108, 163);
  color: rgb(255, 255, 255);
  padding: 0.50em 0;
  position: fixed;
  width: 100%;
  height:2.5em;
  top: 0;
}

nav a{
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-decoration: none;
}

/* Body and Typography (Minor Third) */
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 1em;
}

body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-weight: bold;
}

h1 {
  font-size: 1.44em;
  color: #2b6ca3;
}

h2 {
  font-size: 1.44em;
  line-height: 1.278;
  text-align: center;
  padding: 0;
}

h3 {
  font-size: 1.2em;
}

p {
  font-size: 1em; /*16/16=1*/
  line-height: 1.25em; /*20/16=1.25*/
}

/* Footer and Social Icons */
footer {
  text-align: center;
  padding: 2em;
  background-color: #2b6ca3;
  color: #ffffff;
  font-size: 1em;
  position: relative;
}

.social-icons {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 10px;
}

.social-icons a {
  display: inline-block;
  margin-left: 10px;
}

.social-icons img {
  width: 30px;
}

/* Header and Navigation - Mobile */
header.site-header, header.page-header {
  font-weight: bold;
  text-align: center;
  font-size: 1.5em;
  padding: 1em 0;
  line-height: 1.6;
}

header.site-header {
  margin: 2.5em 0 0 0;
}

nav ul {
  list-style: none;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

li {
  margin: 0 10px;
  display: block;
  font-size: 1.125em;
}

li a {
  color: #000;
}

li a:hover {
  color: #3498db;
}

a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

/* Page Header */
.page-header {
  background-color: #2b6ca3;
  color: #ffffff;
  padding: 10px;
  margin: 20px 0;
}

/* Input Fields and Buttons */
.input-container {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

label {
  flex: 1;
  text-align: right;
  margin-right: 10px;
  font-family: 'Manrope', 'Sofia Sans', Arial;
  font-size: 1.125em;
}

select {
  width: 90%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
}

label, input[type="email"], textarea {
  width: 100%;
}

input[type="email"], textarea {
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
}

button {
  background-color: #2b6ca3;
  color: #ffffff;
  border: none;
  padding: 20px 40px;
  font-size: 1.125em;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2c3e50;
}

/* HomePage - Mobile */
.home-image-container{
  display: flex;
  flex-wrap: wrap;
}
.home-image-caption{
  display: block;
  text-align: center;
  margin: 1em auto 0 auto;
}

.home-image-caption img {
  width: 95%;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.home-image-caption p {
  margin-bottom: 0.50em; /*8/16=0.50*/
  font-weight: bold;
  color: #333;
}

/* Info Blocks - Mobile */
.membership-info, .container, .payment-info, .why-join-container, .rules-info, .rules-info-container {
  background-color: #ecf0f1;
  padding: 50px 25px;
  margin: 10px 0;
}

/* Page Content - Mobile */
.page-content {
  text-align: center;
}

/* Journal Mobile */
.journal-image-caption img{
  display: block;
  width: 90%;
  max-width: 25em; /*400/16=25*/
  object-fit: cover;/**/
  border: 3px solid #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}
#html-journal .container a {
  color: rgb(42, 148, 150);
}

.bold-text {
  font-weight: bold;
}

/* ABOUT US PAGE */
/*******Layout Styles*******/
#html-about-us,#html-journal{
  text-rendering: optimizeLegibility;
  overflow-x: hidden
}

#html-about-us #about-us-content{
  background-color: rgb(236, 240, 241);
  display:block;
  padding: 1.50em 1em; /*24/16=1.50 AND 16/16=1*/
  margin: auto;
}

#html-about-us .about-us-header2{
  line-height: 1.278em; /*29.4/23=1.2782*/
  text-align: center;
  padding: 0;
}

#html-about-us .list-objectives li,
#html-about-us #container-constitution li,
#html-about-us .list-subsections li{
  margin: 0;
  padding: 0;
}

#html-about-us .director-photo{
  border-style: solid;
  border-radius: 5em; /*96/16=5*/
  border-width: 0.125em; /*2/16=0.125*/
  width: 18%;
  max-width: 8em; /*128/16=8*/
}

#html-about-us .director {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0.50em 0; /*8/16=0.50*/
}

#html-about-us .director-info{
  padding-left: 0.50em; /*8/16=0.50*/
}

#html-about-us .director-name,
#html-about-us .director-position {
  padding: 0;
}

#html-about-us .mission-statement{
  margin: 1em 0 1em 0; /*16/16*/
  padding: 0;
}

#html-about-us .list-objectives{
  margin: 0 0 0 1.75em; /*28/16=1.75*/
}

#html-about-us .list-objectives li{
  line-height: 1.444em; /*24px/18=1.4444*/
  display: list-item;
  list-style-type: circle;
  padding: 0.444em 0 0.444em 0; /*8/18=0.4444*/
}

#html-about-us #container-constitution {
  padding: 0;
}

#html-about-us .btn-articles{
  background-color: rgb(70, 166, 175);
  text-align: left;
  margin: 0.222em 0; /*4/18=0.2222*/
  padding: 0.50em 1em; /*9/18=0.50*/
  width: 100%;
}

#html-about-us #article1-content,
#html-about-us #article2-content,
#html-about-us #article3-content,
#html-about-us #article4-content,
#html-about-us #article5-content,
#html-about-us #article6-content,
#html-about-us #article7-content,
#html-about-us #article8-content,
#html-about-us #article9-content{
  padding: 1em; /*16/16*/
  display: none;
}

#html-about-us .article-subsections{
  display: flex;
}

#html-about-us .article-subsections p{
  font-size: 0.889em; /*16/18=0.8888*/
  padding: 0;
  margin: 0.50em 0;
}

#html-about-us .numbers-container{
  padding: 0 0.90em 0 0;
  max-width: 0.57em;
}

#html-about-us .numbers{
  padding: 0;
  margin: 0.50em 0; /*8/16=0.50*/
}

#html-about-us #section-objectives, #section-constitution{
  margin: 2.25em 0 1em 0; /*36/16=2.25 AND 16/16=1*/
}

/*MEMBERSHIP PAGE*/
#sec, #name, #email, #concern, #submit{
  width: 70%;
  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
  box-sizing: border-box; 
}

@media only screen and (min-width: 600px) {
  /* Header and Navigation - Tablet */
  nav ul li {
    display: inline;
    margin: 0 10px;
  }

  /* HomePage - Tablet */
  #about-us-content{
    width: 94%;
    max-width: 50em; /*900/18=50*/
  }
  .home-image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .page-content .home-image-caption img {
    width: 400px; 
    height: 300px; 
  }

  /* Page Content - Tablet */
  .page-content {
    max-width: 75%;
    margin: 0 auto;
    padding: 20px;
  }

  /* Membership Container and Forms - Tablet */
  .membership-container {
    display: flex;
    justify-content: space-between;
  }

  .membership-info {
    flex: 1;
  }

  .container {
    flex: 1;
    margin-left: 20px;
  }

  a:hover {
    color: #2c3e50;
  }

  /* Info Blocks - Tablet*/
  #sec, #name, #email, #concern, #submit{
    width: 80%;
    }
  .membership-info, .container, .payment-info {
    padding: 100px 50px;
    margin: 20px 0;
  }

  /* About Us - Tablet */
  #html-about-us #board-of-directors{
    display: flex;
    flex-wrap: wrap;
  }

  #html-about-us .director-photo{
    width: 60%;
    max-width: 100%;
  }

  #html-about-us .director{
    display: block;
    text-align: center;
    margin: 1em auto 0 auto;
  }

  #html-about-us .director-info{
    padding: 0;
  }

  #html-about-us .list-objectives{
    margin: 0 0 0 3em; /*54/18=3*/
  }

  #html-about-us #about-us-content{
    width: 95%;
  }
  /*****Journal Page Styles*****/
  .float{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
}

@media only screen and (min-width: 992px) {
  h1, h2 {
    font-size: 1.728em;
  }
  h3 {
    font-size: 1.44em;
  }
  p {
    font-size: 1.20em; /*19.2/16=1.20*/
    line-height: 1.25em; /*24/19.2=1.25*/
  }

  /* Journal Desktop */
  #html-journal main {
    width: 95%;
    margin: auto;
  }

  #html-journal div.container {
    padding: 1em;
    box-sizing: border-box;
    clear: both;
  }

  #html-journal div.journal-image-container {
    display: block;
  }

  #html-journal div.float div.journal-image-container {
    float: left;
    width: 25%;
  }

  #html-journal div.float div.container {
    float: left;
    clear: none;
    width: 75%;
  }
}
