@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");

* {
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-weight: 1rem;
  font-style: normal;
  --borderWidth: 2px;
  --height: 12px;
  --width: 4px;
  --borderColor: #78b13f;
}

:root {
  --col1: #83e263;
  --col2: #69d6ea;
  --col3: #edbf34;
  --col4: #dedede;
  --col5: #d1a3f9;
  --col6: #fbffae;
  --col7: #4e6075;
  --col8: #2986cc;
  --col9: #f0509a;
  --col10: #ff7ac5;
  --col13: #c4b178;
}
.grid1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}
.c1 {
  background-color: var(--col1);
}

.c2 {
  background-color: var(--col2);
}

.c3 {
  background-color: var(--col3);
}

.c4 {
  background-color: var(--col4);
}

.c5 {
  background-color: var(--col5);
}

.c6 {
  background-color: var(--col6);
}

.c7 {
  background-color: var(--col7);
  color: white;
}

.c8 {
  background-color: var(--col8);
  color: white;
}

.c9 {
  background-color: var(--col9);
  color: white;
}

.c10 {
  background-color: var(--col10);
  color: white;
}

.c13 {
  background-color: var(--col13);
}

body {
  padding: 1em;
  margin: auto;
  width: 95%;
  border: 0px solid var(--col1);
}

.cert-h3 button {
  font-family: "Roboto", serif;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  border: 2px solid slateblue;
  background-color: white;
  cursor: pointer;
}
nav a {
  padding: 0.4em;
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  margin: 0;
  background-color: azure;
  border-radius: 0.3em;
  transition: background-color 500ms linear;
  border: 1px solid var(--col8);
}
body a img {
  height: 50px;
  vertical-align: middle;
  display: inline-block;
}

nav {
  margin-bottom: 0.5em;
}

nav a:hover {
  background-color: aqua;
}

nav a:active {
  background-color: var(--col8);
}

td,
th {
  padding: 0.5em;
}

.flashes {
  font-size: 0.8rem;
  display: inline-block;
}

.border {
  border: 1px solid var(--col7);
}

.del {
  color: red;
  cursor: pointer;
  font-size: 1.5em;
  position: relative;
  top: 0.1em;
}

#hidden,
.none {
  visibility: none;
}

.b1 {
  margin-bottom: 1em;
}

div {
  padding: 0.5em;
  border-radius: 0.25em;
}

.btn {
  cursor: pointer;
}
.start-test {
  text-align: center;
}
.recaptcha {
  margin: auto;
  width: fit-content;
  position: relative;
  left: 1px;
  bottom: 10px;
  margin: auto;
}

/* CERTIFICATES  */
.cert-main {
  min-width: 400px;
  width: 80%;
  border: 3px solid blue;
  border-radius: 2rem;
  margin: auto;
}
.cert-h1,
.cert-h2 {
  font-family: "Playfair Display", serif;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cert-h3,
.cert-h4 {
  font-family: "Roboto", serif;
  text-align: center;
}
#cert-name {
  font-family: "Arima", system-ui;
  font-weight: 700;
  font-size: 1.5rem;
  font-style: normal;
  text-align: center;
  margin-bottom: 4rem;
}
.col-2 {
  margin: 0.5rem 0;
  display: flex;
}
.col-2 > * {
  width: 50%;
  text-align: center;
}

/* REVIEW TEST */

.check {
  display: inline-block;
  transform: rotate(45deg);
  height: var(--height);
  width: var(--width);
  border-bottom: var(--borderWidth) solid var(--borderColor);
  border-right: var(--borderWidth) solid var(--borderColor);
  z-index: 10;
  position: relative;
  right: -7px;
  top: 5px;
}

.question-block {
  border: 2px solid lightgray;
  border-radius: 1rem;
  padding: 1rem;
  margin: 1rem 0;
}
.review-p {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  border-bottom: 1px solid lightgray;
}
.review-body {
  min-width: 400px;
  width: 90%;
  margin: auto;
  border: 1px solid blue;
  border-radius: 2rem;
  padding: 1rem;
}
.review.div{
  margin: 0.5rem 0;
  padding: 0.5rem;
}
#review-test {
  font-family: "Roboto", serif;
  font-size: 3rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  border: 2px solid slateblue;
  background-color: white;
  cursor: pointer;
}