/* Generelle stilregler */

body {
  font-family: 'Roboto', sans-serif;
  color: #333333;
  background: #f5f5f5;
  font-size: 14px;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin: 0 0 10px;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #0056b3;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

a:focus {
  text-decoration: none;
}

p {
  line-height: 1.5;
  margin: 0 0 15px;
}

.wrapper {
  background: #ffffff;
  max-width: 960px;
  margin: 20px auto;
  padding: 20px;
  display: flex;
  min-height: 800px;
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-wrapper {
  background: #343a40;
  width: 300px;
  color: #ffffff;
  padding: 20px;
}

.profile-container {
  text-align: center;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
}

.profile-info {
  text-align: center;
}

.name {
  font-size: 24px;
  margin: 10px 0;
}

.extra-jobs {
  display: none;
}
.show-more-link {
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
}

.show-more-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.skillset .item {
  margin-bottom: 10px;
}

.title {
  font-size: 18px;
  margin: 10px 0;
}

.phone a {
  color: inherit;
  text-decoration: none;
}

.phone a:hover {
  color: #131313;
  text-decoration: underline;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

.phone .svg-inline--fa {
  margin-right: 5px;
  font-size: 18px;
  vertical-align: middle;
}

.main-wrapper {
  background: #ffffff;
  padding: 60px 30px;
  flex-grow: 1;
  box-sizing: border-box;
}

.main-wrapper .section-title {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
  color: #39383a;
  position: relative;
  margin-top: 0;
  margin-bottom: 20px;
}

.main-wrapper .section-title .icon-holder {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  display: inline-block;
  color: #ffffff;
  border-radius: 50%;
  background: #007bff;
  text-align: center;
  font-size: 16px;
  position: relative;
  top: -2px;
}

.main-wrapper .section-title .icon-holder .svg-inline--fa {
  font-size: 14px;
  margin-top: 8px;
}

.main-wrapper .section {
  margin-bottom: 30px;
}

.main-wrapper .experiences-section .item {
  margin-bottom: 30px;
}

@media (min-width: 992px) {
  .name {
    font-size: 20px; /* Litt mindre fontstørrelse for større skjermer */
    white-space: nowrap; /* Sikrer at navnet forblir på én linje */
  }
}

.footer {
  padding: 30px;
  padding-top: 60px;
  background: #f5f5f5;
  text-align: center;
}

.footer .copyright {
  line-height: 1.6;
  color: #545E6C;
  font-size: 13px;
}

.footer .fa-heart {
  color: #fb866a;
}

@media (max-width: 767.98px) {
  .wrapper {
    flex-direction: column;
  }

  .sidebar-wrapper {
    width: 90%;
  }

  .main-wrapper {
    padding: 30px;
    padding-top: 60px;
  }

  .main-wrapper .time {
    position: static;
    display: block;
    margin-top: 5px;
  }

  .main-wrapper .upper-row {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .skillset .level-title {
    display: inline-block;
    position: relative;
    float: left;
    width: 30%;
    margin-bottom: 0;
  }
}

@media (min-width: 767.98px) {
  .sidebar-wrapper {
    padding: 30px;
  }

  .main-wrapper {
    padding: 60px;
  }
}

.files-list {
  padding: 0;
  list-style: none;
}

.files-list .item {
  margin-bottom: 10px;
}

.files-list .item .fas {
  margin-right: 5px;
}

.files-list .item a {
  text-decoration: none;
  color: #007bff;
}

.files-list .item a:hover {
  text-decoration: underline;
  color: #0056b3;
}
