/*
Theme Name: cdevperso
Theme URI: https://carinedev.com
Author: Carine LP
Author URI: https://carinedev.com
Description: Un theme  personnalise
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mon-theme
*/

* {
  padding: 0;
  margin: 0;
  font-family: "montserrat", sans-serif;
}

.video-header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-header video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

#cta-button {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  font-size: 18px;
  background: #ff7f50;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: opacity 1s ease-in-out, visibility 0s linear 1s;
  opacity: 0;
  visibility: hidden;
}

#cta-button:hover {
  background: #ff5722;
}


/* others body */
body {
  font-family: 'montserrat', sans-serif;
  background-color: rgb(28, 9, 25);
  color: #F8E8FF;
  text-align: center;
}

header {
  background: linear-gradient(100deg, #1c0818 30%, #21053f 60%, #02133e 10%, #1c0122 93%);
  padding: 20px;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

h1, h2 {
  color: #ecbff8;
}

.timeline {
  list-style-type: none;
  padding: 0;
}

.timeline li {
  background: rgba(255, 255, 255, 0.1);
  margin: 10px auto;
  padding: 10px;
  width: 60%;
  border-radius: 8px;
}


/* main body */
.container {
  background: rgb(28, 9, 25);
  background: linear-gradient(100deg, #1c0818 30%, #21053f 60%, #02133e 10%, #1c0122 93%);
  overflow: hidden;
}

.salute {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.saluteTextContainer {
  flex: 3;
}

.saluteImgContainer {
  flex: 1;
  height: 65vh;
}

.saluteText {
  color: #fbf6fe;
  font-size: 40vw;
  cursor: default;
  font-family: "MoonDance", serif;
  font-weight: 400;
  font-style: normal;
}
.saluteImg {
  width: 130%;
}

.nameContainer {
  height: 90vh;
  background-color: #140B1E;
}

.name {
  font-size: 15vw;
  color: #ecbff8;
  cursor: default;
  text-align: center;
  line-height: 90vh;
  font-family: "MoonDance", serif;
  font-weight: 400;
  font-style: normal;
}
.nationalityContainer {
  background-color: #140B1E url("images/eiffel-tower.png");
}

.nationality {
  font-size: 15vw;
  color: #fefefe;
  text-align: center;
  font-family: "MoonDance", serif;
  font-weight: 400;
  font-style: normal;

}

.jobTitleContainer {
  height: 100vh;
}

.dark {
  background:#140B1E url("images/backgroundtech-5.png");
}

.white {
  background: #18062c url("images/backgroundtech-1.png");
}

.jobTitle {
  font-size: 10vw;
  color: #ffffff;
  line-height: 100vh;
  cursor: default;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 30vh;
  padding: 10px 20px;
}

.projectsTitle {
  font-size: 10vw;
  color: #fbf6fe;
}

.project {
  display: flex;
  align-items: center;
  gap: 100px;
  height: 100vh;
  overflow: hidden;
}

.project:nth-child(2n) {
  flex-direction: row-reverse;
}

.phone {
  flex: 1;
  width: 300px;
  height: 600px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phoneScreen {
  width: 264px;
  height: 567px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  overflow: scroll;
}


.phoneScreen::-webkit-scrollbar {
  display: visible;
}

.phoneApp {
  width: 100%;
}

.projectDetail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

.projectTitle {
  font-size: 7vw;
  color: #fbf6fe;
}

.projectDesc {
  font-size: 20px;
  color: #fbf6fe;
  text-align: justify;
  line-height: 40px;
}

.projectButton {
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid #fbf6fe;
  color: #fbf6fe;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.projectButton::after {
  content: "View Demo";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  transition: 1s all;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fbf6fe;
  color: #222;
}

.projectButton:hover.projectButton::after {
  transform: translateX(100%);
}

.laptop {
  width: 600px;
  height: 379px;
  flex: 1;
  position: relative;
}

.laptopScreen {
  width: 451px;
  height: 283px;
  position: absolute;
  top: 18px;
  left: 68px;
  overflow: scroll;
}

.laptopApp {
  width: 100%;
}

.laptopScreen::-webkit-scrollbar {
  display: visible;
}

.githubTitle {
  text-align: center;
  font-size: 80px;
  color: #fbf6fe;
}

.githubChart {
  width: 820px;
  text-align: center;
}

.button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #A66EFF;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}
.button-about {
  display: inline-block;
  margin-top:-45px;
  padding: 10px 20px;
  background: #A66EFF;
  color: white;
  text-decoration: none;
  font-size: 50px;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}
.button:hover .button-about:hover {
  background: #ff50b0;
}

.boxContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.box {
  width: 15px;
  height: 15px;
  background-color: #171c25;
  border-radius: 2px;
  cursor: pointer;
  transition: 3s all ease;
}

.active:nth-child(4n) {
  background-color: #fbf6fe;
}

.githubChart:hover .active:nth-child(2n+1){
  background-color: #fbf6fe;
}
.githubChart:hover .active:nth-child(2n){
  background-color: #fbf6fe;
}

.githubSm{
  display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color:#fbf6fe;
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}

/* contact */
.contact-container {
  max-width: 700px;
  margin: 50px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.contact-container h2 {
  color: #E23EFF;
  margin-bottom: 15px;
}

.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group label {
  font-weight: bold;
  display: block;
  color: #A66EFF;
}

.input-group input, .input-group textarea {
  width: 100%;
  padding: 5px;
  border: 1px solid #A66EFF;
  border-radius: 5px;
  background: #140B1E;
  color: #F8E8FF;
  font-size: 16px;
  transition: border 0.3s;
}
.input-group textarea {
  resize: vertical; /* Permet uniquement le redimensionnement en hauteur */
  min-height: 100px;
  max-height: 300px;
}

.input-group input:focus, .input-group textarea:focus {
  border-color: #E23EFF;
  outline: none;
}

button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #E23EFF;
  color: white;
  border: none;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #A66EFF;
}

#statusMessage {
  margin-top: 15px;
  font-size: 16px;
  color: #F8E8FF;
}

.hidden {
  display: none;
}
/* Template-pages 
.project-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.project-description {
  background: #140B1E;
  color: #F8E8FF;
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  text-align: left;
}

.project-preview {
  margin-top: 20px;
  width: 100%;
}

.project-preview iframe {
  border: 2px solid #A66EFF;
  border-radius: 8px;
}
*/




/* footer*/
footer {
  background: #140B1E; /* Couleur de fond */
  color: #F8E8FF; /* Couleur du texte */
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px;
}

.rights {
  margin: 0 10px;
  margin-top: 10px;
  text-align: left;
}
.social-links {
  margin-top: 10px;
}

.social-links a {
  color: #A66EFF;
  font-size: 22px;
  margin: 0 10px;
  transition: color 0.3s ease-in-out;
}

.social-links a:hover {
  color: #ff50b0; /* Effet au survol */
}

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

  .projects{
    padding: 0 30px;
    text-align: center;
  }

  .project{
    flex-direction: column;
    height: max-content;
  }
  .project:nth-child(2n){
    flex-direction: column;
  }

  .phone,.laptop{
    transform: none !important;
  }
  
  .githubChart{
    display: none;
  }

  .githubTitle{
    text-align: center;
    font-size: 10vw;
  }

  .githubSm{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color:#fbf6fe;
    font-size: 30px;
    text-align: center;
  }
}