/* COMPOSITION DE LA PAGE */
* {
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}
html::-webkit-scrollbar {
  width: 5px;
}
html::-webkit-scrollbar-thumb {
  background-color: rgb(255, 208, 52, 0.5);
  border-radius: 2px;
  transition: all 3s ease-in-out;
}
html::-webkit-scrollbar-thumb:hover {
  background-color: rgb(255, 208, 52, 1);
}
body {
  background-color: black;
}
::selection {
  background-color: rgb(255, 208, 52, 0.2);
}
nav {
  position: fixed;
  width: 100%;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: all 0.3s;
}
section {
  background-color: black;
  width: 100%;
  min-height: 90vh;
  height: fit-content;
}
footer {
  background-color: black;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgb(255, 208, 52, 1);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.favicon {
  object-fit: cover;
  width: 100px;
  height: 100%;
}
/* ------------------------------------------------ */
/* SECTION */
.home {
  padding-top: 60px;
  background: url(assets/home.jpg) bottom right no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-around;
}
.about {
  height: 70vh;
  border-top: 1px solid rgb(255, 208, 52);
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-around;
}
.parcours {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-evenly;
  border-top: 1px solid rgb(255, 208, 52);
}
.contact-me {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-top: 1px solid rgb(255, 208, 52);
}
/* ------------------------------------------------ */
/* NAV BAR */
.logo {
  margin-left: 70px;
}

.nav-items {
  margin-right: 40px;
  display: flex;
  justify-content: center;
}
.atems {
  display: flex;
  align-items: center;
  transition: 0.3s;
}
.atems:hover {
  transform: scale(1.1);
}
.atems:hover h3 {
  text-decoration: underline #ffd034;
}
.atems h3,
.atems i {
  transition: 0.3s;
}
.atems:hover h3,
.atems:hover i {
  color: #ffd034;
}

.menu {
  transition: 0.3s;
  cursor: pointer;
  display: none;
}
.bar {
  width: 35px;
  height: 5px;
  border-radius: 2px;
  background-color: #ffffff;
  margin: 6px;
  transition: 0.4s;
  cursor: pointer;
}
/* ------------------------------------------------ */
/* BALISES */
a {
  text-decoration: none;
}
li,
ul {
  list-style: none;
}

.li-active h3,
.li-active i {
  color: rgb(255, 208, 52);
  transform: scale(1.1);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  color: white;
}
/* SPAN */
.gmc,
.gmc a {
  color: rgb(255, 83, 83);
}
.surlign {
  color: #ffd034;
}
.surlign a {
  color: #ffd034;
}
.blur {
  text-shadow: 0px 0px 15px #ffd034;
}
.html {
  color: #d84924;
}
.css {
  color: #2449d8;
}
.js {
  color: #ead41c;
}
/* ------------------------------------------------ */
/* ICON - FONT AWESOME */
.items-icon {
  color: white;
  margin-left: 10px;
  margin-right: 30px;
}
/* FUNCTION JS*/
.change .first {
  transform: translate(0, 11px) rotate(-45deg);
}
.change .second {
  opacity: 0;
}
.change .thirst {
  transform: translate(0, -11px) rotate(45deg);
}
/* ------------------------------------------------ */
/* TEXT & IMG*/
.logo h2 {
  font-family: "Comforter Brush", cursive;
  font-family: "Nerko One", cursive;
}
.home h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
}
.home-img img {
  border: 3px solid gray;
  border-radius: 40px;
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center;
}
.home-img {
  width: 300px;
  height: 300px;
  border-radius: 40px;
  -webkit-box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
  box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
}
.about-text {
  margin-top: 50px;
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.first-p p {
  margin: 30px;
  padding: 10px;
  color: rgb(222, 222, 222);
  background-color: #0d1117;
  -webkit-box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
  box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
  border: 2px solid #151b24;
  border-radius: 10px;
  font-size: 18px;
}

.about-img {
  margin-right: 50px;
  width: 300px;
  height: 300px;
  border-radius: 40px;
  -webkit-box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
  box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
}
.about-img img {
  border: 3px solid gray;
  border-radius: 40px;
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center;
}
.parcours-text {
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.parcours-text p {
  margin: 30px;
  padding: 10px;
  color: rgb(222, 222, 222);
  background-color: #0d1117;
  -webkit-box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
  box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
  border: 2px solid #151b24;
  border-radius: 10px;
  font-size: 18px;
}
.parcours-img {
  width: 300px;
  height: 300px;
  border-radius: 40px;
  -webkit-box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
  box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
}
.parcours-img img {
  border: 3px solid gray;
  border-radius: 40px;
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center;
}
.contact-me-title {
  margin-top: 20px;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-me-others {
  width: 100%;
  height: 100%;
  display: flex;
}

/* ------------------------------------------------ */
.social-network {
  margin-left: 50px;
  width: 100px;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.sn3 {
  height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.social-item {
  height: 40px;
  width: 40px;
  margin-right: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s;
}
.social-item:hover {
  transform: scale(1.2);
  border: 3px solid #ffd034;
  background-color: white;
}
.social-item:hover .fa-facebook-f {
  color: #4267b2;
}
.social-item:hover .fa-instagram {
  color: #d6249f;
  color: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.social-item:hover .fa-snapchat {
  color: black;
  background-color: #fffc00;
  border-radius: 100%;
}
.social-item:hover .fa-tiktok {
  color: black;
  border-right: 2px solid #ff0050;
  border-left: 2px solid #00f2ea;
  border-radius: 100%;
}
.social-item:hover .fa-twitter {
  color: #1da1f2;
}
.social-item:hover .fa-discord {
  color: #7289da;
}
.social-icon {
  font-size: 20px;
}
.partsn {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.ctc-img img {
  border: 3px solid gray;
  border-radius: 40px;
  width: 300px;
  height: 350px;
  object-fit: cover;
  object-position: center;
}
.ctc-img {
  width: 300px;
  height: 300px;
  border-radius: 40px;
  -webkit-box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
  box-shadow: 0px 0px 25px 9px rgba(97, 97, 97, 0.5);
}
.container {
  width: 100%;
  margin-left: 20px;
}

.form-group {
  margin: 20px;
}
.form-group h5 {
  display: block;
  margin: 20px;
  color: white;
  font-size: 20px;
  text-decoration: underline;
}
input,
textarea {
  color: white;
  width: 80%;
  padding: 10px;
  box-sizing: border-box;
  outline: none;
  resize: none;
  border: none;
  border-bottom: 1px solid #d3d3d3;
  background-color: rgba(128, 128, 128, 0.2);
}

input[type="name"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-bottom: 2px solid rgb(255, 208, 52, 0.7);
}
textarea::-webkit-scrollbar {
  width: 4px;
}
textarea::-webkit-scrollbar -thumb {
  background-color: rgb(255, 208, 52, 0.7);
  border-radius: 2px;
}

button[type="submit"] {
  padding: 5px;
  margin-top: 30px;
  margin-left: 30px;
  width: 100%;
  max-width: 150px;
  background-color: rgba(128, 128, 128, 0.2);
  color: white;
  font-size: 17px;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.3s;
  border-radius: 7px;
}
button[type="submit"]:hover {
  color: rgb(255, 208, 52, 0.7);
  transform: scale(1.1);
  text-decoration: underline;
}

.scroll_to_top {
  position: fixed;
  bottom: 35px;
  right: 25px;
  height: 35px;
  width: 35px;
  display: grid;
  place-items: center;
  transition: 0.3s;
  border-radius: 50%;
  border: 2px solid#ffffff;
  color: white;
  cursor: pointer;
  background-color: rgb(0, 0, 0, 0.7);
}
.scroll_to_top:hover {
  transform: scale(1.3);
  background-color: white;
  border: 2px solid #7289da;
  border-radius: 50%;
}
.scroll_to_top:hover .disc {
  color: #7289da;
}
.discord-logo.rotate {
  transform: rotate(-360deg);
  transition: all 0.5s ease;
}

.modal {
  height: 0vh;
  width: 0vw;
  background-color: rgb(0, 0, 0);
  position: fixed;
  bottom: 35px;
  right: 25px;
  border-radius: 20px;
  -webkit-box-shadow: 0px 0px 18px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 18px 3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.modal.active {
  height: 450px;
  width: 350px;
}
.scroll_to_top.focus {
  background-color: white;
  border: 2px solid #7289da;
  color: #7289da;
}
