/* START - Mobile Devices (portait view) */
@media (orientation: portrait) {
  body,
  html {
    font-size: medium;
    font-family: "Inter", sans-serif;
  }

  .test-flex {
    flex-direction: column;
  }

  .hstack {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
  }

  .vstack {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-self: stretch;
  }

  body {
    font-size: 16px;
    padding: 10px;
  }

  .container {
    width: 100%;
    padding: 0 15px;
  }

  .nav {
    margin: 3px;
    padding: 3px;
    flex-direction: row;
  }
  .hide-on-mobile {
    display: none;
  }

  #bottom-img {
    display: none;
  }

  #betty-img {
    border: solid rgb(39, 175, 29) 3px !important;
  }

  #footer-div {
    float: left;
  }

  #footer-div-bb {
    display: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  footer > div {
    text-align: left;    
  }
}
/* END - Mobile Devices (portait view) */

/* START - Mobile Devices (landscape view) */
@media (orientation: landscape) {
  p {
    max-width: 800px;
  }

  img {
    height: 100%;   
    width: auto;    
  }
 }
/* END - Mobile Devices (landscape view) */

html {
  height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: green;
}

div {
  background-color: green;
}

nav {
  color: rgb(84, 239, 84);
}

img {  
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;

}

a {
  text-decoration: none;
}

a:hover {
  background-color: lightgreen;
  border-radius: 7px;
}

li {
  font-weight: bolder;
}

p {
  color: antiquewhite;
  line-height: normal;
  letter-spacing: normal;
  font-size: 15px;
  font-style: italic;
  font-weight: bold;
}

object,
iframe {
  border: #2ea44f solid 5px;
}

#anchor-files {
  a {
    font-weight: normal;
    color: black;
  }
  a:hover {
    display: inline-block;
    background-color: lightgreen;
    border-radius: 5px;
    padding: 5px;
    font-weight: bold;
  }
}

#menu-files {
  a:hover {
    font-weight: bold;
  }
}

/* START - Style all Font Awesome icons (social media icons) */
.fa {
  border-radius: 20%;
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

.fa:hover {
  border: black solid 4px;
  opacity: 0.7;
}
/* END - Style all Font Awesome icons (social media icons) */

.brand-text {
  color: green;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: 0;
  border-radius: 0.25rem;
  display: none;
}

.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 5px 5px 0;
  border-right-color: black;
  margin-top: 5px;
  margin-left: -10px;
}

.right-arrow .dropdown-submenu > a:after {
  /* Custom styling for right-pointing arrow */
  border-left-width: 0;
  border-right-width: 5px;
  /* ... other styling ... */
}

.dropdown-toggle::after {
  -ms-transform: rotate(0deg);
  /* IE 9 */
  -webkit-transform: rotate(0deg);
  /* Chrome, Safari, Opera */
  transform: rotate(0deg);
}

.dropdown-toggle {
  -ms-transform: rotate(0deg);
  /* IE 9 */
  -webkit-transform: rotate(0deg);
  /* Chrome, Safari, Opera */
  transform: rotate(0deg);
}

.dropdown-item::after {
  font-weight: bold;
  -ms-transform: rotate(-180deg);
  /* IE 9 */
  -webkit-transform: rotate(-180deg);
  /* Chrome, Safari, Opera */
  transform: rotate(-180deg);
}

#img-hover {
  max-width: 350px;
  max-height: 350px;
  overflow: visible;
}

#img-hover img {
  width: 100%;
  height: auto;
  object-fit: scale-down;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.5s ease;
  border: solid black 3px;
  border-radius: 5px;
}

#img-hover img:hover {
  transform: scale(2, 2);
}

/* START - Newsletter page button styling */
.button-3 {
  width: 150px;
  appearance: none;
  background-color: #2ea44f;
  border: 3px solid black;
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, 0.1) 0 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin: 5px;
  padding: 6px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
}

.button-3:focus:not(:focus-visible):not(.focus-visible) {
  box-shadow: none;
  outline: none;
}

.button-3:hover {
  background-color: #2c974b;
}

.button-3:focus {
  box-shadow: rgba(46, 164, 79, 0.4) 0 0 0 3px;
  outline: none;
}

.button-3:disabled {
  background-color: #94d3a2;
  border-color: rgba(27, 31, 35, 0.1);
  color: rgba(255, 255, 255, 0.8);
  cursor: default;
}

.button-3:active {
  background-color: #298e46;
  box-shadow: rgba(20, 70, 32, 0.2) 0 1px 0 inset;
}
/* END - Newsletter page button styling


/* START - footer styling */

footer {
  margin-top: auto;
  background-color: rgb(53, 176, 53);
  opacity: 0.8;
  border: solid black 0.3rem;
}

footer > div {
  margin: 10px;
}

/* Clearfix to prevent issues with subsequent elements */
footer .clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Clear the float to prevent container collapse */
footer .container::after {
  content: "";
  display: table;
  clear: both;
}
/* END - footer styling */
