.dark-mode {
  background-color: rgb(39, 39, 39);
  color: white;
}
button {
  all: unset;
  cursor: pointer;
  padding-bottom: 1em;
}

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

body {
  margin: 0;
  padding: 1em 0 1em 0;
  position: relative;
  min-height: 100vh;
  /*overflow: auto;
overflow-x: hidden;*/
  background-color: rgb(197, 197, 197);
}

a.claret:link,
a.claret:visited,
a.claret:hover,
a.claret:active {
  color: #b12c51;
}
.clearfix {
  overflow: auto;
}
a:link {
  color: black;
  background-color: transparent;
  text-decoration: none;
}
a:visited {
  color: black;
  background-color: transparent;
  text-decoration: none;
}
a:hover {
  color: black;
  background-color: transparent;
  text-decoration: underline;
  cursor: pointer;
}
a:active {
  color: black;
  background-color: transparent;
  text-decoration: underline;
  cursor: pointer;
}

a.white:link {
  color: white;
  background-color: transparent;
  text-decoration: none;
}
a.white:visited {
  color: white;
  background-color: transparent;
  text-decoration: none;
}
a.white:hover {
  color: white;
  background-color: transparent;
  text-decoration: underline;
  cursor: pointer;
}
a.white:active {
  color: white;
  background-color: transparent;
  text-decoration: underline;
  cursor: pointer;
}
.header {
  z-index: 6;
  position: fixed;
  position: sticky;
  float: left;
  top: 0%;
  left: 0%;
  right: 0%;
  height: 3.74em;
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0%;
  /*overflow: auto;*/
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  background-color: black;
  color: white;
  /*outline: 1px solid black;	*/
  display: block;
}
.footer {
  grid-column: 1 / span 3;
  grid-area: bottom;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5em;
  margin-bottom: -2em;
  display: block;
  width: 100%;
  background-color: #2c3e50;
  color: white;
  text-align: center;
  overflow: hidden;
  right: 0;
  bottom: 0;
  left: 0;
}
.to_the_top {
  text-align: center;
  font-size: 40px;
  z-index: 2000;
  position: fixed;
  left: 95%;
  top: 93%;
  text-decoration: none;
  cursor: pointer;
}

.dot {
  height: 50px;
  width: 50px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}
#grad1 {
  position: relative;
  height: 1.5em;
  background-color: red; /* For browsers that do not support gradients */
  background-image: linear-gradient(
    to right,
    red 20%,
    yellow
  ); /* Standard syntax (must be last) */
  z-index: 990;
}
table {
  text-align: center;
}

#t1 {
  width: 70%;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em;
  margin-top: 1em;
  background-color: #f3f3f3;
  box-shadow: 1em 1em 1em #333333;
}

.dark-mode #t1 {
  background-color: #1a1a1a;
  box-shadow: 1em 1em 1em #080808;
}

.profile_picture {
  width: 20vw;
  border-radius: 30%;
  float: none;
  border: 2px solid black;
  box-shadow: 0.3em 0.3em 0.3em #333333;
  margin: 0.5em auto 0.5em auto;
}

.dark-mode .profile_picture {
  box-shadow: 0.3em 0.3em 0.3em #080808;
}

.table {
  border: 2px solid rgb(139, 51, 0);
  border-radius: 2em;
  padding: 10px;
  text-align: center;
  width: 100%;
}

.dark-mode .table {
  border: 2px solid rgb(214, 140, 44);
}

.row {
  width: 10em;
  /*padding: 10px;*/
}

.coloumn {
  /*border: 1px dashed black;*/
  padding: 10px;
  width: 50%;
}

#t2,
#t3,
#t4,
#t5,
#t6 {
  margin-left: auto;
  margin-right: auto;
}
#t3 {
  background-image: url("back.jpg");
  background-repeat: none;
  background-size: cover;
}

h1 {
  font-size: 4em;
  margin: 0.5em 0.5em 0.1em 0.5em;
}
h2 {
  margin: 0.5em;
}

#t3r1d1 {
  color: white;
  text-shadow: 0 0 0.5em black;
}
#t4 {
  text-align: justify;
}

#t4r2d1 {
  text-align: center;
}

#t5 {
  padding: 1%;
  max-width: 50%;
  background-color: #ebc09d;
  font-size: 2em;
}
#t5 td {
  padding: 4%;
  border-collapse: collapse;
  border: 1px solid black;
  border-radius: 3em;
}
#t6 td {
  border-collapse: collapse;
  border: 1px solid black;
  border-radius: 2em;
}

.logo_top {
  max-width: 80%;
}

#t2r1d2 {
  color: white;
}

#t2r1d1 {
  background-color: #ffea75;
}

#t2r1 {
  background-color: #696969;
}

.button_panel {
  width: 100%;
  height: 100%;
  display: block;
}

#t6r1d1 {
  background-color: #696969;
  color: white;
}

#t6r1d2 {
  background-color: #c7c7c7;
}

.dark-mode #t6r1d2 {
  background-color: #505050;
}

#t6r3d2 {
  color: white;
  background-color: #696969;
}

.dark-mode #t6r2d2 {
  color: black;
  background-color: #a3a3a3;
}

#t45 {
  border: none;
  text-align: left;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}
a.colorful:link,
a.colorful:visited,
a.colorful:hover,
a.colorful:active {
  text-decoration: none;
  animation: color-change 5s infinite;
}
@keyframes color-change {
  0% {
    color: #da8766;
  }
  50% {
    color: #fc6e69;
  }
  100% {
    color: #da8766;
  }
}

canvas {
  display: block;
}
@media (max-width: 1000px) {
  .to_the_top {
    position: fixed;
    text-align: center;
    left: 10%;
    right: 70%;
    top: 80%;
    bottom: 20%;
  }
  #t1 {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }
  .dark-mode #t1 {
    box-shadow: none;
  }
  body {
    padding: 0;
  }
  .dark-mode body {
    padding: 0;
  }
  #t5 {
    max-width: 100%;
  }
  .table {
    padding: 0;
    width: 100%;
  }
  #t5 td {
    padding: 0;
  }
  .row {
    width: 100%;
    padding: 0;
  }
  .button_panel {
    padding: 0;
  }
  .profile_picture {
    width: 50vw;
    box-shadow: none;
  }
  .dark-mode .profile_picture {
    box-shadow: none;
  }
}

.button_panel_t5r3d1 {
  padding: 12% 35%;
}
