/*
  Stiven's Custom CSS Reset
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: inherit;
}
html {
  font-size: 16px;
}

/* Styles */

body {
  display: flex;
  justify-content: center;
}

#cv {
  max-width: 815px;
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: auto;
  /* margin: auto; */
  /* border-left: 1px solid lightgray; */
  /* border-right: 1px solid lightgray; */
}

.profile-container {
  background-color: white;
  padding: 15px 15px;

  display: flex;
  flex-flow: column nowrap;
  gap: 15px;
}

.profile-item {
  border: 2px solid peru;
  padding: 10px;
}

.profile-item-title {
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  margin-bottom: 15px;
}

.profile-item-data-container {
  display: flex;
  flex-flow: column nowrap;
  gap: 8px;
}

.profile-item-data {
  font-size: 0.75rem; /*12px*/
  font-family: "Roboto Condensed", sans-serif;
  display: flex;
  flex-flow: row nowrap;
  gap: 10px;
  align-items: center;
}

.profile-item-data a {
  display: flex;
  flex-flow: row nowrap;
  gap: 10px;
  align-items: center;
}

.profile-item-icon {
  width: 14px;
  /* height: 12px; */
  /* margin-right: 10px; */
  /* margin-top: 2px; */
}

.level-100 {
  width: 100%;
  height: 10px;
  border-radius: 10px;
  background-color: brown;
}

.level-50 {
  width: 50%;
  height: 10px;
  border-radius: 10px;
  background-color: rgb(192, 133, 133);
}

.content-container {
  background-color: rgb(239, 239, 239);
  padding: 15px 30px;
  display: flex;
  flex-flow: column nowrap;
  gap: 30px;
}

.name {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 40px;
  text-align: center;
  color: peru;
  margin-top: 14px;
}

.profile-name {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
  text-align: center;
}

.content-item {

}

.content-item-title {
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 18px;
  border-bottom: 2px solid peru;
  margin-bottom: 15px;
  padding: 4px;
}

.content-item-text {
  font-size: 12px;
  font-family: "Roboto Condensed", sans-serif;
  text-align: justify;
}

.subtitle{
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  margin-bottom: 8px;
}

.content-item-subtitle {
  font-size: 14px;
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  color: peru;
}

.content-item-date {
  font-size: 12px;
  font-family: "Roboto Condensed", sans-serif;
  color: gray;
}

.company {
  font-size: 12px;
  font-family: "Roboto Condensed", sans-serif;
  margin-bottom: 8px;
  font-weight: bold;
}

.work-experience {
  margin-bottom: 20px;
}






.profile-image-container {
  position: absolute;
  top: 18px;
  right: 30px;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #3ab795;
  background: transparent no-repeat center;
  background-size: cover;
  background-image: url("assets/noprofile2.png");
}

.article-title {
  color: #3ab795;
  text-decoration: underline;
  margin-bottom: 0.625rem;
  font-family: "Roboto Condensed", sans-serif;
  font-family: "Shadows Into Light", cursive;
  font-weight: 700;
}

.education-article {
  display: flex;
  flex-flow: column wrap;
  row-gap: 0.9375rem;
}

.education-item-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: black;
  text-decoration: none;
  font-family: "Roboto Condensed", sans-serif;
}

.education-item-subtitle {
  font-size: 1rem;
  font-weight: lighter;
  font-family: "Roboto Condensed", sans-serif;
}

.education-item-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.education-item-date {
  color: #3ab795;
  font-size: 0.75rem;
  font-style: italic;
  font-family: "Roboto Condensed", sans-serif;
}

.education-item-location {
  color: #3ab795;
  font-size: 0.75rem;
  font-style: italic;
  font-family: "Roboto Condensed", sans-serif;
}

.education-item-description-container {
  display: flex;
  flex-flow: column nowrap;
}

.education-item-description {
  font-size: 0.75rem;
  font-weight: lighter;
  font-family: "Roboto Condensed", sans-serif;
  margin-bottom: 5px;
}

.skills-article {
  display: flex;
  flex-flow: column wrap;
  row-gap: 0.625rem;
}

.skills-item {
  background-color: #1e3231;
  padding: 0.3125rem;
  width: 80px;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 0.75rem; /*12px*/
  font-family: "Roboto Condensed", sans-serif;
  /* display: flex;
  flex-flow: row wrap;
  gap: 10px; */
}

.skills-subitem-container {
  display: flex;
  flex-flow: row wrap;
  gap: 0.5rem;
  padding-left: 0.625rem;
}

.skills-subitem {
  /* flex-shrink: 2; */
  background-color: #3ab795;
  padding: 0.3125rem;
  width: 80px;
  /* height: 52px; */
  height: 32px;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 0.625rem;
  font-family: "Roboto Condensed", sans-serif;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.w84 {
  width: 84px;
}

.skills-subitem:hover {
  background-color: #485665;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

#export-button {
  background-color: #3ab795;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  border: 1px solid #1e3231;
}

#export-button:hover {
  background-color: #1e3231;
}

#export-button:focus {
  background-color: #485665;
}

.export-button-icon {
  width: 24px;
  margin-left: 0.3125rem;
}

@media screen and (max-width: 550px) {
  .header {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
  }

  .name {
    width: 100%;
    text-align: center;
    padding: 1.25rem 1.25rem 0 1.25rem;
    font-size: 1.75rem;
  }

  .position {
    text-align: center;
    color: #3ab795;
    padding: 0 1.25rem 0.625rem 1.25rem;
    font-size: 1.125rem;
  }

  .description {
    text-align: center;
    padding: 0 1.25rem 1.25rem 1.25rem;
  }

  .profile-image-container {
    /* position: absolute; */
    /* top: 18px; */
    /* right: 30px; */
    position: static;
    padding-top: 1.25rem;
  }

  .profile-image {
  }

  .contact-data {
    grid-template-columns: 1fr;
    row-gap: 0.625rem;
    padding: 0.625rem 1.25rem 0.625rem 1.25rem;
  }

  .main {
    padding: 1.25rem 1.25rem;
    display: flex;
    flex-flow: column nowrap;
    row-gap: 1.875rem;
  }

  .article-title {
    font-size: 1.375rem;
  }
}
