

* {
  box-sizing: border-box;
}
body,html {
  height: 150%;
  margin: 0;
  font-family: 'Segoe UI';
  background-color: black;
  scrollbar-width: none;
  background-repeat: no-repeat;
  overflow-y: hidden;
  overflow-x: hidden;
}

#closeIframeBtn {
    background: none;
    color: #ffffff;
    border: none;
    top: 2vh;
    position: fixed;
    right: 3%;
    z-index: 1;
    font-size: 3vw;
}
 


.Portfolio{
  color: white;
  position: relative;
  left: 3%;
  width: 30%;
  padding-left: 5%;
  padding-top: 5%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 3vw;
  font-weight: 900;
}

  #menubar{
    display: grid;
    position: fixed;
    left: 0%;
    top: 2%;
    font-family: 'Segoe UI';
    font-weight:700;
    font-size: 1vw;
    text-decoration: none;
    height: 5%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr  1fr 1fr;
    z-index: 1;
     transition: top 0.5 s;
    
  }

.menubarL{
  position: relative;
   display: inline-block;
   overflow: hidden;
   text-decoration: none;
    color: white;
    text-align: center;
    display: inline;
    align-items: center;
    display: block;
  margin: auto;
  
  
}

.menubarT{
  position: relative;
   display: inline-block;
   overflow: hidden;
   text-decoration: none;
    color: white;
    text-align: center;
    display: inline;
    align-items: center;
    display: block;
  margin: auto;
  padding: 1rem 2rem;
}

.menubarT::after {
   content: '';
   position: absolute;
   bottom: 5px;
   left: 0;
   height: 7px;
   width: 100%;
   background: linear-gradient(90deg,  #ffffff, #ce45d3, #ffffff, #ce45d3);
   background-size: 200% auto;
   border-radius: 10px;
   transition: all .5s;
   transform: translateX(-100%);
 }

 .menubarT:hover::after {
   transform: translateX(0%);
   animation: gradient-89 3s linear infinite;
 }
 
 @keyframes gradient-89 {
   0% { background-position: 100% 0%; }
   50% { background-position: 0% 0%; }
   100% { background-position: 100% 0%; }
 }


 #current{
  color: #ce45d3;
  font-weight: 800;
 }

.main{
    width: 100%;
    height: 100%;
    position: fixed;
    display: contents;
    margin: 0;
    background-color: rgb(207, 66, 66);
}




  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }



  .boutGrid{
    grid-template-columns: 1fr 1fr;
    display: grid;
    position: absolute;
    bottom: 0%;
    height: 95%;
    width: 100%;
  }

  .whoIs{
    color: white;
    margin-top: 20%;
    padding-left: 100px;
    padding-right: 100px;
     overflow-y: scroll;
     padding-bottom: 100px;
     
  }

  .whoIs img{
    width: 40%;
    display: flex;
    place-self: center;
  }

  .intro{
    margin-bottom: 150px;
    font-family: 'Segoe UI';
    font-size: 1.5vw;
  }

  .team{
    color: white;
    margin-top: 20%;
    padding-left: 20px;
    padding-right: 20px;
    overflow-y: scroll;
    
  }

::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f100;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 0px;

  transition: background 0.5s;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #3a123b;
}
 

.links{
    color: white;
    margin-top: 20%;
    padding-left: 100px;
    padding-right: 100px;
     overflow-y: hidden;
     padding-bottom: 100px;
    
  }

.links > div{
    direction: ltr;
}


 .social{
  display: grid;
  width: 40%;
  mix-blend-mode: luminosity;
  
} 

.social img{
  margin-top: 50px;
} 

.social a{
    text-decoration: none;
    color: white;
    display: flex;
    
}

.links h1{
    margin-top: 50px;
    direction: ltr;
}

.links h2{
    color: white;
    font-style: oblique;
}

.sss{
    width: 40%;
    display: flex;
    place-self: center;
    
  }

.insta2{
      font-weight: 700;
    transition: all 0.2s;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid transparent;
    display: flex;
    position: relative;
    margin-top: 10%;
    cursor: pointer;
    align-items: center;
    font-size: 15px;
  }

  .insta2:hover {
  background: #b6b6b6;
}

