/* No-op placeholder to align context */
/* This is a placeholder comment to maintain the structure of the CSS file */
/* Additional context can be added here if needed */
/* Styles pour les flocons de neige */
#snow{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1000;
}
.snowflake{
  position: absolute;
  top: -10vh;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  will-change: transform, opacity;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}
@keyframes fall{
  to{
    transform: translateY(120vh) rotate(360deg);
    opacity: 0;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;800&display=swap");
* {
  font-family: "Poppins", sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');

*, *:before, *:after {
  box-sizing: border-box;
}


body{
    
    background-image: url("https://images.unsplash.com/photo-1718376282635-f8cfb20d2c02?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90b3MtZmVlZHw5NHx8fGVufDB8fHx8fA%3D%3D");
    background-size: cover;
    background-position: center;

}
.logo {
    position: absolute;
    left: 20px;
    width: 100px;
    cursor: pointer;
}

li, a, button,p,h1,h3{
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: bisque;
    text-decoration: none;
    
}
header{
   position: fixed;
   top: 0;
   width: 100%;
   background-color: #000303;
   display: flex;
   justify-content: flex-end;
   align-items: center;
   box-shadow: 2px 2px 10px black;
   z-index:   9999;
}
#home{
   display: flex;
   flex-direction: row;
   justify-content: space-evenly;
   align-items: center;
   margin-top: 150px;

}
#home img{
   width: 350px;
   border-radius: 20px;
}
header:hover{
    box-shadow: 2px 2px 25px black;
    transition: 0.5s;
}
.navlinks li{
    display: inline-block;
    margin: 30px;
    align-items: center;
}
.navlinks li a:hover{
    color: #00abf0;
    text-shadow: 1px 1px 5px black;
}

button{
    width: 100%;
    padding: 12px;
    background-color: #00abf0;
    border-radius: 50px;
    outline: none;
    cursor: pointer;
    transition: all 0.5s, ease 0s;
    border: none;
    z-index: 999;
}
button:hover{
    box-shadow: 1px 1px 5px black;
}
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    z-index: 999;
    background-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow: -3px 0 10px black;
    display: none;
    justify-content: flex-start;
    list-style: none;
    flex-direction: column;
    transition: transform 0.3s ease;
    transform: translateX(100%);
}
.sidebar li{
    width: 100%;
    margin: 25px;
    text-shadow: 1px 1px 2px black;
    
}
.sidebar img{
    position: absolute;
    bottom: 20px;
    width: 100%;
    height: 120px;
}
nav ion-icon{
    font-size: 2em;
    position: absolute;
    top: 35px;
    right: 20px;
}
h2{ 
    color: wheat;
    text-shadow: #002423 -2px 2px 10px;
    font-size: 2em;
    margin: 20%;
    text-align: center;
}

#clique{
  display: none;
}
@media only screen and (min-width: 830px){
    .navlinks ion-icon{
        display: none;
        
    }

   }
   @media only screen and (max-width: 830px){
      .navlinks .items{
         display: none;
      }
      #home{
        flex-direction: column;
      }
      #clique{
        display: inline;
        color: #23c186;
        position: absolute;
        z-index: 9999;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;

      }
}

.home{
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 0 10%;
}
.home-content{
    max-width: 600px;

}
.home-content h1{
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}
.homes{
    padding-top: 50px;
}
.home-content h3{
    position: relative;
    font-size: 32px;
    font-weight: 700;
}

.home-content p{
    position: relative;
    font-size: 16px;
    margin: 20px 0 40px;

}

.home-content .btn-box{
    position: relative;
    width: 100%;
    height: 50px;
    background: transparent;
    display: flex;
    justify-content: space-between;

} 
.btn-box a{
    position: relative;
    width: 45%;
    height: 100%;
    background: #00abf0;
    border:  2px solid #00abf0;
    border-radius: 8px;
    display: inline-flex;
    font-size: 19px;
    color: #000303;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    justify-content: center;
    align-items: center;
    z-index: 1;
    overflow: hidden;
    transition: .5s;

}
.btn-box a:hover{
    color: #00abf0;
}
.btn-box a:nth-child(2){
    background: transparent;
    color: #00abf0;
}
.btn-box a:nth-child(2):hover{
    color: #000303;
}
.btn-box a:nth-child(2)::before{
    background: #00abf0;
}
.btn-box a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #000303;
    z-index: -1;
    transition: .5s;
}
.btn-box a:hover::before{
    width: 100%;
}
.home-sci{
    padding: 20px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}
