/************************************************************************************************************************

  Fonts
  
***********************************************************************************************************************/
@font-face {
  font-family: "atkinson";
  src: local("/assets/fonts/Atkinson-Hyperlegible-Regular-102a.woff2"),
    url("/assets/fonts/Atkinson-Hyperlegible-Regular-102a.woff2")
      format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "atkinson-bold";
  src: local("/assets/fonts/Atkinson-Hyperlegible-Bold-102a.woff2"),
    url("/assets/fonts/Atkinson-Hyperlegible-Bold-102a.woff2") format("woff2");
  font-display: swap;
}

/************************************************************************************************************************

  Generals

***********************************************************************************************************************/
body {
  color: #000000;
  background: #86a6ac;
  overflow: auto;
  font-family: "atkinson", sans-serif;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

body a {
  color: #000000;
  text-decoration: underline;
}

::selection {
  color: white;
  background: #4a6a70;
}

a {
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

p {
  font-size: 1.1rem;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  hyphens: auto;
}

/***********************************************************************************************************************

  Header

***********************************************************************************************************************/
header {
  font-family: "atkinson-bold";
  width: 100%;
  padding-bottom: 0px;
  padding-top: 0px;
  padding-left: 50px;
  padding-right: 50px;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(134, 166, 172, 0.98);
  color: #000000;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  z-index: 1;
}

#logo {
  width: 10%;
  font-size: 24px;
  color: #86a6ac;
}

#logo img {
  width: 100%;
  max-width: 50px;
  height: auto;
}

#navigation {
  width: 100vw;
  align-items: right;
  text-align: right;
}

#navigation a {
  color: inherit;
  text-decoration: none;
  padding: 5px 10px;
  border-bottom: 2px solid transparent;
  margin-left: 4vw;
  transition: 0.4s ease-in-out;
}

#navigation a:hover {
  border-bottom: 2px solid #000000;
}


/***********************************************************************************************************************

  Text

***********************************************************************************************************************/
h1#title {
  font-family: "atkinson-bold";
  font-size: 8rem;
  margin-left: 3vw;
  margin-top: 0;
  padding-top: 100px;
}

h2#disc-heading {
  text-align: left;
  font-family: "atkinson-bold";
  font-size: 3rem;
  margin-left: 3vw;
  margin-right: 3vw;
}

h3#disc-heading {
  text-align: left;
  font-family: "atkinson-bold";
  font-size: 2rem;
  margin-left: 3vw;
  margin-right: 3vw;
}

h3#best-title {
  text-align: left;
  font-family: "atkinson-bold";
  font-size: 2rem;
  margin-left: 22vw;
  margin-right: 3vw;
}

h4#title-link {
  text-align: left;
  font-family: "atkinson-bold";
  font-size: 1.5rem;
  margin-left: 22vw;
  margin-right: 3vw;
}

p#noResults {
  text-align: left;
  font-family: "atkinson-bold";
  font-size: 2rem;
  margin-left: 22vw;
  margin-right: 3vw;
}

#best-disc {
  margin-bottom: 0vh;
  margin-left: 22vw;
  margin-right: 22vw;
  width: 50em;
}

p#date {
  text-align: left;
  font-family: "atkinson-bold";
  font-size: 1rem;
  margin-left: 22vw;
  margin-right: 3vw;
}

#best-disc {
  margin-bottom: 0vh;
  margin-left: 22vw;
  margin-right: 22vw;
  width: 50em;
}

#writing-content {
  margin-bottom: 0vh;
  margin-left: 22vw;
  width: 50em;
}

#body-header-left {
  text-align: left;
  font-family: "atkinson-bold";
  margin-left: 20vw;
  margin-right: 20vw;
}

details {
  margin-left: 22vw;
  margin-right: 22vw;
  width: 50em;
}

summary {
  font-family: "atkinson-bold";
  font-size: 1rem;
}

summary:hover {
  cursor: pointer;
  text-decoration: underline;
}

a:hover {
  cursor: pointer;
  text-decoration: underline;
  color: #4a6a70;
  transition: 0.2s ease-in-out;
}

/***********************************************************************************************************************

  Buttons

***********************************************************************************************************************/

.button-container {
  text-align: center;
}

button {
  background-color: transparent;
  font-family: "atkinson-bold";
  color: black;
  padding: 12px 24px;
  border: black;
  border-radius: 50px;
  cursor: pointer;
  margin: 4px;
  border-color: black;
  border-style: solid;
  transition: 0.4 ease-in-out;
}

button:hover {
  background-color: #425b61;
  transition: 0.4 ease-in-out;
}

