/* GENERAL */
* {
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #ffffff;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 1rem;
}

h1 {
  font-family: "Roboto", sans-serif;
  margin: 0 0 1rem;
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-family: "Roboto", sans-serif;
  margin: 0 0 1rem;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
}

.text-blue {
  color: #002f82;
}

.text-darkblue {
  color: #002060;
}

.text-uppercase {
  text-transform: uppercase;
}

.iconlinkedin {
  color: #ffffff;
  font-size: 150%;
  margin-right: 0.5rem;
}

.icon1 {
  color: #ffffff;
  font-size: 100%;
  margin-right: 0.5rem;
}
.icon2 {
  color: #4472c4;
  font-size: 200%;
  margin-right: 0.5rem;
}

/* GRID */
.cv-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "left-column right-column right-column";
  width: 90rem;
  margin: auto;
}

.section {
  margin-bottom: 1.5rem;
}

/* LEFT COLUMN */
.left-column {
  grid-area: left-column;
  padding: 3rem;
  background-color: #003152;
  color: white;
}

.portait {
  border-radius: 50%;
  max-width: 15rem;
  margin: auto;
  display: block;
  margin-bottom: 4.4rem;
}

.infos {
  list-style-type: none;
  padding: 0;
}

.skills {
  list-style-type: none;
  padding: 0;
  font-size: 1.1rem;
  letter-spacing: 0.075rem;
  margin: 0 0 1rem;
}

/* RIGHT COLUMN */
.right-column {
  grid-area: right-column;
  display: grid;
  grid-template-rows: 20rem 1fr;
  grid-template-areas:
    "header"
    "content";
}

/* HEADER */
.header {
  grid-area: header;
  padding: 3rem;
  background-color: #c0f549;
  color: #000;
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;

  .h1-header {
    text-transform: uppercase;
  }
}

/* CONTENT */
.content {
  grid-area: content;
  padding: 3rem;
}

.experience-list {
  list-style-type: square;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media screen and (max-width: 1024px) {
  .cv-container {
    display: flex;
    flex-direction: column;
  }
  .right-column {
    grid-template-rows: auto;
  }
  /* GENERAL */
  body {
    font-size: 2.5rem;
  }

  h1 {
    font-size: 3.5rem;
  }

  .iconlinkedin {
    font-size: 180%;
  }

  .icon1 {
    font-size: 90%;
  }
  .icon2 {
    font-size: 190%;
  }

  .skills {
    font-size: 2.5rem;
  }
  .portait {
    border-radius: 50%;
    max-width: 40rem;
    margin: auto;
    display: block;
    margin-bottom: 4.4rem;
  }
  .header {
    font-size: 2.5rem;
  }
  .right-column {
    grid-template-rows: 50rem 1fr;
  }
  .header {
    padding: 2rem;
    font-size: 130%;
    font-weight: 500;
    line-height: 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;

    .h1-header {
      margin-bottom: 6rem;
      line-height: 5rem;
      font-weight: 900;
    }
  }
}
