@import 'forms.css';
@import 'tables.css';

* {
  word-break: break-word;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  color: #4a4a4a;
}

img {
  border-radius: 10px;
  margin: 2vw 0;
}

a {
  color: #485fc7;
  cursor: pointer;
  text-decoration: none;
}

iframe {
  width: 100%;
  border: 0;
  aspect-ratio: 16/9;
}

p, li {
  line-height: 1.5;
  font-weight: 400;
}

p:last-child {
  margin-bottom: 0;
}

p:first-child {
  margin-top: 0;
}

ul, ol {
  padding-left: 20px;
}

/* ========== HEADERS ========== */

h1, h2, h3, h4, h5, h6 {
  color: #363636;
  text-align: center;
  font-weight: 600;
  margin: 0;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

:is(h1, h2, h3, h4, h5, h6):not(:last-child) {
  margin-bottom: 1.5rem;
}

:is(h1, h2, h3, h4, h5, h6):not(:first-child) {
  margin-top: 1.5rem;
}

/* ========== CLASSES ========== */

.main-box {
  align-content: center;
  padding: 4vh 0;
}

.box {
  background-color: rgb(215, 238, 245);
  padding: min(30px, 1.5vw);
  border-radius: 10px;
  margin: 2vw;
  box-shadow: 0 .5em 1em -.125em rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.02);
}

.box:not(:last-child) {
  margin-bottom: 1.5rem;
}

.column {
  margin: 0 auto;
  width: 60vw;
}

.column .box {
  background-color: rgb(240, 240, 240);
}

.main-box:has(.vertical-center) {
  margin: auto 0;
}

.horizontal-center {
  display: block;
  text-align: center;
}

.horizontal-flex {
  display: flex;
}

.horizontal-flex * {
  flex-grow: 1;
  margin-bottom: 0 !important;
  margin-top: 0;
}

.horizontal-flex *:not(:last-child) {
  margin-right: 0;
}

/* ========== LANDING ========== */

.landing {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.landing-left {
  width: 60vw;
}

.landing-right {
  width: 38vw;
  margin-right: 2vw;
}

.tutorials {
  display: flex;
  flex-direction: row;
  gap: 10%;
}

.tutorials > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 45%;
}

/* ========== NAVBAR ============ */

nav {
  background-color: rgb(246, 245, 255);
  display: flex;
  flex-direction: row;
  box-shadow: 0 0px 1px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
	align-items: center;
}

nav div a {
  display: flex;
  align-items: center;
  color: #4a4a4a;
  line-height: 1.5;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border: 0;
}

nav a:not(:has(button)):not(:has(h4)):hover {
	background-color: #f5f5f5;
	color: #485fc7;
}

nav div {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.navbar-end {
  margin-left: auto;
}

.navbar-end > * {
  padding: 0.5rem 0.5rem 0.5rem 0;
}

.icon {
  padding: 0.75rem;
  background-color: unset;
  display: inline-flex;
  align-items: center;
}

.icon img {
  width: 32px;
  height: 32px;
  margin: auto 0;
}

/* ========== NOTIFICATION ============ */

.notification {
  max-width: 343px;
  min-width: 5em;
  position: fixed;
  right: 1vw;
  bottom: 1vw;
  z-index: 10;
  padding: 1.25vw;
  border-radius: 10px;
}

.notification p {
  margin: 0 5px;
  line-height: unset;
}

.notification .delete {
  position: absolute;
  display: block;
  text-wrap: wrap;
  top: 5px;
  right: 5px;
  z-index: 1;
  margin-left: 0.5vw;
  width: unset;
  height: unset;
  line-height: 1;
}