button#go-button:hover {
  color: #425b61;
}

.button-container {
  text-align: center;
}

button {
  background-color: transparent;
  color: black;
  padding: 12px 24px;
  border: black;
  border-radius: 10px;
  cursor: pointer;
  margin: 4px;
  border-color: black;
  border-style: solid;
  transition: 0.4 ease-in-out;
}

button:hover {
  background-color: #425b61;
  transition: 0.4 ease-in-out;
}

#go-button {
  font-family: "atkinson-bold";
  font-size: 3rem;
  background: #86a6ac;
  color: #000000;
  border: 4px solid #000000;
  border-radius: 80px;
  margin-left: 50px;
  transition: 0.4s ease-in-out;
  border-color: #000000;
  padding: 10px 20px;
}

#go-button:hover {
  background-color: #425b61;
}

.searchContainer {
  margin-top: 30px;
  margin-bottom: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

input#searchInput {
  width: 80vw;
  margin-left: 3vw;
  margin-right: 3vw;
  padding: 12px 3vw;
  box-sizing: border-box;
  border-color: #000000;
  font-size: 16px;
  border-radius: 40px;
  background-color: #86a6ac;
  transition: 0.4s ease-in-out;
}

#searchInput:focus {
  outline: none;
  background-color: #667f84;
}

/*
  Media icons
  */
.social {
  color: #000000;
  font-size: 25px;
  padding: 10px 10px;
  border-radius: 50%;
  background: transparent;
  transition: 0.4s ease-in-out;
  font-weight: bold;
  margin: 0px 8px;
}

.social:hover {
  cursor: pointer;
  color: #fff;
  background: #000000;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.8);
}

/***********************************************************************************************************************

  Images

**************************************************************************************************************************/

#sub-image {
  margin-left: 22vw;
  width: 50%;
  height: auto;
}

#credit-card {
  margin-left: 22vw;
  width: 200px;
  height: 130px;
  border-radius: 10px;
}

#credit-card-vertical {
  margin-left: 22vw;
  width: 130px;
  height: 200px;
  border-radius: 10px;
}

/***********************************************************************************************************************
  
  Footer

**************************************************************************************************************************/
footer {
  font-family: "atkinson-bold";
  bottom: 0;
  background: rgba(134, 166, 172, 0.98);
  color: #000000;
  margin-top: 100px;
  padding-left: 3vw;
  padding-right: 3vw;
  padding-bottom: 20px;
  z-index: auto;
}

/***********************************************************************************************************************
  
  Other

**************************************************************************************************************************/

::placeholder {
  font-family: "atkinson", sans-serif;
  color: #000000;
}

button:focus {
  outline: none;
}

.invisible {
  visibility: hidden;
}

hr {
  margin-left: 3vw;
  margin-right: 3vw;
}

/***********************************************************************************************************************
  
  Back-to-top function

**************************************************************************************************************************/

#back-to-top {
  display: none;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  transition: all 0.3s ease-in-out;
}

#back-to-top:hover {
  cursor: pointer;
  color: #fff;
  background: #000000;
}

/***********************************************************************************************************************
  
  Responsiveness

**************************************************************************************************************************/

@media screen and (max-width: 900px) {
  .circle-button {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (min-width: 901px) {
  .circle-button {
    display: none;
  }
}

.circle-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(80, 80, 80);
  transition: all 0.3s ease-in-out;
  z-index: 3;
}

.circle-button:hover {
  cursor: pointer;
  /* Change the mouse cursor to a pointer on hover */
}

.circle-button .line {
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: white;
  transition: transform 0.3s ease-in-out;
}

.circle-button .line:nth-child(1) {
  transform: translateY(-3px);
}

.circle-button .line:nth-child(2) {
  transform: translateY(3px);
}

.circle-button.close .line:nth-child(1) {
  transform: rotate(45deg) translate(0px, 0px);
}

.circle-button.close .line:nth-child(2) {
  transform: rotate(-45deg) translate(0px, 0px);
}

.menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 250px;
  height: 300px;
  background-color: rgba(80, 80, 80, 0.98);
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  border-radius: 10px;
  transform-origin: bottom right;
  transform: scale(0);
  z-index: 2;
}

.menu.show {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 10px;
}

.menu button {
  font-size: 14px;
  font-family: "atkinson-bold", sans-serif;
  color: #86a6ac;
  background: transparent;
  border: 3px solid #86a6ac;
  padding: 8px 2px;
  width: 100%;
  border-radius: 80px;
  font-weight: bold;
  transition: 0.4s ease-in-out;
  text-align: center;
  align-items: center;
  z-index: 3;
}

