* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: sans-serif;
  color: #03060c;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

a img {
  opacity: 0.8;
}

a img:hover {
  opacity: 1;
}

.arch>.image-architicture {
  width: 300px;
}

.architict>.image-architicture {
  width: 150px;
}

.arch2 {
  display: block;
}

.architict {
  padding: 20px;
}

.architict-info {
  padding: 20px;
  text-align: justify;
  font-size: 14px;
}

.topbar {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  padding: 15px;
  z-index: 4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.topbar nav {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: flex-start;
}

.topbar nav a {
  color: #638fc3;
  font-weight: bold;
  margin: 0 20px;
  white-space: nowrap;
}

.first a {
  color: #3f6592;
}

.social {
  flex: 1;
  padding-top: 25px;
  text-align: center;
}

.social img {
  width: 10%;
}

.social a {
  padding: 0 12px;
  opacity: 0.8;
}

.content {
  width: 100%;
}

.imgComp {
  width: 50%;
}

.first img {
  width: 5%;
}

.side {
  font-size: 10px;
}

.top img {
  width: 5%;
  position: fixed;
  right: 0;
  bottom: 0px;
  z-index: 10;
}

.phone img {
  width: 9%;
}

.top-button {
  display: none;
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 99;
  font-size: 10px;
  border: 1px solid #ffffff;
  outline: none;
  background-color: #054889;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
}

.container {
  display: block;
  margin-top: 85px;
}

.side {
  background-color: #3f6592;
  color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  text-align: center;
}

.cv-sidbar {
  color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  overflow: hidden;
  background-color: #3f6592;
  box-shadow: 0 4px 10px #638fc3;
}

.menu-cv {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  text-align: center;
  background-color: #3f6592;
  color: rgba(255, 255, 255, 0.8);
  padding: 20px;
}

.menu-cv a {
  box-shadow: 0 4px 10px #638fc3;
  width: 100%;
  padding: 2px;
  margin: 0 0;
  color: inherit;
}

.photo {
  width: 17%;
  border-radius: 50%;
  border: solid 2px rgba(255, 255, 255, 0.8);
}

.donees {
  float: right;
  text-align: center;
  font-size: 12px;
}


.section {
  padding: 100px 20px 0 20px;
  margin-top: 300px;

  height: 1000px;
  width: 100%;
  display: table;
  pointer-events: none;
  z-index: 0;
  -webkit-transition: transform 0.45s cubic-bezier(0, 0, 0.21, 1);
  transition: transform 0.45s cubic-bezier(0, 0, 0.21, 1);
}

#section1 {
  margin-top: 0px;
}



#section2 {
  margin-top: 0px;
}

#section3 {
  margin-top: 0px;
}

#section4 {
  /* margin-bottom: 400px; */
  margin-top: 0;
}

a[id="one"]:target~#one {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

a[id="two"]:target~#two {
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
}


.section-title {
  color: #3f6592;
  font-weight: bold;
}

.competence {
  display: flex;
  padding: 5px;
}

.nomCompetence {
  flex: 2;
  color: darkslategray;
}

.imageCompetence {
  flex: 1;
}

/* 
hr{
  position: fixed;
  height: 2px;
  background-color: red;
  top: 40%;
  left: 0;
  right: 0;
  width: 100%;
  border: none;
} */
.footer {
  font-size: 0.8em;
  position: relative;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 5px;
  height: 45px;
  background-color: #3f6592;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  box-shadow: 0 -5px 10px #638fc3;
}

.phone {
  flex: 1;
}

.mail {
  flex: 2;
}

.mail a {
  color: #fff;
}

.mail img {
  width: 5%;
}

.first a:hover,
.menu-cv a:hover,
.menu-cv a:active {
  color: #638fc3;
}

.topbar nav a:hover,
.topbar nav a.active {
  color: #3f6592;
}

/*  */

.first a {
  display: block;
  padding-bottom: 5px;
  text-align: left;
  word-break: break-all;
}

.col-4,
.col-6,
.col-3,
.col-8,
.col-12 {
  margin: 15px;
  padding: 15px;
  flex-shrink: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.col-4 {
  flex-basis: 33.33%;
}

.col-8 {
  flex-basis: 66.66%;
}

.col-12 {
  flex-basis: 100%;
}

.wrap {
  flex-wrap: wrap;
}

.col-6 {
  flex-basis: 50%;
}

/*  */

.menu-cv a.active {
  color: #638fc3;
}

.server>ul {
  list-style: none;
}

@media only screen and (min-width: 800px) {
  .flex {
    display: flex;
  }

  .container {
    margin-top: 53px;
    display: flex;
  }

  .side {
    flex-basis: 20%;
    max-width: 20%;
    padding-top: 70px;
  }

  .main {
    flex: 3;
    display: flex;
    margin-top: -5px;
  }

  .social {
    padding-top: 0;
  }

  .topbar nav {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: unset;
  }

  .cv-sidbar {
    flex: 0.5;
    text-align: center;
  }

  .donees {
    float: none;
  }

  .cv-content {
    flex: 3;
  }

  .contenus {
    font-size: 14px;
  }

  .top img {
    width: 3%;
    bottom: 0;
  }

  .social img {
    width: 3%;
  }

  .mail {
    text-align: center;
  }

  .mail img {
    width: 2%;
  }

  .menu-cv {
    flex-wrap: nowrap;
    flex-direction: row;
    padding: 0;
    position: fixed;
    max-width: 84%;
    padding: 0.8em 1.5em 0.5em 0;
  }

  .menu-cv a {
    line-height: 30px;
    padding: 7px;
  }

  .footer {
    font-size: 1.2em;
    height: 50px;
  }

  .phone img {
    width: 5%;
  }

  .imgComp {
    width: 25%;
  }

  .photo {
    width: 75%;
    margin: 40px 0 0 0;
  }

  .section {
    padding: 100px 20px 0 20px;
    margin-top: 300px;

    height: 1000px;
    width: 100%;
    display: table;
    pointer-events: none;
    z-index: 0;
    -webkit-transition: transform 0.45s cubic-bezier(0, 0, 0.21, 1);
    transition: transform 0.45s cubic-bezier(0, 0, 0.21, 1);
  }

  #section1 {
    margin-top: 0px;
  }

  #section2 {
    margin-top: 0px;
  }

  #section3 {
    margin-top: 0px;
  }

  #section4 {
    /* margin-bottom: 400px; */
    margin-top: 0;
  }

  .sections {
    /* margin-top: 50px;
    padding-bottom: 75px; */
  }

  .first img {
    width: 2%;
  }

  .arch2 {
    display: flex;
  }
}