/*body {*/
/*  border: 1px solid black;*/
/*}*/

/*h1, h2, h3, p, .navigation-bar {*/
/*  border: 1px solid black;*/
/*}*/

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

h1 {
  padding-top: 120px;
  padding-bottom: 120px;
  font-size: 80px;
  font-weight: normal;
  margin-block-start: 0em;
  margin-block-end: 0em;
  font-family: 'Optima', sans-serif;
  /*border: 1px solid black;*/
  text-align: center;
}

.main-title {
  padding-top: 0px;
}

body {
  color: #414141; /*dark gray*/
  background-color: #f4f4f4; /*light gray
  /*the px is for pixel, em is pronounced "m" and means the current font size (starting with 1)*/
  font-size: 18px;
  margin-bottom: 100px;
}

img {
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}


.title-line {
  border-top: 2px solid #333; /* Thickness and color of the line */
  margin: 0px 60px 190px 60px; /* Spacing above and below the line */
}
/*.title-section {*/
  /*background-color: #c5c5c5; */
/*}*/

.menu-container {
  color: #fff;
  background-color: #5995DA;  /* Blue */
  padding: 20px 0;
}

.navigation-bar {
  margin-bottom: 50px;
}

.title {
  margin-left: 40px;
  margin-right: 40px;
}

.menu {
  border: 1px solid #fff; 
  width: 900px;
}

h2, p, h3, h4 {
  font-weight: normal;
  font-family: 'Optima', sans-serif;
  /*border: 1px solid #5D6063;*/
  text-align: left;
  box-sizing: border-box;
  padding: 20px 0 0 0;
}

h3 {
  font-weight: bold;
  padding-top: 100px;
}

.navigation-bar {
  /*border: 1px solid #5D6063;*/
  text-align: center;
}


em {
  font-size: smaller;
}

p {
  margin: 0px auto;
}

h2 {
  margin: 0px auto;
  padding: 50px 0px;
}

a, li {
  text-decoration: none;
  font-family: 'Optima', sans-serif;
}

ul {
  list-style-type: none;
}

.page {
  width: 800px;
  margin: 0 auto;
}

/* this is for links, visited links, hovering, and clicking on links*/
a:link {
  color: #414141;
  text-decoration: none;
}
a:visited {
  color: #414141;
}
a:hover {
  color: #91969b;
  text-decoration: none;
}
a:active {
  color: #8497ab;
}

.button:link, .button:visited { 
  text-decoration: none;   
  font-family: andale mono, monospace;
  color: #414141;  
  background-color: #f5f5f5;
  font-weight: normal;
  padding: 20px;
  text-align: center;
  /*border: 1px solid #5D6063;*/
  /*border-radius: 5px;*/

  width: 200px;
  margin: 0px auto;
}

.button:hover, .button:visited:hover {
  color: #aaa;
}

html {
  scroll-behavior: smooth;
}




/* SECTIONS WITH LIST */

.section-with-list h2 {
    padding: 0px;
    margin: 0px;
    font-size: 40px;
}

.section-list-description {
  display: flex;
  flex-direction: column;
  margin-left: 80px;
  margin-right: 50px;
}

.section-list-description h2, 
.section-list-description h3 {
  flex-basis: 100%;
  box-sizing: border-box;
  display: block;
}

.list-description {
  margin: 20px;
}

.section-with-list {
  box-sizing: border-box;
}

.section-with-list h3 {
    padding-top: 0px;
    margin-bottom: 20px;
    font-weight: normal;
}

.list-section {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-left: 80px;
  margin-right: 80px;
  margin-bottom: 60px;
  border-radius: 5px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.list-section p{
  margin-left: 0px;
  margin-right: 0px;
}

.list-section h2 {
  font-size: 40px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.list-section p {
  font-size: 20px;
  width: 500px;
}

.list-img {
  width: 500px;
  height: auto;
  min-width: 250px; 
  max-width: 500px;
  margin: 20px;
}

.section-list-line {
  border-top: 3px solid #c5c3c3; /* Thickness and color of the line */
  margin: 40px 80px 40px 80px;
}

.section-list-description {
  margin-top: 100px;
}

@media (max-width: 1350px){
  .list-section {
    max-width: 500px;
  }
  .section-list-description {
    margin-left: 50px;
    margin-right: 50px;
  }
  .center-list-section {
    display: flex;
    justify-content: center;
    margin-left: 50px;
    margin-right: 50px;
  }
}

@media (max-width: 550px){
  .list-section {
    max-width: 350px;
  }
  .section-list-description {
    margin-left: 20px;
    margin-right: 20px;
  }
  .center-list-section {
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-right: 20px;
  }

  .title {
    font-size: 50px;
  }
}