.menu button:last-child {
  margin-bottom: 0;
}

.menu button:hover {
  cursor: pointer;
  color: #fff;
  background: #86a6ac;
  cursor: pointer;
}

.menu ul li#logo {
  align-items: center;
  text-align: center;
  font-size: 20px;
  font-family: "atkinson-bold", sans-serif;
  color: #86a6ac;
  margin-bottom: 20px;
  padding-left: 74px;
  padding-top: 10px;
}

/*
    Mobile version
    */
@media (max-width: 900px) {
  /*
      Main
      */
  body {
    max-width: 100%;
  }

  * {
    max-width: 100%;
  }

  p {
    font-size: 12px;
  }

  /*
      Index
      */
  h1#first-body-header {
    margin-block-start: 0px !important;
    margin-top: 100px;
    padding-top: 50px;
    text-align: center;
    font-family: "atkinson-bold";
    font-size: 4rem;
  }

  h1#body-header {
    margin-block-start: 0px !important;
    margin-top: 100px;
    padding-top: 50px;
    text-align: center;
    font-family: "atkinson-bold";
    font-size: 4rem;
  }

  h2#body-header {
    text-align: center;
    font-family: "atkinson-bold";
    font-size: 30px;
  }

  header {
    display: none;
  }

  #header table tr td {
    width: 100%;
    display: block;
    text-align: center;
    padding: 15px 0px;
  }

  #hello h1 {
    font-size: 40px;
    word-wrap: break-word;
  }

  #photos {
    columns: 1;
    column-gap: 0%;
  }

  #photos img {
    margin: 2% 0px;
  }

  #photos img:hover {
    transform: scale(1);
    cursor: pointer;
  }

  #careerImage {
    display: none;
  }

  #entry {
    border: 0px;
    display: flex;
    flex-direction: column;
  }

  table#entry tr td#hello {
    max-width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  table#entry tr td#rightImageCell {
    display: none;
  }

  table#entry tr td#careerImageCell {
    display: none;
  }

  #entry tr td {
    text-align: center;
  }

  #hello {
    height: 100vh;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #hello table tr td {
    text-align: center;
  }

  .main_btn {
    padding: 6px 30px;
    width: 25%;
    margin: 4vh auto;
    box-shadow: 0px 10px 20px rgba(128, 159, 255, 0.8);
    background: transparent;
    color: #fff;
    text-align: center;
  }

  .main_btn:hover {
    box-shadow: 0px 10px 40px rgba(128, 159, 255, 0.8);
    cursor: pointer;
  }

  /*
      Sections
      */
  #section-list {
    width: 82vw;
    padding: 6vh 8vw;
    font-weight: normal;
  }

  #section-list h1 {
    padding: 5px 0px;
    text-align: center;
    font-weight: bolder;
  }

  div.sectbubble {
    margin-left: 1vw;
    margin-right: 1vw;
    display: block;
    flex-wrap: wrap;
    border-radius: 25px;
    background-color: #4e6097;
    padding: 5vh 8vw;
  }

  div.sectbubble h2 {
    font-family: "atkinson-bold";
  }

  div.sectbubble div.section {
    width: fit-content;
    padding-top: 1vh;
    padding-bottom: 1vh;
  }

  .section {
    width: calc(50% - 10px);
    height: calc(50% - 10px);
    margin: 5px;
    border-radius: 15px;
  }

  .hobbyContainer {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 1vh 8vw;
  }

  #contact table tr td {
    width: 100%;
    display: block;
    padding-top: 50px;
  }

  #inner_table tr td {
    padding: 10px 0px !important;
  }

  table#entry tr td.contact-form {
    display: none;
  }

  #contact form input {
    width: 90%;
  }

  #contact form textarea {
    width: 90%;
  }

  #hobbies h1 {
    width: 100%;
  }

  #bio h1 {
    width: 100%;
  }

  #contact h1 {
    width: 100%;
  }

  #navigation a {
    color: #ffffff;
  }

  .hobbyContainer {
    flex-direction: column;
  }

  .timeline {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 770px) {
  h1#title {
    font-family: "atkinson-bold";
    font-size: 7rem;
    margin-left: 3vw;
    margin-top: 0;
    padding-top: 100px;
  }
}

@media (max-width: 550px) {
  h1#title {
    font-family: "atkinson-bold";
    font-size: 5rem;
    margin-left: 3vw;
    margin-top: 0;
    padding-top: 100px;
  }
}
