*
{	box-sizing:border-box;
	margin: 0;
    padding: 0;
}
html
{
    font-size: 62.50%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    overflow-x: hidden;
    background-color: #340058;
    position: relative;
}
body>h1 {
    font-size: 4.3rem;
    text-align: center;
    padding-top: 20rem;
    padding-bottom: 9rem;
}
#creationPort {
    display: none;
}
.menu-icon {
    display: none;
}
.navbar {
    display: none;
}
/*police*/
@font-face {
    font-family: 'VeraMoBd';
    src: url(../polices/VeraMoBd.ttf) format('truetype');
}
@font-face {
    font-family: 'coolvetica-rg';
    src: url(../polices/coolvetica-rg.ttf) format('truetype'); 
}
@font-face {
    font-family: 'Good-Brush';
    src: url(../polices/Good-Brush.ttf) format('truetype');
}
.GoodBrush
{
    font-family: 'Good-Brush';
    color: white;
}
.coolvetica
{
    font-family: 'coolvetica-rg';
    color: white;
    font-size: 2rem;
}
.coolveticaInput {
    font-family: 'coolvetica-rg';
    color: rgb(23, 4, 44);
    text-align: center;
    font-size: 1.6rem;
    height: 3rem;
    width: 30rem;
    border-style: none;
    border-radius: 0.7rem;
}

/*animation rond fond*/
.amorphous-circle {
    position: absolute;
    background-color: #570096;
    border-radius: 50%;
    animation: move 5s ease-in-out infinite;
    z-index: -1;
}
@keyframes deform {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.8);
    }
}
@keyframes move {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(1rem, 1rem);
    }
}


/*menu sticky*/
#nav
{
    backdrop-filter: blur(1rem);
    height: 9rem;
    width: 55vw;
    position: fixed;
    z-index: 999;
    background-color: rgba(89, 0, 255, 0.5);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 5rem 5rem;
    transition: width 1s ease-in-out;
}
#nav>div
{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 9rem;
}
#nav a 
{
    text-decoration: none;
    color: white;
    font-size: 2.25rem;
    transition: font-size 1s ease-in-out, opacity 1s ease-in-out;
}
#nav img
{
    width: 4rem;
    height: auto;
    transition: width 1s ease-in-out, opacity 1s ease-in-out;
}


/*contenu*/
/*header (bienvenue sur mon portfolio)*/
header 
{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: 100vh;
    flex-wrap: wrap;
}
header p 
{
    color: white;
    text-align: center;
    font-size: 5.5rem;
}
header h1 
{
    color: white;
    text-align:center;
    font-size: 17.5rem;
}

/*section "moi"*/
#moi>div:nth-child(2) {
    background-color: white;
    width: 0.8rem;
    height : 37rem;
    margin: auto;
    border-radius: 10rem;
}
#moi img { 
    width: 100%;
    height: auto;
    border-radius: 50%;
    float: right;
}
#moi>div:first-child {
    max-width : 40rem;
    justify-self: end;
}

#moi {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 0.8rem 1fr;
  gap: 25rem;
}
#moi>div:nth-child(3) {
    max-width: 44rem;
    text-align:justify;

}
#moi>div:nth-child(3) ul {
    text-align: center;
    list-style-position: inside;
}



/*section "competence"*/
#competence {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.comp {
    height: 45rem;
    max-width: 45rem;
    background-color: #7113b4;
    border-radius: 3.3rem;
    padding: 2rem;
    border: solid black;
    flex: auto;
}
#competence h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2rem;
}
.img {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.taille {
    max-width: 7rem;
    height: auto;
}
#un>img:nth-child(2) {
    max-width: 6.2rem;
    height: auto;
}
#un>img:nth-child(3) {
    max-width: 6.2rem;
    height: auto;
}
#un>img:nth-child(4) {
    max-width: 9rem;
    height: auto;
}
#competence p {
    text-align: justify;
    margin-top: 5rem;
}

/*section "création"*/
#creaWeb {
    height: 100%;
}
#creaGraph {
    height: 100%;
}
#creaVideo {
    height: 100%;
}
.section>div {
    height: 100%;
}
#creation {
    position: relative;
    height: 43rem;
    transition: height 1s ease-in-out;
}
.carousel {
    display: flex;
    transition: transform 1s ease-in-out;
}
.section {
    flex: 0 0 100%;
}
.active {
    opacity: 1;
    transition: opacity 0.5s ease;
}
#creation>nav {
    background-color: #7113b4;
    height: 5.3rem;
    width: 25vw;
    margin: auto;
    border-radius: 6.2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#creation>nav>a {
    color: white;
    text-decoration: none;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    border-radius: 2.7rem;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.4s ease;
  }
.content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 51;
    transition: opacity 0.4s ease;
  }
