@font-face {
	font-family: 'Abordage';
	font-weight: normal;
	font-style: normal;

	src: url('../fonts/Abordage-Regular.ttf') format('truetype');
}

* {
    --violet: #8f99cd;
    --bleu: #d5ecfa;
    --rose: #decef7;
    --orange: #f18518;
    --orange-light: #ffebd7;
    --bleu-skillofi: #164194;
    --text-color: #0d2b58;
    --background-color: #f2f3f7;
    --background-color-light: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { 
	scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

.bodyavantages {
    background-color: var(--background-color);
}

.container {
    margin: auto;
    width: 70%;
    display: block;
}

.logo {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.logo img {
    width: 160px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    z-index: 999;
}

nav a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:focus,
a:hover,
a:active {
  outline: none;
  text-decoration: none;
}

nav li {
    border-radius: 50px;
    padding: 1rem 2rem 1rem 2rem;
}

nav li:hover {
    background-color: var(--rose);
    transition: ease-in 0.2s;
}

nav li.active {
    font-weight: bolder;
}

.nav-links {
    font-family: 'Abordage', sans-serif;
    color: var(--bleu-skillofi);
    list-style: none;
    display: flex;
    margin: 0;
    border-radius: 50px;
}

.nav-links, .text_bas {
    display: flex;
    list-style: none;
}

.nav-links li{
    margin-left: 1.25rem;
    position: relative;
}


.nav-links .sousmenu li {
    float: none;
    margin: 0.5rem;
    padding: 0;
    border-radius: 3px;
    background-clip: border-box;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    cursor: pointer;
}
.burger div {
    width: 100%;
    height: 2px;
    background-color: var(--bleu-skillofi);
    transition: transform 0.3s, opacity 0.3s;
}
.burger.active div:first-child {
    transform: rotate(46deg) translateY(10px);
}
.burger.active div:nth-child(2) {
    opacity: 0;
}
.burger.active div:last-child {
    transform: rotate(-46deg) translateY(-10px);
}

h1 {
    font-family: 'Abordage', sans-serif;
    color: var(--bleu-skillofi);
    font-size: 2rem;
    line-height: 2.1rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    font-weight: lighter;
    text-align: left;
}

h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 1rem;
}

p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.logiciel li {
    color: var(--text-color);
    list-style: inside;
}

.home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.home img {
    display: block;
    max-width: 100%;
}

.button {
    display: flex;
    flex-direction: column;
    max-width: fit-content;
}

.button a {
    text-align: center;
    color: var(--background-color-light);
    border: none;
    border-radius: 100px;
    background-color: var(--text-color);
    padding: 1rem 2rem 1rem 2rem;
    font-family: 'Abordage', sans-serif;
    font-size: 1rem;
    margin-top: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.button .special {
    background-color: var(--bleu);
    color: var(--text-color);
}

.button a:hover {
    background-color: var(--rose);
    transition: ease-in 0.2s;
    color: var(--text-color);
}

.button .special:hover {
    background-color: var(--background-color-light);
    color: var(--text-color);
}

.details {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	justify-content: start;
    gap: 2.5rem;
    align-items: top;
    margin-bottom: 3rem;
}

.details .carte {
    background-color: var(--bleu);
    border: none;
}


.details-tarifs {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	justify-content: start;
    gap: 2.5rem;
    align-items: top;
    margin-bottom: 3rem;
}

.details-tarifs .carte {
    background-color: var(--background-color);
    border: none;
}

.devis {
    padding-bottom: 3rem;
    padding-top: 3rem;
}

.devis a {
    color: inherit;
    font-weight: bold;
    text-decoration: none;
}

.devis a:hover {
    color: inherit;
    text-decoration: underline;
}

h3 {
    font-size: 24px;
    font-weight: normal;
    color: var(--text-color);
    text-align: center;
}

.logiciel h1 {
    font-family: 'Abordage', sans-serif;
    color: var(--violet);
    font-size: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    font-weight: lighter;
}

.logiciel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.logiciel img {
    display: block;
    max-width: 100%;
}

.logiciel .button a {
    text-align: center;
    color: var(--background-color-light);
    border: none;
    border-radius: 100px;
    background-color: var(--text-color);
    padding: 1rem 2rem 1rem 2rem;
    font-family: 'Abordage', sans-serif;
    font-size: 1rem;
    margin-top: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.logiciel .button .special {
    background-color: var(--bleu);
    color: var(--text-color);
}

.logiciel .button .special:hover {
    background-color: var(--rose);
    color: var(--text-color);
}

.avantages {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	justify-content: start;
    gap: 2.5rem;
    align-items: top;
    margin-bottom: 3rem;
}

.avantages .carte img {
    width: 100%;
    display: flex;
    margin: auto;
    padding-bottom: 2rem ;
}

.carte {
    border: 2px var(--rose) solid;
    padding: 2rem;
    border-radius: 10px;
}

.carte img {
    width: auto;
    text-align: center;
}

/* ANIMATION MOT TITRE AVANTAGES*/

.headline {
    display: flex;
    gap: 12px;
    align-items: center;
    font-family: 'Abordage', sans-serif;
    color: var(--bleu-skillofi);
    font-size: 2rem;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    font-weight: lighter;
    flex-wrap: wrap;
}

.rotating-wrapper {
    height: 1.2em;
    overflow: hidden;
}

.rotating {
    display: flex;
    flex-direction: column;
    animation: slide 8s steps(4) infinite;
}

.rotating span {
    height: 1.2em;
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    border-radius: 50px;
    padding: 1rem;
}

@keyframes slide {
  to {
    transform: translateY(-100%);
  }
}




/* FIN ANIMATION MOT TITRE AVANTAGES*/

.utilisation {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	justify-content: start;
    gap: 2.5rem;
    align-items: top;
    margin-bottom: 3rem;
}

.utilisation .carte {
    border: none;
    background-color: var(--background-color);
}

.utilisation .carte img {
    width: 150px;
    display: flex;
    margin: auto;
    padding-bottom: 2rem ;
}

section.post .container {
    max-width: 740px;
} 

.entry-content {
    text-align: center;
}

.entry-content p {
    text-align: left;
}

.entry-content img {
    width: 100%;
}

.entry-content a {
    color: var(--bleu-skillofi);
}

.entry-content li {
    list-style: inside;
    text-align: left;
    font-size: 16px;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.entry-title a {
    text-decoration: none;
    color: inherit;
}

.entry-title a:hover {
    text-decoration: underline;
}

.entry-footer {
    display: flex;
    flex-direction:row ;
    background-color: white;
    font-size: 14px;
    font-weight: 400;
    margin: .4375em 0 3.5em;
    margin-top: 0.4375em;
    color: var(--violet);
    padding-top: 1rem;
}

.entry-footer .icon {
    width: 20px;
    height: 20px;
    vertical-align: center;
    vertical-align: middle;
}

.entry-meta {
    display: inline;
    vertical-align: middle;
}
.entry-meta span {
    padding: 10px;
}

.pager {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    text-transform: capitalize;
    margin-bottom: 5rem;
    color: var(--text-color);
}

.pager, .page, .currentpage {
    list-style: none;
}

.currentpage {
    font-weight: bold;
}

.pager a {
    text-decoration: none;
    color: inherit;
    border-radius: 100px;
    padding: 1rem 2rem 1rem 2rem;
}

.pager a:hover {
    background-color: var(--rose);
    transition: ease-in 0.2s;

}

figcaption {
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: 400;
    color: var(--violet);

}

.button a:hover {
    background-color: var(--rose);
    transition: ease-in 0.2s;
    color: var(--text-color);
}

section.contact-form {
    background-color: var(--violet);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

section.contact-form .container {
    background-color: var(--background-color-light);
    border-radius: 15px;
    padding: 2.5rem;
}

section.contact-form form fieldset {
    border: none;
}

section.contact-form form ul li {
    list-style-type: none;
    padding: 0.5rem 0; }

section.contact-form form ul li.itemsform-title {
    font-size: 1.7rem;
    font-weight: normal;
    color: var(--bleu-skillofi);
}
section.contact-form form ul li label {
    font-size: 1rem;
    font-weight: normal;
    color: var(--bleu-skillofi);
    text-transform: uppercase;
    padding-bottom: 0.2rem;
    display: block;
}

form ul li.required label:after {
	content:" *";
	color: var(--violet);
}

section.contact-form form ul li input {
    width: 100%;
    font-size: 1rem;
    background-color: var(--background-color-light);
    border: 1px solid var(--violet);
    border-radius: 3px;
    padding: 3px;
    color: var(--violet);
}

section.contact-form form ul li input:focus {
    outline: none !important; box-shadow: 0 0 3px var(--violet)
 }

section.contact-form form ul li input[type=submit] {
    text-align: center;
    color: var(--background-color-light);
    border: none;
    border-radius: 100px;
    background-color: var(--bleu-skillofi);
    padding: 1rem 2rem 1rem 2rem;
    font-family: 'Abordage', sans-serif;
    font-size: 1rem;
    margin-top: 1rem;
    text-decoration: none;
    cursor: pointer;
    width: auto;
}
    
section.contact-form form ul li input[type=submit]:hover {
    background-color: var(--rose);
    transition: ease-in 0.2s;
    color: var(--text-color);
}

section.contact-form form ul li textarea {
    resize: vertical;
    width: 100%;
    font-size: 1rem;
    background-color: var(--background-color-light);;
    border: 1px solid var(--violet);
    border-radius: 3px;
    padding: 3px;
    color: var(--violet);
}

section.contact-form form ul li textarea:focus {
    outline: none !important;
    box-shadow: 0 0 3px var(--violet);
}

section.contact-form form ul li select {
    border-radius: 3px;
    border: 1px solid var(--violet);
    background-color: var(--background-color-light);;
    color: var(--violet);
    font-size: 1rem;
    text-align: center;
    align-content: center;
    width: 100%; 
    height: 2.5rem; 
}
section.contact-form form ul li select:focus { 
    outline: none !important; 
    box-shadow: 0 0 3px var(--violet); 
}

section.contact-form form ul.errors { 
    background-color: var(--orange-light); 
    color: var(--orange); 
    border: 1px solid var(--orange); 
    border-radius: 3px; 
    padding: 0.5rem; 
    margin-top: 0.5rem; 
}

section.terms {
    background-color: var(--violet);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

section.terms .container {
    background-color: var(--background-color-light);
    border-radius: 15px;
    padding: 2.5rem;
}

section.terms h2 {
    font-family: 'Abordage', sans-serif;
    color: var(--bleu-skillofi);
    font-size: 2rem;
    line-height: 2.1rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    font-weight: lighter;
    text-align: left;
}

section.terms h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

section.terms h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

section.terms li {
    color: var(--text-color);
    list-style: inside;
    margin-bottom: 1rem;
}

footer {
    background-color: var(--background-color);
    margin: auto;
    padding-top:2rem;
    padding-bottom: 2rem;
}

.grid-footer {
    display: grid ;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: end;
}

.logo-footer {
    display: flex;
    justify-content: left;
    padding-bottom: 1rem;
}

.logo-footer img {
    width:120px;
}

footer p {
    font-size: 16px;
}

footer a {
    color: var(--violet);
}

.icon-linkedin {
    width: 30px;
    height: 25px;
    padding-right: 5px;
    vertical-align: middle;
    fill: var(--violet);
}



/******************************/
/*********MEDIAS QUERIES******/
/******************************/
@media (max-width:950px) {
    .container{
        width: 80%;
    }
    .home {
        grid-template-columns: 1fr;
    }

    h1.headline {
        font-size: 1.6rem;
    }

    html {
        scrollbar-width: none;
    }

    body:has(.burger.active)  {
    overflow:hidden;
}

    nav {
        display: flex;
        justify-content: space-between;
        margin:auto;
        width: 80%;
    }

    .burger-icon {
    display: block;
}
    .burger-icon img {
        height: 24px;
    }


    .grid-footer{
        grid-template-columns: 1fr;
    }

    .logiciel {
        grid-template-columns: 1fr;
    }
    
    .avantages {
    grid-template-columns: 1fr;
}

    .entry-meta {
        display: flex;
        flex-direction:column ;
    }

    .burger {
        display: flex;
        z-index: 3;
    }

    .logo {
        z-index: 3;
    }

    header .nav-links {
        display: flex;
        z-index: 2;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        left: 0;
        width: 100%;
        background-color: var(--background-color-light) ;
        border: 1px solid var(--rose);
        padding: 1rem;
        box-sizing: border-box;
        transform: translateX(100%);
        padding-top: 300px;
        position: fixed;
    }
    .nav-links.active {
        transform: translateY(0);
        z-index: 2;
    }
    .nav-links li {
        padding-bottom: 10px;
        z-index: 2;
    }

}



