* {
  margin: 0;
  padding: 0;
}

body {
  background-color: black;
  color: #4e4e4e;
}

#principalNav{
  background-color: white;
}

.nav-item a{
  color: rgb(174, 25, 25);
  font-weight: 600;
}

.navbar-brand {
  color: rgb(174, 25, 25);
  font-weight: 600;
  font-size: 25px;
}

.navbar-brand:hover{
  color: rgb(174, 25, 25);
}

.intro {
  height: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-titre {
  color: #fff;
  font-weight: 600;
  font-size: 70px;
}

.intro .intro-sous-titre {
  font-size: 40px;
  font-weight: 300;
}

.text-slider-items{
  display: none;
}

.about{
  height: 125vh;
  padding-top: 100px;
  padding-bottom: 64px;
}

.white-box{
  background-color: #fff;
  padding: 60px 40px;
}

.about-titre{
  font-weight: 600;
  color: #1e1e1e;
  font-size: 18px;
  margin: 20px 0;
}

.competences-icones{
  display:flex;
  flex-wrap: wrap;
  margin-top: 25px; 
}

.skill-text{
  margin-bottom: 0;
}

.tools{
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin-right: 10px;
  width: 100px;
}

.skills-icons{
  height: 50px;
  width: auto;
}

h5{
  color: #1e1e1e;
}

.titre-principal{
  font-size: 35px;
  margin: 20px 0;
}

.about-text{
  font-size: 20px;
  font-weight: lighter;
}

.rounded-button{
  text-decoration: none;
  color: #fff;
  padding: 5px 20px;
  background-color: rgb(174, 25, 25);
  border-radius: 20px;
}

.rounded-button:hover{
  text-decoration: none;
  color: white;
  background-color: rgb(208, 29, 29);
}

.icon-new-window{
  height: 20px;
  margin-bottom: 5px;
}

.competences{
  margin: 20px 0;
}

.title-box{
  margin: 75px;
}

.portfolio-titre{
  font-size: 50px;
  color: #dadada;
  margin: 30px;
}

.portfolio-sous-titre{
  color: #a4a4a4;
  font-size: 18px;
}

.work-box{
  margin: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.work-img img:hover{
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.dev-work{
  display:flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0 75px;
}

.work-img-dev img {
  height: 215px;
}

.work-img-dev img:hover{
  transform: scale(1.1);
  transition: transform 0.5s ease;
}


.work-title{
  background-color: #000;
  margin-bottom: 0;
  padding: 20px 0;
  text-align: center;
  color: #dadada;
}

.footer {
  padding: 70px 0;
  position: relative;
}

.overlay-footer {
  background-color: rgb(174, 25, 25);
}

.overlay-footer {
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
  opacity: .7;
}

#contact{
  background-color: #fff;
  padding: 40px;
}

.footer{
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
}

.footer-titre{
  margin-bottom: 50px;
}

.footer-form{
  margin-right: 25px;
}

.more-info li{
  list-style: none;
}

.socials{
  display: flex;
}

.socials {
  padding: 24px 0;
}

.socials ul li {
  display: inline-block;
}

.socials .socials-icon {
  height: 35px;
  width: 35px;
  padding: 2px;
  border-radius: 50%;
  line-height: 1.2;
  margin: 0 15px 0 0;
  box-shadow: 0 0 0 3px rgb(174, 25, 25);
  transition: all 0.5s ease;
}

.socials .socials-icon:hover {
  background-color: rgb(174, 25, 25);
  color: #fff;
  box-shadow: 0 0 0 3px #cde1f8;
  transition: all 0.5s ease;
}

.rounded-button-submit{
  background-color: rgb(174, 25, 25);
  border-radius: 20px;
  padding: 5px 20px;
  color: white;
  border-style: none;
  cursor: pointer;
}

.rounded-button-submit:hover{
  background-color: white;
  color: rgb(174, 25, 25);
  border: 1px solid rgb(174, 25, 25);
}

@media screen and (max-width: 768px) {

  .intro-titre{
    font-size: 50px;
  }

  .intro-sous-titre{
    font-size: 30px;
  }

  .about{
    height: 200vh;
  }

  .white-box {
    background-color: #fff;
    padding: 50px 20px;
  }

  .dev-work{
    margin: 0 25px;
    gap: 10px;
  }

  .work-img-dev img {
    height: 175px;
  }

  #contact{
    padding: 40px 30px;
  }

}


@media screen and (max-width: 320px) {

  .nav-item{
    font-size: 12px;
  }

  .intro-titre {
    font-size: 35px;
    margin-top: 50px;
  }

  .intro .intro-sous-titre {
    font-size: 20px;
  }

  .white-box{
    padding: 30px 20px;
  }

  .about{
    height: 325vh;
  }

  .about-info{
    margin: 20px 0;
  }

  .portfolio-titre{
    font-size: 25px;
    margin: 0;
  }

  .portfolio-sous-titre{
    margin-top: 1rem; 
  }

  .title-box{
    margin: 35px;
  }

  .work-box{
    margin: 25px 5px;
  }

  .dev-work{
    margin: 25px 0;
  }

  .work-img-dev img {
    height: 130px;
  }

  .work-title{
    font-size: 15px;
  }

  #contact{
    padding: 40px 20px;
  }
}