.home-sci a{
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}
/* .home-sci a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: .5s;
} */
.home-sci a:hover{
    color: #000303;
}
.home-sci a:hover::before{
    width: 100%;
}
.home-imgHover{
    position: absolute;
    top: 0;
    right: 30px;
    width: 500px;
    height: 100%;
    background: transparent;
    transition: 3s;
}
.home-imgHover:hover{
    background: #000303;
    opacity: .8;
}

@keyframes show {
    100%{
        width: 0;
    }
}
.home-content h1::before{
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000303;
    animation: show 1s ease forwards;
    animation-delay: .1s;
}
.home-content h3::before{
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000303;
    animation: show 1s ease forwards;
    animation-delay: .1.3s;
}
.home-content p::before{
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000303;
    animation: show 1s ease forwards;
    animation-delay: .1.6s;
}
.home-content .btn-box::before{
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000303;
    animation: show 1s ease forwards;
    animation-delay: .1.9s;
    z-index: 2;
}

#parts{display: flex;justify-content: center; align-items: center; padding: 15px; background-color: #000303;margin-top: 30px;}
#parts h1{font-size: 2rem;}
.home-content{
    border-radius: 20px;
}
.fadeInRight{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 100px;
    padding: 0  10%;
  }


  #contact .container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .container:hover .top:before, .container:hover .top:after,
  .container:active .top:before, .container:active .top:after,
  .container:hover .bottom:before, .container:hover .bottom:after,
  .container:active .bottom:before, .container:active .bottom:after {
    margin-left: 200px;
    transform-origin: -200px 50%;
    transition-delay: 0s;
  }
  
  .container:hover .center, .container:active .center {
    opacity: 1;
    transition-delay: 0.2s;
    z-index: 90;
  }

  .top:before, .top:after,
  .bottom:before, .bottom:after {
    content: '';
    display: block;
    position: absolute;
    width: 200vmax;
    height: 200vmax;
    top: 50%;
    left: 50%;
    margin-top: -100vmax;
    transform-origin: 0 50%;
    transition: all 0.5s cubic-bezier(0.445, 0.05, 0, 1);
    z-index: 10;
    opacity: 0.65;
    transition-delay: 0.2s;
  }
  
  .top:before {
    transform: rotate(45deg);
    background: #e46569;
  }
  
  .top:after {
    transform: rotate(135deg);
    background: #ecaf81;
  }
  
  .bottom:before {
    transform: rotate(-45deg);
    background: #60b8d4;
  }
  
  .bottom:after {
    transform: rotate(-135deg);
    background: #3745b5;
  }
  
  .center {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.445, 0.05, 0, 1);
    transition-delay: 0s;
    color: #333;
  }
  
  .center input, textarea {
    width: 100%;
    padding: 15px;
    margin: 5px;
    border-radius: 1px;
    border: 1px solid #ccc;
    font-family: inherit;
  }


  .ag-format-container {
   width: 1142px;
   margin: 0 auto;
 }
 
 
 #skill {
   background-color: #000;
 }
 .ag-courses_box {
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: start;
   -ms-flex-align: start;
   align-items: flex-start;
   -ms-flex-wrap: wrap;
   flex-wrap: wrap;
 
   padding: 50px 0;
 }
 .ag-courses_item {
   -ms-flex-preferred-size: calc(33.33333% - 30px);
   flex-basis: calc(33.33333% - 30px);
 
   margin: 0 15px 30px;
 
   overflow: hidden;
 
   border-radius: 28px;
 }
 .ag-courses-item_link {
   display: block;
   padding: 30px 20px;
   background-color: #121212;
 
   overflow: hidden;
 
   position: relative;
 }
 .ag-courses-item_link:hover,
 .ag-courses-item_link:hover .ag-courses-item_date {
   text-decoration: none;
   color: #FFF;
 }
 .ag-courses-item_link:hover .ag-courses-item_bg {
   -webkit-transform: scale(10);
   -ms-transform: scale(10);
   transform: scale(10);
 }
 .ag-courses-item_title {
   min-height: 87px;
   margin: 0 0 25px;
 
   overflow: hidden;
 
   font-weight: bold;
   font-size: 30px;
   color: #FFF;
 
   z-index: 2;
   position: relative;
 }
 .ag-courses-item_date-box {
   font-size: 18px;
   color: #FFF;
 
   z-index: 2;
   position: relative;
 }
 .ag-courses-item_date {
   font-weight: bold;
   color: #f9b234;
 
   -webkit-transition: color .5s ease;
   -o-transition: color .5s ease;
   transition: color .5s ease
 }
 .ag-courses-item_bg {
   height: 128px;
   width: 128px;
   background-color: #f9b234;
 
   z-index: 1;
   position: absolute;
   top: -75px;
   right: -75px;
 
   border-radius: 50%;
 
   -webkit-transition: all .5s ease;
   -o-transition: all .5s ease;
   transition: all .5s ease;
 }
 .ag-courses_item:nth-child(2n) .ag-courses-item_bg {
   background-color: #3ecd5e;
 }
 .ag-courses_item:nth-child(3n) .ag-courses-item_bg {
   background-color: #e44002;
 }
 .ag-courses_item:nth-child(4n) .ag-courses-item_bg {
   background-color: #952aff;
 }
 .ag-courses_item:nth-child(5n) .ag-courses-item_bg {
   background-color: #cd3e94;
 }
 .ag-courses_item:nth-child(6n) .ag-courses-item_bg {
   background-color: #4c49ea;
 }
 
 
 
 @media only screen and (max-width: 979px) {
   .ag-courses_item {
     -ms-flex-preferred-size: calc(50% - 30px);
     flex-basis: calc(50% - 30px);
   }
   .ag-courses-item_title {
     font-size: 24px;
   }
 }
 
 @media only screen and (max-width: 767px) {
   .ag-format-container {
     width: 96%;
   }
 
 }
 @media only screen and (max-width: 639px) {
   .ag-courses_item {
     -ms-flex-preferred-size: 100%;
     flex-basis: 100%;
   }
   .ag-courses-item_title {
     min-height: 72px;
     line-height: 1;
 
     font-size: 24px;
   }
   .ag-courses-item_link {
     padding: 22px 40px;
   }
   .ag-courses-item_date-box {
     font-size: 16px;
   }
 }

 
 #Port {

   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   min-height: 100vh;
   background: #232427;
 }
 
 #Port .container {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   max-width: 1200px;
   margin: 40px 0;
 }
 
 #Port .container .card {
   position: relative;
   min-width: 320px;
   height: 440px;
   box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
     inset -5px -5px 15px rgba(255, 255, 255, 0.1),
     5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
   border-radius: 15px;
   margin: 30px;
   transition: 0.5s;
 }
 
 #Port .container .card:nth-child(1) .box .content a {
   background: #2196f3;
 }
 
 #Port .container .card:nth-child(2) .box .content a {
   background: #e91e63;
 }
 
 #Port .container .card:nth-child(3) .box .content a {
   background: #23c186;
 }
 
 #Port .container .card .box {
   position: absolute;
   top: 20px;
   left: 20px;
   right: 20px;
   bottom: 20px;
   background: #2a2b2f;
   border-radius: 15px;
   display: flex;
   justify-content: center;
   align-items: center;
   overflow: hidden;
   transition: 0.5s;
 }
 
 #Port .container .card .box:hover {
   transform: translateY(-50px);
 }
 
 #Port .container .card .box:before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 50%;
   height: 100%;
   background: rgba(255, 255, 255, 0.03);
 }
 
 #Port .container .card .box .content {
   padding: 20px;
   text-align: center;
 }
 
 #Port .container .card .box .content h2 {
   position: absolute;
   top: -10px;
   right: 30px;
   font-size: 8rem;
   color: rgba(255, 255, 255, 0.1);
 }
 
 #Port .container .card .box .content h3 {
   font-size: 1.8rem;
   color: #fff;
   z-index: 1;
   transition: 0.5s;
   margin-bottom: 15px;
 }
 
 #Port .container .card .box .content p {
   font-size: 1rem;
   font-weight: 300;
   color: rgba(255, 255, 255, 0.9);
   z-index: 1;
   transition: 0.5s;
 }
 
 #Port .container .card .box .content a {
   position: relative;
   display: inline-block;
   padding: 8px 20px;
   background: black;
   border-radius: 5px;
   text-decoration: none;
   color: white;
   margin-top: 20px;
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
   transition: 0.5s;
 }
 #Port .container .card .box .content a:hover {
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
   background: #fff;
   color: #000;
 }
 