#creation p {
    margin-top: 9rem;
    text-align: center;
    width: 80%;
}
#creation h3 {
    font-size: 3rem;
}
.contGene {
    margin-top: 10rem;
    background-size: cover;
    background-position: center;
    border-radius: 2.7rem;
    width: 50rem;
    height: 33rem;
    position: relative;
}
.contGene:hover .overlay {
    background-color: rgba(0, 0, 0, 0.73); 
  }
.contGene:hover .content {
    opacity: 1;
}
.cont {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
/*creation web*/
#creaWeb>div>a:first-child>div {
    background-image: url(../images/gniduweb.webp);
    margin-left: 10rem;
}
#creaWeb>div>a:nth-child(2)>div {
    background-image: url(../images/Bee&Bee.webp);
    margin-right: 10rem;
}

/*creation graphique*/
#creaGraph>div:first-child>div:first-child {
    background-image: url(../images/Dessin.webp);
    margin-left: 10rem;
}
#creaGraph>div:first-child>a>div {
    background-image: url(../images/logoMedialby.webp);
    margin-right: 10rem;
}
#creaGraph>div:nth-child(2)>div:nth-child(1) {
    background-image: url(../images/Flyer.webp);
    width: 33rem;
    height: 50rem;
}
#creaGraph>div:nth-child(2)>div:nth-child(2) {
    background-image: url(../images/Affiche.webp);
    width: 33rem;
    height: 50rem;
}
#creaGraph>div:nth-child(2)>div:nth-child(3) {
    background-image: url(../images/maquette.webp);
    width: 33rem;
    height: 50rem;
}
/*creation video*/
#creaVideo>div:first-child>div:first-child>video {
    width: 50rem;
    height: 33rem;
}
.hg {
    background-image: url(../images/hugoCabret.webp);
}
.avf {
    background-image: url(../images/avf.jpg);
}
.tableau {
    background-image: url(../images/tableau.webp);
}

#creaVideo>div:nth-child(3) img {
    width: 30rem;
    height: auto;
}
#creaVideo>h3 {
    text-align: center;
    margin-top: 9rem;
    margin-bottom: 9rem;
}
#creaVideo>div:nth-child(3) img {
    width: 20rem;
    height: auto;
}
#creaVideo>div:nth-child(3) {
    padding-left: 24rem;
    padding-right: 24rem;
}
/*aggrandissement des images*/
.myImg {
    cursor: pointer;
    transition: 0.3s;
}
.myImg:hover {
    opacity: 0.9;
}
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
.modal-content, #caption { 
    animation-name: zoom;
    animation-duration: 0.6s;
}
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
.close {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.modal-content img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

/*section contact*/
#contact {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: 1fr 0.8rem 1fr;
}
#contact>div:nth-child(2) {
    background-color: white;
    width: 0.8rem;
    height : 58rem;
    margin: auto;
    border-radius: 10rem;
}
/*coordonées*/
#contact>div:first-child {
    background-color: #260041;
    width: 70%;
    margin: auto;
    border-radius: 4rem;
}
#contact img {
    width: 11rem;
    height: auto;
    text-align: center;
}
#contact>div:first-child p {
    font-size: 3rem;
    display: inline-block;
    text-align: center;
}
.contCoord {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 3rem;
}
#contact>div:first-child>div:nth-child(3)>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#contact>div:first-child>div:nth-child(3) {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    margin: auto;
    padding-bottom: 3rem;
}
#contact>div:first-child>div:nth-child(3) p {
    margin-bottom: 3rem;
}
#contact>div:first-child>div {
    margin-bottom: 4rem;
}
/*formulaire*/
#contact form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center; 
    position: relative;
    background-color: #260041;
    width: 75%;
    margin: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 4rem;
}
#contact h2 {
    text-align: center;
    margin-bottom: 6rem;
    font-size: 3rem;
}
#contact form label {
    margin-top: 3rem;
    margin-bottom: 0.6rem;
}
#contact form>div {
    display: flex;
    justify-content: space-around;
}
#contact form>div>div {
    margin-left: 2rem;
    margin-right: 2rem;
}
#contact form>div>div input{
    margin-top: 0.6rem;
}
#contact textarea {
    border-radius: 0.7rem;
    border-style: none;
    background-color: white;
}
#btn {
    margin-top: 3rem;
    background-color: #4d0085;
    width: 11rem;
    height: 5rem;
    border-radius: 0.7rem;
    border-style: none;
    font-size: 1.8rem;
    color: white;
}

/*le footerballer*/
footer {
    max-width: 100vw;
    background: rgb(5,13,82);
    background: linear-gradient(162deg, rgba(5,13,82,1) 27%, rgba(171,0,255,1) 100%);
    margin-top: 10rem;
}
footer a {
    text-decoration: none;
    color: white;
    font-size: 2.25rem;
}
footer img {
    width: 4rem;
    height: auto;
}
footer nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
    margin: auto;
    padding-top: 2rem;
}
footer div {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    padding-top: 7rem;
}
footer p {
    font-size: 1.5rem;
}
footer>div a {
    font-size: 1.6rem;
}

