body {
  overflow-x: hidden;
}

a,
h1,
h2,
div {
  font-family: "coolvetica", sans-serif;
  color: #000000 !important;
  text-decoration: none !important;
}

h3 {
  padding-top: 12px !important;
  font-size: 1.4rem !important;
  font-weight: bold !important;
  margin: 0 !important;
}

.categories {
  text-align: center;
  color: #F7A9A9 !important;
  font-size: 1.1rem;
  padding-bottom: 12px;
}

.pb-40px {
  padding-bottom: 40px;
}

.pt-40px {
  padding-top: 40px;
}

.underlined {
  text-decoration: underline;
}

.surrounded {
  background: url('./../images/surrounded.jpg');
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 202px 58px;
}

.star {
  font-size: 45px;
}

@media (max-width: 992px) {
  .star {
    font-size: 20px;
  }
}

.black-button {
  background-color: #ffffff;
  color: #000000 !important;
  padding: 8px 24px;
  font-size: 18px;
  border-radius: 22px;
  transition: 0.7s;
  display: inline-block;
  margin-top: 20px;
  border: 2px solid #000000;
}

.black-button:hover {
  background-color: #000000;
  color: #ffffff !important;
}

p {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 28px;
}

/*navbar*/
.home .navbar::before {
  display: none;

}

.navbar::before {
  content: '';
  height: 2px;
  width: 150%;
  margin-left: -25%;
  background-color: #000000;
  position: absolute;
  bottom: 0;
}

