@font-face {
    font-family: "open-sans";
    src: url("./OpenSansVariableFont.ttf") format("truetype");
  }
  * {
    box-sizing: border-box;
  }
  body,
  html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
  }
  .aspect-container {
    position: relative;
    border-style: solid;
    border-color: #164c5a;
    border-radius: 10px;
    background-color: white;
    width: 100vw;
  }
  .titleHeader {
    font-size: 1.6rem;
    font-family: "open-sans", Arial, Helvetica, sans-serif;
    font-weight: 500;
    display: inline-block;
    padding: 0.4rem;
    padding-left: 1rem;
    color: white;
  }
  .topBar {
    min-height: 2.2rem;
    background-color: #164c5a;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .buttonsBar {
    display: flex;
    gap: 1rem;
    margin-right: 1em;
  }
  .topButton {
    order: 2;
    margin: 0.1em;
    font-size: 2em;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    margin-bottom: auto;
    background-color: #fff;
    color: #164c5a;
    font-weight: bolder;
    padding: 0;
    font-family: "Courier New", Courier, monospace;
    transition-duration: 500ms;
    border-style: solid;
    outline: black;
    right: 15px;
  }
  .topButton:hover {
    background-color: #b7e6ec;
    color: #3a3a3a;
  }
  .topButton:active {
    transition-duration: 250ms;
    background-color: #90e6f1;
    color: #000;
    scale: 0.9;
  }
  .topButton:focus-visible {
    background-color: #b7e6ec;
    color: black;
  }
  .main-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    margin-top: 1rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: fit-content;
  }
  .swal2-html-container {
    font-family: "open-sans", Arial, Helvetica, sans-serif;
  }
  .swal2-title {
    font-family: "open-sans", Arial, Helvetica, sans-serif;
  }

  #subTitle {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: "open-sans", Arial, Helvetica, sans-serif;
    margin-bottom: 1rem;
  }

  #mainContent{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    
    width:90%;
    gap: 1rem;
    height: fit-content;
  }

  .puzzleContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    border-style: solid;
    border-radius: 15px;
    background-color: #164c5a;
  }

  .titlePuzzle{
    font-size: 1.5rem;
    font-weight: 500;
    font-family: "open-sans", Arial, Helvetica, sans-serif;
    color: white;
  }

  .iframePuzzle{
    width: 100%;
    aspect-ratio: 1/1;
    border-style: solid;
    border-radius: 15px;
    background-color: white;
  }
  @media screen and (max-width: 1200px) {

    .titleHeader {
        font-size: 1.2rem;
    }
    #subTitle {
        font-size: 1.2rem;
        margin-bottom: 0rem;
    }
    .main-container{
      margin-top: 0;
    }

    .titlePuzzle{
      font-size: 1.2rem;
    }
  }
  @media screen and (max-width: 800px) {

    .titleHeader {
        font-size: 0.9rem;
    }
    #subTitle {
        font-size: 0.9rem;
        margin-bottom: 0rem;
    }
    .main-container{
      margin-top: 0;
    }
    .puzzleContainer{
      width: 100%;
    }
    .titlePuzzle{
      font-size: 1rem;
    }
  }