.insta2 > svg {
  width: 34px;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

.insta2:hover svg {
  transform: translateX(5px);
}

.insta2:active {
  transform: scale(0.95);
}

.container {
  height: 400px;
  width: 400px;
  margin: 15%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  place-self: center;
  
  scale: 150%;
  scroll-behavior: smooth;
}

.section {
  display: none;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  width: 400px;
  height: 400px;
}

.section.active {
  display: flex;
  animation: fadeIn 0.35s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.section:nth-child(1) {
  background: url('/portfolio_home_pictures/CCGCW/Decisive_Imperial.webp');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: bottom;
  object-fit:scale-down;
}

.section:nth-child(2) {
  background: url('/portfolio_home_pictures/CCGCW/Decisive_Syrinx.webp');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}

.section:nth-child(3) {
  background: url('/portfolio_home_pictures/CCGCW/Imperial_Normal.webp');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}

.section:nth-child(4) {
  background: url('/portfolio_home_pictures/CCGCW/normal_Syrinx.webp');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}


nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 240px auto 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

nav a {
  display: inline-block;
  width: 12px;
  height: 12px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: #c7c7c7;
  border: 1px solid rgba(255,255,255,0.7);
  transition: all 200ms ease-in-out;
}

nav a.active,
.active {
  background: #ffffff;
  transform: scale(1.2);
}

@media screen and (max-width: 1600px) {
 .container {
    margin-top: 25%;
    scale: 180%;
}
}

@media screen and (max-width: 1500px) {
 .container {
    margin-top: 30%;
    scale: 170%;
}
}

@media screen and (max-width: 1400px) {
 .container {
    margin-top: 30%;
    scale: 160%;
}
}

@media screen and (max-width: 1300px) {
 .container {
    margin-top: 30%;
    scale: 150%;
}
}

@media screen and (max-width: 1200px) {
  .container {
    margin-top: 30%;
    scale: 130%;
}

nav {
  margin: 140px auto 0;
}

#closeIframeBtn {
    background: none;
    color: #ffffff;
    border: none;
    top: 2vh;
    position: fixed;
    right: 2%;
    z-index: 1;
    font-size: 3vw;
}


.social h2{
  font-size: 2vw;
}

.social h3{
  font-size: 1.2vw;
}

}

@media screen and (max-width: 1100px) {
 .container {
    margin-top: 30%;
    scale: 120%;
}

.Portfolio{
  left: 4%;
}
}

@media screen and (max-width: 1000px) {
 .container {
    margin-top: 20%;
    scale: 115%;
}

.Portfolio{
  left: 5%;
}

 }

 @media screen and (max-width: 900px) {
 .container {
    margin-top: 15%;
    scale: 100%;
}

.Portfolio{
  left: 6%;
}

 }

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

  .boutGrid {
    grid-template-columns: 1fr;
    display: grid;
    position: absolute;
    bottom: 0%;
    height: 100%;
    width: 100%;
}

  .Portfolio{
  left: -10px;
  font-size: 7vw;
  width: 90%;
  }

  #closeIframeBtn {
    background: none;
    color: #ffffff;
    border: none;
    top: 0.5vh;
    position: fixed;
    right: 3%;
    z-index: 1;
    font-size: 9vw;
}

.whoIs {
    color: white;
    margin-top: 15%;
    padding-left: 10px;
    padding-right: 10px;
    overflow-y:hidden;
    
    padding-bottom: 100px;
}

.intro {
    margin-bottom: 0px;
    font-family: 'Segoe UI';
    font-size: 3.5vw;
}

.links{
  overflow: hidden;
  margin-top: -14%;
  border-top: #ffffff 20px solid;
}

.container {
    height: 400px;
    width: 400px;
    margin: 5%;
    margin-top: 15%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    place-self: center;
    
    scale: 90%;
    scroll-behavior: smooth;
}

    .social h2 {
        font-size: 0vw;
    }

        .social h3 {
        font-size: 0vw;
    }

    nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: -30px auto 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

 }