/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Style the tab */
.tab {
  overflow: hidden;

  display: flex;
  flex-flow: row wrap;
  /* align-content: flex-start; */
  justify-content: center;
  margin-left: 10px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  flex: 1;
  /* flex-grow: 0; */
  min-height: 250px;
  min-width: 250px;

  background-color: #525252;
  color: #525252;
  font-size: 1.5rem;

  display: flex;
  justify-content: flex-start;
  margin-right: 10px;
  margin-top: 10px;

  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  text-align: left;
  /* margin: 5px; */
}

/* @media screen and (max-width: 992px) {
  .tab button {
    font-size: 1.5rem;
  }
} */

.inline-title {
  flex: 1;
  min-height: 250px;
  /* width: 80%; */
  min-width: 250px;
  background-color: #525252;
  color: white;
  font-size: 2rem;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  text-align: left;
  margin-right: 1rem;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  /* width: 50%; */
  padding: 3rem 6rem;
  background-color: #f1f1f1;
  color: #525252;
  /* margin: 0 10px; */
  margin-right: 10px;
  margin-top: 10px;

  border-top: none;
  position: relative;
  font-size: 1.5rem;
  line-height: 1.75rem;
}

.foot-notes {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 2rem;
  font-weight: bold;
}

.last {
  visibility: hidden;
}

.container {
  max-width: 80%;
}

@media screen and (max-width: 600px) {
  .tab {
    display: flex;
    flex-wrap: wrap;
  }
  .tab button {
    background-color: #525252;
    color: #525252;
    font-size: 1.25rem;
    /* flex-grow: 1; */
    min-width: 200px;

    display: flex;
    justify-content: flex-start;

    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    text-align: left;
  }
  .tabcontent {
    display: none;
    padding: 2rem 2rem;
    background-color: #f1f1f1;
    color: #525252;
    min-width: 200px;

    border-top: none;
    position: relative;
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .inline-title {
    flex: 1;
    width: 80%;
    min-height: 50px;
    min-width: 10px;

    background-color: #525252;
    color: white;
    font-size: 1.25rem;
    float: none;

    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    text-align: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
  }
}
