@import url('https://fonts.googleapis.com/css2?family=Coda:wght@400;800&family=Cutive+Mono&family=Gruppo&family=Iceland&family=Moulpali&family=Nova+Square&family=Nunito:ital,wght@0,200;0,300;0,600;1,200;1,300;1,600&family=Red+Rose:wght@300;400;500;600;700&family=Ubuntu+Mono:wght@400;700&display=swap');


* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

:root {
  --charcoal: rgb(60, 69, 78);
  --offWhite: rgb(229, 229, 229);
  --green: rgb(99, 216, 168);
  --steelToad: rgb(171, 186, 171);
  --yellow: #F5DEA3;
  --yellowLite: #F6F7D4;
  --red: #FC345C;
  --redDark: #9d122e;
  --invisible: rgba(1, 1, 1, 0);
  --greenLite: #E8FFB1;
  --blue: rgb(17, 179, 190);
  --blueDeep: rgb(10, 24, 58);
}
body {
  margin: 0 auto;
  padding: 0 0 55px 0;
  height: 100%;
  background: #abbaab;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #ffffff, #abbaab);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #ffffff, #abbaab);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: var(--charcoal);
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  font-size: 0.77rem;
}

header {
  display: flex;
  align-items: flex-start;
  background-color: var(--blueDeep);
  background-image: url("../img/header2.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  border-bottom: 5.55px solid var(--red);
  padding: 0px 22px;
  height: 111px;
  box-shadow: 0px 3px 21px darkslategray;
  margin-bottom: 18px;
}

h1 {
  font-size: 3.33rem;
  /* font-family: 'Cutive Mono', monospace; */
  /* font-family: 'Coda', cursive; */
  font-family: 'Gruppo', cursive;
  /* font-family: 'Iceland', cursive; */
  /* font-family: 'Moulpali', cursive; */
  /* font-family: 'Nova Square', cursive; */
  /* font-family: 'Nunito', sans-serif; */
  /* font-family: 'Red Rose', cursive; */

  /* text-shadow: 0px 0px 3px var(--charcoal); */
  /* color: var(--yellow); */
  text-shadow:
    0 0 6px rgba(202,228,225,0.92),
    0 0 30px rgba(202,228,225,0.34),
    0 0 12px rgba(30,132,242,0.52),
    0 0 21px rgba(30,132,242,0.92),
    0 0 34px rgba(30,132,242,0.78),
    0 0 54px rgba(30,132,242,0.92);
  
  color: var(--offWhite);
}

#pageTitle, #pageTitle:hover, #pageTitle:active, #pageTitle:visited {
  text-shadow:
    0 0 6px rgba(202,228,225,0.92),
    0 0 30px rgba(202,228,225,0.34),
    0 0 12px rgba(30,132,242,0.52),
    0 0 21px rgba(30,132,242,0.92),
    0 0 34px rgba(30,132,242,0.78),
    0 0 54px rgba(30,132,242,0.92);
  color: var(--offWhite);
  text-decoration: none;
}

#headerMenu {
  display: flex;
  justify-content: space-between;
  
}
/* nav {
  display: flex;
  justify-content: space-between;
  font-family: 'Red Rose', cursive;
  padding-top: 11px;
  font-size: 1.1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.09rem;
} */

a,
a:hover,
a:active,
a:visited {
  color: var(--blue);
  text-decoration: none;
  text-shadow: 0px 0px 1px var(--offWhite);
  font-weight: 300;
}

/* .navigation {
  display: flex;
  justify-content: flex-start;
  list-style-type: none;
}

.navigation > li {
  padding: 0;
  margin: 0px 33px 0px 3px;
  border-bottom: 3.33px solid var(--invisible);
  transition: all 0.77s ease-in;
}

.navigation > li:hover {
  border-bottom: 3px solid var(--red);
  transition: all 0.66s ease-in-out;
  transform: translateY(7px);
} */

.leftSide {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  border-right: 1.11px solid var(--steelToad);
  padding: 11px 0px;
  background-image: url("../img/sideBg.png");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
}

#dataTitle {
  margin-left: 7%;
}

#dataTitle > img {
  max-width: 93%;
}

h3 {
  /* font-weight: 600; */
  font-size: 1.11rem;
  padding: 0 4px 11px;
  border-bottom: 1px dashed var(--charcoal);
  /* font-family: 'Cutive Mono', monospace; */
  font-family: 'Ubuntu Mono', monospace;
}

#codeSection {
  width: 92%;
  background-color: rgba(235, 235, 235, 0.66);
  border: 0.5px solid var(--charcoal);
  border-radius: 2px;
  padding: 11px;
  margin-top: 33px;
  scroll-behavior: smooth;
  box-shadow: 2px 2px 7px rgba(119, 136, 153, 0.6);
}

code {
  color: var(--red);
  font-weight: normal;
  /* font-family: 'Cutive Mono', monospace; */
  font-family: 'Ubuntu Mono', monospace;
  font-size: 0.81rem;
}