.navbar-collapse {
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-brand img {
  width: 55px;
  height: auto;
  transition: transform .7s ease-in-out;
}

@media (max-width: 992px) {
  .navbar-collapse .navbar-brand img {
    display: none;
  }

  .navbar-brand img {
    width: 40px;
  }
}

.navbar-brand img:hover {
  transform: rotate(180deg);

}

body .navbar-nav li {
  display: inline-block;
}

body .navbar-nav .nav-link {
  font-family: "coolvetica", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #000000;
  padding: 0 32px !important;
  font-size: 20px;
}

body .navbar-nav .nav-link::before {
  content: attr(data-text);
  height: 0;
  visibility: hidden;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  font-weight: bold;
}

body .navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {

  font-weight: bold;
  text-decoration: underline !important;
  color: #EE7575;
}

nav.navbar {
  z-index: 30;
}

.navbar-light .navbar-toggler {
  border-color: transparent !important;
  position: relative;
  z-index: 20;
  outline: none;
}

.navbar-nav img {
  height: 60px;
}

.navbar-collapse {
  background: #ffffff;
}

@media (max-width: 992px) {
  .navbar-nav .nav-item {
    padding: 16px;
  }

  .navbar-nav {
    align-items: center;
  }

  nav img {
    height: 40px;
  }

  .navbar-nav li:nth-of-type(3) {
    display: none;
  }
}

@media (min-width: 992px) {
  nav>a {
    display: none;
  }
}

.home-background {
  background-image: url("../images/background.png");
  background-size: cover;
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-position: 50% 0;
}

@media (max-width: 992px) {
  .home-background {
    height: calc(100vh - 10px);
  }
}

.button-group {
  text-align: center;
  padding: 40px 0 48px;
}

.filter {
  background: #ffffff;
  margin: 0 8px;
  border: 0;
  font-size: 19px;
}

.filter.is-checked {
  text-decoration: underline;
  color: #EA5917;
}

footer {
  background: #000000;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  margin-top: 56px;
}

footer div {
  color: #ffffff !important;
}

img {
  max-width: 100%;
}

.small-container {
  max-width: 750px;
  margin: 0 auto;
}

.title-project {
  padding: 16px 0;
  margin: 0;
}

footer img {
  stroke: #ffffff;
  fill: #ffffff;
  width: 15px;
  height: 15px;
  margin-left: 16px;
}

.big-subtitle {
  font-size: 50px;


}


@media (max-width: 992px) {
  .big-subtitle {
    font-size: 22px;
  }
}

section {
  padding: 56px 0;
  position: relative;
  z-index: 5;
}

@media (max-width: 992px) {
  section {
    padding: 24px 16px;
  }
}

.block-presentation img {
  max-width: 50%;
  height: 100%;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .block-presentation.d-flex {
    flex-direction: column;
    align-items: center;
  }

  .block-presentation.d-flex img {
    padding-bottom: 16px;
  }
}

.block-presentation .content {
  font-family: "coolvetica", sans-serif;
  font-size: 22px;
  padding: 12px 0;
}

.block-presentation .more-info {
  font-family: "coolvetica", sans-serif;
  font-size: 16px;
  padding-bottom: 24px;
}

.big-title {
  font-size: 70px;
  text-align: center;
  padding: 0 0 32px;
}

@media (max-width: 992px) {
  .big-title {
    font-size: 37px;
  }
}

.title-medium {
  font-size: 24px;
  padding-bottom: 16px;
  line-height: 28px;
}

.block-fun-facts>div {
  padding-bottom: 8px;
}

.block-fun-facts img {
  padding: 0 24px;
}

.block-fun-facts p {
  max-width: 350px;
}

@media (max-width: 768px) {
  .block-presentation img {
    padding-right: 0 !important;
  }

  .block-fun-facts .d-flex:nth-child(odd) {
    flex-direction: column-reverse;
  }

  .block-fun-facts .title-medium,
  .block-fun-facts .content {
    text-align: center !important;
  }

  .block-fun-facts .d-flex {
    flex-direction: column;
    align-items: center;
  }
}

.float-right {
  float: right;
}

.text-right {
  text-align: right;
}

.block-hobbies>.d-flex {
  column-gap: 24px;
  overflow: hidden;
}

.block-hobbies .d-flex .d-flex div:first-child {
  overflow: hidden;
}

.block-hobbies .d-flex .d-flex div:first-child:hover img {
  transform: scale(1.05);
  transition: 0.7s;
}

.block-hobbies .title-medium {
  padding-top: 16px;
}

@media (max-width: 991px) {
  .block-hobbies>.d-flex {
    flex-wrap: wrap;
    justify-content: center;
  }

  .block-hobbies>.d-flex .flex-column {
    max-width: 200px;
  }
}

.block-hobbies img {
  width: 100%;
}

.medium-title {
  font-size: 1.9rem;
}

/***** Portfolio *****/
.block-portfolio .title {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: -75px auto 0 auto;
}

@media (max-width: 768px) {
  .block-portfolio .title {
    margin: 0 !important;
  }
}

.block-portfolio .item {
  border: 1px solid #ffffff;
  max-width: 32%;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  transition: .7s;
}

.block-portfolio .item .container-img {
  overflow: hidden;
}

.block-portfolio .item:hover img {
  transition: .7s;
  transform: scale(1.05);
  overflow: hidden;
}

.block-portfolio .item:hover {
  transition: .1s;
  border: 3px solid #000000;
}

@media (max-width: 768px) {
  .block-portfolio .item {
    max-width: 48%;
  }
}

@media (max-width: 500px) {
  .block-portfolio .item {
    max-width: 100%;
  }
}

.block-portfolio .item img {
  max-width: 100%;
}


.block-contact {
  text-align: center;
}

.home .block-contact img {
  width: 100%;
  max-width: 794px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .block-contact img {
    max-width: 80% !important;
    padding-right: 0 !important;
  }
}

.block-contact .content {
  font-family: "coolvetica", sans-serif;
  max-width: 470px;
  text-align: center;
  margin: 0 auto;
  font-size: 16px;
  padding-top: 40px;
}

.home .block-contact .arrow {
  width: 30px !important;
  margin: 24px auto !important;
  padding-right: 0 !important;
}

/* ---- button ---- */

.button:hover {
  background-color: #8cf;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: #28f;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/***** 
PORTFOLIO ITEM 
*****/
.portfolio-item::before {
  content: url("./../images/icons/star.PNG");
  position: absolute;
  right: 0;
  top: 100px;
}

.portfolio-item h1 {
  font-size: 35px;
  padding-bottom: 24px;
  padding-top: 24px;

}

.portfolio-item h2 {
  font-size: 19px;
  text-transform: uppercase;
}

.portfolio-item p {
  padding: 16px 0 32px;
  line-height: 28px;
}

.portfolio-item em {
  font-size: 14px;
  font-family: "Raleway", sans-serif;
}

.portfolio-item .block-left {
  text-align: left;
}

.portfolio-item .block-left img {
  width: 100%;
  margin-bottom: 24px;
}

.portfolio-item .block-right {
  position: -webkit-sticky !important;
  position: sticky;
  top: 0;
  z-index: 1020;
  align-self: flex-start;
  height: auto;
  padding-left: 48px;
  flex: 0 0 37%;
}

.portfolio-item .block-right img {
  width: 100%;
}

.block-portfolio-item .d-flex {
  flex-wrap: wrap;
}

.block-portfolio-item .d-flex>* {
  flex-basis: 100%;
}

@media (max-width: 768px) {
  .block-portfolio-item .d-flex {
    flex-direction: column;
  }
}

.portfolio-navigation {
  display: flex;
  font-size: 22px;
  justify-content: space-between;
  align-content: center;
  padding: 48px 0;
}

@media (max-width: 768px) {
  .portfolio-item::before {
    content: "";
  }

  .block-portfolio-item .d-flex {
    flex-direction: column;
  }

  .block-right {
    padding-left: 0;
    flex: 0 0 1;
  }
}

.template-2-column {
  columns: 2;
  column-gap: 16px;
}




.template-3-column {
  columns: 3;
  column-gap: 16px;
}

.template-3-column>div {
  break-inside: avoid-column;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .template-3-column {
    columns: 2;
  }
}

@media (max-width: 768px) {

  .template-2-column,
  .template-3-column {
    columns: 1;
  }
}

/*****
CONTACT
*****/
@media (max-width: 768px) {
  .page-contact .block-contact {
    flex-direction: column;
  }
}

.block-contact .title {
  font-size: 46px;
  padding-bottom: 16px;
}

.block-contact img {
  max-width: 50%;
  height: fit-content;
  padding-right: 24px;
}

.block-faq img {
  max-width: 900px;
  display: block;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 56px;
}

.block-faq button {
  background-color: #ffffff;
  color: #000000;
  border-radius: 26px;
  border: 0;
  width: 100%;
  height: 48px;
  font-size: 22px;
  text-align: left;
  padding: 0 24px;
  border: 2px solid #000000;

}

.block-faq button:hover {
  background-color: #000000;
  color: #ffffff;
}

.block-faq .collapse-question {
  position: relative;
  margin: 8px;
  width: calc(50% - 16px);
}

@media (max-width: 1024px) {
  .block-faq .collapse-question {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .block-faq button {
    font-size: 16px;
  }
}

.block-faq button.collapsed::before {
  content: "+ ";
}

.block-faq button::before {
  content: "- ";
}

.block-faq .collapse-question p {
  padding: 24px 0;
}

#loading {
  display: flex;
  justify-content: center;
  margin: 40px;
}

.is-hidden {
  display: none !important;
}