@font-face {
  font-family: 'agency';
  src: url('../fonts/AgencyFB.ttf');
}

@font-face {
  font-family: 'impact';
  src: url('../fonts/impact.ttf');
}

body {
  min-width: 350px;
  width: 70%;
  margin: 0 auto;
  font-family: "Times New Roman", Roboto, Liberation, Arial, Helvetica, sans-serif;
  text-align: justify;
  text-justify: inter-word;
  font-size: 18px;
}

h1 {
  font-family: impact;
  color: #144f79ff;
  font-size: 32px;
}

h2 {
  font-family: agency;
  color: #144f79ff;
  font-size: 25px;
}

h3 {
  font-family: agency;
  color: #144f79ff;
  font-size: 18px;
}

code {
  background-color: #eee;
  border-radius: 3px;
  font-family: courier, monospace;
  padding: 0 3px;
}

.color {
  color: #144f79ff;
}

.link {
  font-family: agency;
  color: #144f79ff;
  text-decoration: none;
  font-size: large;
}

.exponent {
  color: #144f79ff;
  text-decoration: none;
  font-weight: bold;
}

.imp {
  color: #144f79ff;
  font-weight: bold;
}

.next {
  float: right;
}

.footnote {
  font-size: 14px;
  color: #144f79ff;
}

sup {
  font-weight: normal;
  font-size: 10px;
}

#langages_animation {
  background-image: url("/static/img/langage.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 600px;
  height: 260px;
  position: relative;
}

.box {
  position: absolute;
  width: 45px;
  height: 45px;
  cursor: pointer;
}

#csharp {
  top: 21px;
  left: 133px;
}

#python {
  top: 112px;
  left: 90px;
}

#brainfuck {
  top: 202px;
  left: 133px;
}

#cpp {
  top: 10px;
  left: 421px;
}

#bash {
  top: 102px;
  left: 462px;
}

#java {
  top: 192px;
  left: 421px;
}

#header {
  width: 100px;
  height: 40px;
  background-color: #144f79ff;
  margin: 0 auto;
  font-family: impact;
  color: white;
  text-align: center;
  vertical-align: middle;
  line-height: 40px;
}

.drop {
  min-height: 20px;
  min-width: 220px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  cursor: grab;
}

.drag {
  min-height: 20px;
  min-width: 220px;
  border-radius: 5px;
  padding: 15px;

  background-color: #144f79ff;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  font-family: Agency;
  font-size: 17px;
  color: white;
  text-align: center;
}

.console_display {
  border: 2px solid #144f79ff;
  border-radius: 5px;
  /*height : 45px;*/
  width: 200px;
  margin: 5px;
  padding: 20px;
  font: larger Lato, Roboto, sans-serif;
  font-size: small;
  color: #144f79ff;
}


.algo {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 400px;
  margin: auto;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.caption {
  text-align: center;
  color: #144f79ff;
  font-family: agency;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.alginCenter {
  margin-left: auto;
  margin-right: auto;
}

#div_algo_resultat {
  position: relative;
  width: 300px;
  height: 152px;
  margin-left: auto;
  margin-right: auto;
}

#img_algo_resultat {
  position: absolute;

}

.input_img {
  position: absolute;
  width: 10px;
  border: 3px solid transparent;
}

#n1 {
  top: 108px;
  left: 43px;
}

#n2 {
  top: 108px;
  left: 160px;
}

#n3 {
  top: 108px;
  left: 275px;
}

.execute_button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background-color: #d5d8eaff;
  color: #144f79ff;
  font-size: 16px;
  width: 80px;
  height: 40px;
  font-family: impact;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.execute_button:hover {
  background-color: #144f79ff;
  color: #d5d8eaff;
}

/* haut | droit | bas | gauche */
.annexe {
  background-color: #144f79ff;
  margin: 10px -20px 0 -20px;
  padding: 10px 40px 10px 40px;
}

.annexe h2,
.annexe p {
  color: white;
}

.bold {
  font-weight: bold;
}

.white {
  color: white;
}


.title_code {
  margin-bottom: -25px;
  margin-left: 10px;
  color: #b3b3b3ff;
  font-style: italic;
}

pre code {
  background-color: #144f79ff;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 10px;
  display: block;
  padding: 5px;
  color: white;
  padding-left: 20px;
}

.kw {
  color: #aade87ff;
}

.cl {
  color: #80e5ffff;
}

.main {
  color: #ffd42aff;
}

.txt {
  color: #fa6b6bff;
}

.var {
  color: #ff9955ff;
}

.loop {
  color: #ffaaeeff;
}

table {
  border-collapse: collapse
}

td,
th {
  border: 1px solid #144f79ff;
  padding: 10px;
}

th {
  background-color: #144f79ff;
  color: white;
}

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

.sidebyside {
  display: grid;
  padding: 0rem;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.image {
  width: 60%
}

@media (max-width: 800px) {
  .sidebyside {
    display: block;
  }

  .image {
    width: 100%
  }
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  /*flex-wrap: wrap;*/
}

.textbyimage {
  padding-right: 30px;
  text-align: justify;
  text-justify: inter-word;
}

.imagebytext {
  flex-basis: 40%;
}

.video {
  object-fit: cover;
  padding-top: 25px;
  padding-bottom: 25px;
  width: 60%
}

/* CodeMirror */

.CodeMirror {
  font-size: 14px;
}


.text_center {
  text-align: center;
}