.btn {
  appearance: none;
  padding: 10px 20px;
  display: flex;
  background: var(--brand-color);
  border: 1px solid var(--brand-color);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;

  &:hover {
    background: var(--brand-color-hover);
    border: 1px solid var(--brand-color-hover);
  }
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
form.search {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 20px;
  margin: var(--padding) 0;

  .field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    
    label {
      font-size: 16px;
      font-weight: 500;
    }
  }

  .actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-end;
  }
}
.graphics {
  display: grid;
  max-width: 100%;
  /* grid-template-columns: repeat(3, 1fr); */
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  column-gap: 20px;
  row-gap: 20px;
  overflow-x: hidden;

  &.size-400 {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  }

  .graphic {
    padding: 10px;
    border: 1px solid #AAA;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;

    &-70 {
      height: 70px;
    }

    &-400 {
      height: 400px;
    }

  }
}

.graphic {

  h1 {
    max-width: calc(100% - 100px);
    margin-bottom: 40px;
  }

  .images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
  }

  .image {
    padding: 10px;
    border: 1px solid #AAA;
    background: white;

    img {
      background: white;
    }
    h3 {
      margin: 0; 
      padding: 0;
      margin-bottom: 20px;
    }
  }

  h2 {
    margin-top: 40px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-color);
    margin-bottom: 20px;
  }

  .image-svg {
    display: inline-flex;

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

  .actions {
    padding: 10px 0;
    display: flex;
    gap: 30px;
  }
}

.image-70 {
  max-width: 70px;
  max-height: 70px;
}

.image-100 {
  max-width: 100px;
  max-height: 100px;
}

.image-200 {
  max-width: 200px;
  max-height: 200px;
}

.image-400 {
  max-width: 400px;
  max-height: 400px;
}

.image-1000 {
  max-width: 1000px;
  max-height: 1000px;
}
.header {
  display: flex;
  justify-content: flex-end;

  .logout {
    position: absolute;
    top: var(--padding);
    right: var(--padding);
    min-width: 45px;
  }
}
.login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - var(--padding)*2);
  
  .login-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
  }

  .error {
    color: #a50203;
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
  }

  .brand-name {
    font-size: 24px;
    font-weight: 500;
    padding: 10px;
    margin-bottom: 20px;
  }

  .actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .login-button {
    appearance: none;
    border: 1px solid #ccc;
    background: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    min-height: 40px;
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    ;
    &:hover {
      background: #eee;
      border: 1px solid #bbb;
    }

    svg {
      margin-right: 10px;
    }

    span {
      font-size: 16px;
      font-weight: 500;
      width: 100%;
    }
  }
}

.menu {
  list-style: none;

  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  
  margin: 20px 0;
  padding: 0;

  li {
    margin:0;
    padding: 0;

    a {
      color: var(--brand-color);
      text-decoration: none;
      font-size: 18px;
      font-weight: 500;
      transition: all 0.2s ease-in-out;
    
      &:hover, &:active, &:focus, &.active {
        border-bottom: 2px solid var(--brand-color);
      }
    }
  }
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  pointer-events: none;
  background: var(--bg-color);
  transition: opacity .3s ease-in-out;
  opacity: 0;
  overflow: auto;

  .content {
    padding: var(--padding);
    overflow: auto;
    min-height: 110vh; // always has a scrollbar to prevent jumping
  }

  .close {
    position: absolute;
    top: var(--padding);
    right: var(--padding);
    min-width: 45px;
    z-index: 110;
    pointer-events: none;
  }

  &.is-visible {
    opacity: 1;
    pointer-events: auto;
  
    .close {
      pointer-events: auto;
    }
  }
}

.skin-tones td {
  padding: 10px;
  text-align: center;
  min-width: 180px;
}

.skin-tones th, .skin-tones  h2 {
  font-weight: bold;
  font-size: 18px;
}
.status-page {
  .status {
    th, td {
      text-align: left;
      padding: 10px 20px 10px 0;
    }

    .info {
      opacity: 0.6;
    }
  }

  .actions {
    padding: 20px 0;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
  --brand-color: #E56220;
  --brand-color-hover: #CE581C;
  --bg-color: #DDD;
  --padding: 40px;
}

body {
  background: var(--bg-color);
  margin: 0;
  padding: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

main {
  padding: var(--padding);
}

h1 {
  margin-top: 0px;
  margin-bottom: 0px;
}
