@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@300;400;700;800&display=swap');

/* Opactiy */

.opacity-80 {
  opacity: 80%;
}

/* Text colors */

.text-dark-blue {
  color: #28293E;
}

.text-dark-brown {
  color: #391400;
}

.text-dark-orange {
  color: #EF6D58;
}

.text-light-orange {
  color: #FDF0E9;
}

.text-white {
  color: #FFFFFF;
}


/* Background colors */

.background-dark-blue {
  background-color: #28293E;
}

.background-dark-brown {
  background-color: #391400;
}

.background-dark-orange {
  background-color: #EF6D58;
}

.background-light-orange {
  background-color: #FDF0E9;
}

.background-white {
  background-color: #FFFFFF;
}


/* Fonts */

h1 {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 800;
  font-size: 72px;
  line-height: 80px;
  letter-spacing: -2px;
}

h2 {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 800;
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -1px;
}

h3 {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 800;
  font-size: 30px;
  line-height: 48px;
}

h4 {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 0px;
}

h5 {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

li {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 32px;
}

p {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
}

p.large {
  font-size: 20px;
}


/* Buttons */

.button-orange {
  padding: 18px 25px;
  border-radius: 30px;
  background-color: #EF6D58;
  color: #FFFFFF;
  transition: background-color 0.5s;
  display: block;
  width: fit-content;
}

.button-orange:hover {
  text-decoration: none;
  background-color: #D15541;
  color: #FFFFFF;
}

.button-white {
  padding: 18px 25px;
  border-radius: 30px;
  background-color: #FFFFFF;
  color: #391400;
  transition: background-color 0.5s;
  display: block;
  width: fit-content;
}

.button-white:hover {
  text-decoration: none;
  background-color: #FFFFFF;
  color: #391400;
}

.button-transparent {
  padding: 18px 25px;
  border-radius: 30px;
  color: #FFFFFF;
  transition: color 0.5s;
  display: block;
  width: fit-content;
}

.button-transparent:hover {
  text-decoration: none;
  color: #FFFFFF;
  opacity: 80%;
}

.button-outlined {
  padding: 12px 20px;
  border-radius: 30px;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  transition: color 0.5s;
  display: block;
  width: fit-content;
}

.button-outlined:hover {
  text-decoration: none;
  color: #28293E;
  background-color: #FFFFFF;
}

/* Links */

.link-orange {
  color: #EF6D58;
  transition: background-color 0.5s;
}

.link-orange:hover {
  color: #D15541;
  text-decoration: none;
}

/* Badges */

.badge {
  padding: 15px 18px 12px 18px;
  border-radius: 30px;
  background-color: #FFFFFF;
  color: #391400;
  display: block;
  width: fit-content;
  text-align: center;
  margin-right: 1rem;
}

/* Sections */

section {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}

/* Navigation */

#main-nav {
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
}

#main-nav .navbar-toggler {
  font-size: 1.5rem;
}

nav li:not(:last-child) {
  margin-right: 30px;
}

nav li a {
  color: #FFFFFF;
  transition: 500ms;
}

nav li a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

nav li a.active {
  text-decoration: underline;
  font-weight: bold;
}

@media (max-width: 992px) {

  nav ul {
    margin-top: 1.5rem;
  }

  nav li:not(:last-child) {
    margin-bottom: 5px;
  }

}


/* Master header */

header {
  padding-top: calc(6rem + 74px);
  padding-bottom: 6.25rem;
}

.masthead-avatar {
  width: 15rem;
}


/* Projects grid */

.projects-grid {}

.project-card {
  border-radius: 8px;
}

.project-card img {
  width: 100%;
  height: 300px;
  object-fit: fill;
  border-radius: 8px;
}

.project-card .overflow {
  opacity: 0;
  position: absolute;
  width: calc(100% - 30px);
  height: 100%;
  top: 0;
  z-index: 10;
  padding-left: 20px;
  padding-bottom: 10px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.project-card:hover .overflow {
  opacity: 1;
}

.project-card:hover img {
  opacity: 0.5;
}

.img-acceuil {
  width: 100%;
  height: 300px;
  object-fit: fill;
  15: 14 18/11/2022
}

.portfolio .portfolio-item {
  cursor: pointer;
  position: relative;
  display: block;
  max-width: 25rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-item-caption {
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  background-color: rgba(80, 80, 150, 0.9);
}

.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
  font-size: 1.5rem;
}

.portfolio-modal .portfolio-modal-title {
  font-size: 2.25rem;
  line-height: 2rem;
}

@media (min-width: 992px) {
  .portfolio-modal .portfolio-modal-title {
    font-size: 3rem;
    line-height: 2.5rem;
  }
}

.portfolio-modal .close {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  top: 1rem;
  font-size: 3rem;
  line-height: 3rem;
  color: #17a2b8;
  opacity: 1;
}


/* Experiments */

.experiment-item {
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.experiment-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  margin-right: 24px;
  border-radius: 8px;
}

.experiment-item p.text-dark-brown {
  text-align: left;
  flex-grow: 2;
}

.experiment-item:hover {
  text-decoration: none;
}

.divider {
  background-color: #ef6d5857;
  height: 1px;
}

/* Blog Items*/

.blog-item {
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.blog-item img {
  width: 240px;
  height: 160px;
  object-fit: cover;
  margin-right: 24px;
  border-radius: 8px;
}

.blog-item p.text-dark-brown {
  text-align: left;
  flex-grow: 2;
}

.blog-item:hover {
  text-decoration: none;
}

/* Informations section */

section#informations {
  padding: Opx;
}

.information-box {
  border-top: 1px solid #EF6D58;
  border-left: 1px solid #EF6D58;
  border-bottom: 1px solid #EF6D58;
  padding: 20px 30px;
}

.information-box:last-child {
  border-right: 1px solid #EF6D58;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.information-box:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.information-box-title {
  display: flex;
  align-items: center;
}

.information-box-title>div {
  border-radius: 30px;
  width: 52px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#informations .row.background-dark-orange {
  border-radius: 8px;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 100px;
  padding-right: 100px;
}


.divider-custom {
  margin: 1.25rem 0 1.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider-custom .divider-custom-line {
  width: 100%;
  max-width: 7rem;
  height: 0.25rem;
  background-color: #2c3e50;
  border-radius: 1rem;
  border-color: #2c3e50 !important;
}

.divider-custom .divider-custom-line:first-child {
  margin-right: 1rem;
}

.divider-custom .divider-custom-line:last-child {
  margin-left: 1rem;
}

.divider-custom .divider-custom-icon {
  color: #2c3e50 !important;
  font-size: 2rem;
}

.divider-custom.divider-light .divider-custom-line {
  background-color: #fff;
}

.divider-custom.divider-light .divider-custom-icon {
  color: #fff !important;
}


.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #2c3e50;
  color: #fff;
}

.copyright {
  background-color: #1a252f;
}



.btn-social {
  border-radius: 100%;
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  justify-content: center;
  align-items: center;
}

.scroll-to-top {
  z-index: 1042;
  right: 1rem;
  bottom: 1rem;
  display: none;
}

.scroll-to-top a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(33, 37, 41, 0.5);
  line-height: 3.1rem;
}

.img-text {
  opacity: 0;
}

.img-container:hover>.img-text {
  opacity: 1;
}

.img-container:hover>.img-acceuil {
  opacity: 0.5;
}