main {
  padding: 50px 200px;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

.intro {
  display: flex;
  gap: 50px;
  font-size: 30px;
  line-height: 130%;
  align-items: start;
}

.intro div p:first-child {
  margin-bottom: 40px;
}

.intro div {
  margin-top: 120px;
}

.intro img {
  width: 150px;
  height: 150px;
}

.def {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.def img {
  width: 400px;
  height: 400px;
}

.debug, .back-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.debug a {
  color: black;
}

.picto-container {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.picto {
    width: 250px;
    height: 250px;    
}

.picto svg {
  width: 100%;
  height: 100%;
}

h1 {
    align-self: end;
    font-weight: normal;
}

a.def:hover svg {
  fill: red !important;
}

.picto-description {
    margin: 0;
    margin-left: -125px;
    padding-left: calc (5% + 125px);
    padding-right: 5%;
    padding-left: 5%;
    font-size: 3em;
    color: #333; 
    width: 50%;

    text-align: right;
    padding-bottom: 1rem;
    border-bottom: 2px solid red;

    min-height: calc(250px - 1rem);
    vertical-align: bottom;
    display: flex;
    align-content: baseline;
    align-items: end;
    justify-content: end;
}

@media (max-width: 768px) {

  main {
    padding: 5px;
  }

  .intro {
    font-size:18px;
  }

    .def img {
        width: 200px;
        height: 200px;
    }

    .picto-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .picto {
        width: 150px;
        height: 150px;
    }

    .picto-description {
        font-size: 1.5em;
        width: 80%;
        padding-right: 10%;
        padding-left: 10%;
        text-align: center;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid red;
    }
}
