@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-transform: capitalize;
  transition: .2s linear;
  text-decoration: none;

}
a{
  color: rgb(255, 255, 254);
}
body {
  background-color: black;
  border-radius: 10px;
  font-family: 'poppins',sans-serif;
}
nav{
  background-color: black;
}
.home{

  background-size: cover;
}
.main {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.center {
  display: flex;
  flex-direction: column;
  width: calc(100% - 160px);
}

.center.collapse {
  width: calc(100% - 85px);
}

::-webkit-scrollbar {
  width: 10px;
  height: 5px;
  overflow: hidden;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 8px rgb(11, 12, 11);
}
::-webkit-scrollbar-thumb {
  background-color: rgb(55, 19, 19);
  border-radius: 10px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 25px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn-primary {
  background-color: #910404;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-secondary {
  background-color: #f1f1f1;
  color: #333;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.contact{
  border:  1px solid rgb(84, 36, 36);
  position: relative;
  height: 82vh;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 1px 1px 4px rgb(122, 23, 33);

}
.content {
  max-width: 800px;
  text-align: center;
}
.content h2{
  font-size: 36px;
  font-weight: 500;
  color: #f1f1f1;
}
.content p{
  font-size: 16px;
  font-weight: 200;
  color: #f1f1f1;
}
.container{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;

}
.container .contactinfo{
  width: 40%;
  display: flex;

  flex-direction: column;
}
.container .contactinfo .box{
  position: relative;
  padding: 10px 0;
  display: flex;
  margin-left: -20%;
}
.container .contactinfo .box .icon{
  min-width: 60px;
  height: 60px;
  background: #faf7f7af;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 24Px;
}
.container .contactinfo .box .icon:hover{
  color: #e2d9d9;
  background-color: #620909;
  cursor: pointer;
  box-shadow: 1px 1px 10px rgb(180, 48, 65);
}
.container .contactinfo .box .text{
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color: #f1f1f1;
  flex-direction: column;
  font-weight: 200;
}
.container .contactinfo .box .text h3{
  color: #e9dbdb;
}
.contactform{
  width: 40%;
  margin-left: 10%;
  padding: 35px;
  border: 1px solid rgb(122, 23, 33);
  border-radius: 30px;
  margin-top: -1%;
 
}
.contactform h2{
  font-size: 30px;
  color: #f1f1f1;
  
}

.contactform .inputbox{
  position: relative;
  width: 100%;
  margin-top: 10px;

}
.contactform .inputbox input ,
textarea{
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
 background-color: rgb(17, 15, 15);
border: none;
border-bottom: 1px solid rgb(126, 27, 27);
outline: none;
resize: none;
color: #f1f1f1;
} 
.contactform .inputbox  span{
color: #f1f1f1a6;
position: absolute;
left: 0;
padding: 5px 0;
font-size: 16px;
margin: 10px 0 ;

pointer-events: none;
transition: 0.5s;
}
.contactform .input input{
  padding: 5px 15px;
  font-size: 16px;
 background-color: rgb(17, 15, 15);
border: none;
border: 1px solid rgb(126, 27, 27);
outline: none;
cursor: pointer;
margin-top: 4%;
margin-left: 35%;
color: #f1f1f1;
}
.contactform .inputbox input:focus ~ span,
.contactform .inputbox input:valid ~ span,
.contactform .inputbox textarea:focus ~ span,
.contactform .inputbox textarea:valid ~ span  {
  color: #910404;
  font-size: 12px;
  transform: translateY(-20px);
} 
#videoModal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#videoModal .modal-content {
  position: relative;
  width: 80%;
  height: 500px;
  max-width: 900px;
  background-color: #ea090900;
}

#videoModal iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  border: none;
 
}

#videoModal .close-btn {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 30px;
  color: #fff;
  border-color: #910404;
  cursor: pointer;
}
/* Pour smartphones (iPhone 13: 390px large) */
@media screen and (max-width: 430px) {
  .contact{
    padding: 20px 20px;
    height: 12%;
  }
  .content h2{
    font-size: 26px;
    margin-top: 194%;
    height: 25%;
    position: absolute;
    margin-left: 12%;
   
  }
  .content p{
    font-size: 14px;
    margin-top: 220%;
    
  }
  .container{
    flex-direction: column;
    align-items: center;
  }
  .contactform{
    margin-top: 20px;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    
  }
  .container .contactinfo{
    width: 100%;
    align-items: center;
  }
  .container .contactinfo .box{
    
    justify-content: flex-start;
    width: 90%;
  }
}

/* Pour tablettes */
@media screen and (max-width: 768px) {
  .contact{
    padding: 40px 30px;
  }
  .content h2{
    font-size: 32px;
  }
  .contactform{
    width: 100%;
    padding: 25px;
  }
}
/* Responsive pour tablettes */
@media (max-width: 992px) {
  .right {
    background: linear-gradient(rgba(112, 17, 17, 0.994),rgba(14, 13, 13, 0.233)),url() center;
    background-size: contain;
    height: 80vh;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 5%;
   
    padding-top: calc(5% + 60px);
  }
  .right img {
    position: relative;
    width: 50%;
    margin-left: 52%;
  }
  
}

/* Responsive pour mobiles */
@media (max-width: 768px) {
  .right {
    height: auto;
    gap: 15px;
    align-items: center;
    text-align: center;
    padding: 5%;
  }
  .right img {
    width: 80%;
   
    margin-left: 20%;
  }
  .center .right h1 {
    font-size: 30px;
    margin-top: 20%;
    font-family:Arial, Helvetica, sans-serif
  }
  .btn1 {
    font-size: 16px;
    padding: 10px 18px;
    
  }
}