/* --- Copy text starts --- */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
/* --- Copy text ends --- */


.row {
  margin: none;
  padding: 0px 11px;
}

.main {
  margin: 0px;
}
.main > p {
  white-space: nowrap;
  scroll-behavior: smooth;
}

.inputStyle {
  background-color: var(--invisible);
  /* background-image: linear-gradient(to top, var(--invisible), var(--yellowLite)); */
  font-weight: bold;
  max-width: 88px;
  min-width: 66px;
  padding: 4px 7px;
  font-size: 0.81rem;
  border: 1.1px solid var(--charcoal);
  border-radius: 4px;
  height: 33px;
  box-shadow: 1px 1px 7px rgba(119, 136, 153, 0.7);
}

.inputStyle:focus {
  background-color: var(--yellowLite);
}

.selectStyle {
  max-width: 172px;
  color: var(--charcoal);
}

button {
  margin: 14px 7px 4px;
  box-shadow: 1px 1px 7px rgba(119, 136, 153, 0.7);
}

.btn {
  padding: 3px 11px;
  font-size: 0.81rem;
  height: 33px;
}

.btn-outline-dark {
  font-weight: bold;
  background-image: linear-gradient(to bottom, var(--redDark), var(--red));
  color: var(--offWhite);
  
}

.btn-outline-dark:hover {
  background-image: none;
  background-color: var(--red);
  transition: all 0.3s ease-in-out;
}

input,
select,
button {
  margin: 3.5px 7px;
}

form {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-wrap: wrap;
  /* max-width: 333px; */
  margin: 0px;
  /* border: 1px dashed var(--charcoal); */
  border-radius: 2px;
  padding: 0px 7px 11px;
  color: var(--charcoal);
}
form > p {
  position: relative;
  top: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0px 11px 0;
}
label {
  margin: 0px 8px;
  font-weight: bold;
}

#tabella {
  margin: 0px 4px 11px 0px;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.tableHeader {
  /* background-color: var(--red); */
  background-image: linear-gradient(to bottom, var(--redDark), var(--red));
  color: whitesmoke;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1.44px solid var(--charcoal);
}
th {
  text-align: center;
}

th:first-child {
  text-align: left;
}

td {
  padding: 2px 11px;
  text-align: center;
}

td:first-child {
  background-color: rgba(255, 255, 255, 0.4);
  font-weight: bold;
  text-align: left;
}
td:hover {
  font-weight: bold;
  color: var(--red);
}
tr {
  border-top: none;
  border-bottom: 1.44px dashed var(--charcoal);
  border-left: 1.44px solid var(--charcoal);
  border-right: 1.44px solid var(--charcoal);
  transition: all 0.8s ease-in-out;
}

tr:last-child {
  border-bottom: 1.44px solid var(--charcoal);
}

tr:hover {
  background-color: var(--greenLite);
  transition: all 0.5s ease-in-out;
  font-weight: bold;
}

tr:first-child:hover {
  background-color: var(--red);
  border: 1.44px solid var(--charcoal);
}

footer {
  position: -webkit-sticky; /* Safari */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42px;
  /* background-color: var(--steelToad); */
  background-image: url("../img/footer.png");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: cover;
  padding: 11px;
  border-top: 2.22px solid var(--red);
}
.footerText {
  font-size: 0.82rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 81%;
  color: var(--blue);
  text-decoration: none;
}
.footerText > p > a:hover {
  text-decoration: underline;
}
.footerText > p > a {
  font-weight: 200;
  color: var(--blue);
  text-decoration: none;
  text-shadow: 0px 0px 1px var(--offWhite);
}

/* --- Safari --- */
@media not all and (min-resolution: 0.001dpcm) {
  body {
    font-size: 0.72rem;
    /* font-size: 0.9rem; */
  }

  nav {
    font-size: 0.75rem;
    /* font-size: 1.1rem; */
  }

  .tableHeader {
    font-size: 0.8rem;
    /* font-size: 1rem; */
  }

  footer {
    font-size: 0.9rem;
    /* font-size: 1rem; */
  }
}


/* --- Screensize alternatives --- */

/* Extra Large devices (laptops/desktops, 1248px and up) */
@media only screen and (min-width: 1248px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  #dataTitle {
    max-width: 83%;
  }
}

/* Small devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 555px) and (max-width: 767px) {
  #dataTitle {
    max-width: 83%;
  }
  #codeSection {
    width: 77%;
  }
  .leftSide {
    border-right: none;
  }
}

/* Extra small devices (phones, 555px and down) */
@media screen and (max-width: 555px) {
  code {
    font-size: 0.77rem;
  }

  #codeSection {
    width: 91%;
  }

  .leftSide {
    border-right: none;
  }

  form {
    justify-content: flex-start;
  }

  header {
    padding: 3px 0px;
    justify-content: center;
  }

  label {
    margin: 7px 8px 0px;
  }
}