@import url('https://fonts.googleapis.com/css2?family=Carter+One&family=Roboto:wght@100&display=swap');

*{
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
    position: relative;
}
#block {
    margin: 0 auto;

}
/* partie sur le header, le menu déroulant et le logo */

.logo {
    width: 200px;
    height: 80px;
    margin-left: 5%;
    margin-right: 25%;
    margin-top: 5px;
	margin-bottom : 10px;
}
#countain {
    display: flex;
    background: linear-gradient(90deg,white, #45d042);


}
#container {
    width: 750px;
}
h1 {
    font-size: 25px;
    text-align: center;
    width: 700px;


}
.info {
    display: flex;
    width: 700px;
	font-size : 15px;
}

.info h2 {
	font-size : 20px;
}

.mail {
    margin-right: 2.5%;
}
.num {

    width: 260px;
}

.imgmail,.imgnum {
    margin-right: 10px;
	height: 20px;
}
.group a {
	text-decoration : none;
	color: black;
}

.group a:hover {
	color: blue;
}

.group span {
	font-family : Carter One;
	color: black; 
}

nav {
    width: 100%;
    height: 50px;
    margin: 0 auto;
    background-color: black;
    border: 5px solid #45d042;
    position: sticky;
    top: 0;
    padding-left: 0;
    z-index: 1000;
}

nav ul {
    list-style-type: none;
}
nav ul li {
    float: left;
    width: 190px;
    text-align: center;
    position: relative;
}

nav a {
    width: 160px;
    display: block;
    text-decoration: none;
    color: white;
    border-bottom: 2px solid transparent;
    padding: 10px 0;
}

nav a:hover {
    color: #0000ff;

}


.sous li {
    float: none;
    width: 100%;

}

.sous a {
    color: black;
    padding: 10px 0;
    border-bottom: none;
}
.sous a:hover {
    border-bottom: none;
    background-color: rgba(200,200,200,0.1);
}
.deroulant > a::after{
    content: "";

}
/* CSS header */

.titre1 {
    font-size: 25px;
    margin-left: 2%;
    float: left;
    width: 100%;
	margin-top: 30px;
}

.titre1 span {
	font-size : 30px;
}

.titre2 {
    font-weight: bold;
    font-size: 30px;
    margin-left: 2%;
    float: left;
    width: 100%;
}

.psociety {
    text-align: center;
    font-size: 20px;
	margin-top : 10px;
}

.titre3 {
    font-weight: bold;
    font-size: 30px;
    margin-left: 2%;
}

.team {
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
    text-align: center;
    font-size: 20px;
}
/* fin partie header, menu déroulant et logo */
/* CSS de la page d'accueil */
/* CSS Slider */
.compteur {
	width: 170px;
	height: 70px;
	float: right;
}
.compteur img{
	float: right;
	
}
.slider {
    width: 2000px;
    height: 250px;
    overflow: hidden;
    margin: 5% auto;
}
.slide {
    float: left;
    background-size: cover;
}
.slides {
    width: calc(800px * 4);
    animation: glisse 18s infinite;
}
@keyframes glisse {
    0% {
        transform: translateX(0);
    }
    10% {
        transform: translate(0);
    }
    25% {
        transform: translateX(-800px);
    }
    35% {
        transform: translate(-800px);
    }
    50% {
        transform: translateX(-1600px);
    }
    60% {
        transform: translate(-1600px);
    }
    75% {
        transform: translateX(-2400px);
    }
    85% {
        transform: translate(-2400px);
    }
    100% {
        transform: translateX(0);
    }
}
/* fin CSS slider */
span {
    color: #45d042;
}

#new {
    width: 100%;
    height: 330px;
    display : flex;
	margin: auto;
	
}
.newmachine {
    width: 300px;
    height: 300px;
    background-color: #45d042;
    float: left;
    margin-left: 2.5%;
}

.newimg1 {
    background: url("../images/KIHEUNG.jpg");
    width: 300px;
    height: 200px;
}

.newimg2 {
    background: url("../images/CHALLENGERMACHINE.jpg");
    background-size: cover;
    width: 300px;
    height: 200px;
}	
.newimg3 {
    background: url("../images/TOURTAKISAWAMACHINE1.jpg");
    background-size: cover;
    width: 300px;
    height: 200px;
}	
.newimg4 {
    background: url("../images/HURONRU881.jpg");
    background-size: cover;
    width: 300px;
    height: 200px;	
}

.content p {
    text-align: center;
    line-height: 20px;
}

.content {
    padding-top: 5%;
	
}

/* fin CSS de la page d'accueil */

/* CSS des pages Tours, Fraisage, Centres d'usinages et robots */

#rectangle {
    width: 700px;
    height: 200px;
    padding: 2%;
    border: 5px solid #45d042;
    border-radius: 15px;
    margin: auto;
    margin-top: 5%;
    margin-bottom: 2%;
    box-shadow: 10px 5px 5px black;

}

.imgmachine img {
    width: 180px;
    height: 130px;
    float: left;
}

.machine {
    width: 300px;
    margin-left: 5%;
    float: right;

}

#rectangle a {
    text-decoration: none;

}

.machine h2,p {
    color: black;
}

.vendu {
	background-color: red;
	float: right;
	width: 100px;
}

.vendu p {
	color: white;
	display: flex;
	justify-content: center;
	align-self: center;

/* fin CSS des pages Tours, Fraisage, Centres d'usinages et robots */
/* CSS des pages des différentes machines avec les description et les fiches tecniques */
#body {
    width: 100%;
    height: 680px;
}
.machineimg img{
    width: 600px;
    height: 477px;
    float: left;
    margin-left: 5%;
    margin-top: 2%;
}

.fiche {
    width: 100px;
    height: 50px;
    border: 2px solid #45d042;
    text-align: center;
    float: right;
    margin-top: 2%;
}

.fiche a {
    text-decoration: none;
}

#description {
    width: 600px;
    height: 700px;
    float: right;
    margin-top: 10%;
    margin-left: 10%;
}
#description h3 {
    font-size: 25px;
}
#description h2 {
    font-size: 35px;
}

/* fin CSS des différentes machines
et début du CSS de la page contact
 */

.titlecontact {
    text-align: center;
    font-size: 25px;
    margin-top: 5%;
}
#formcontact {
    width: 1000px;
    height: 600px;

    margin-left: 17%;
}
.cat1 {
    width: 100%;
}

.cat1 input {
    width: 897px;
    margin-left: 5%;
    background-color: lightgrey;
    border: none;
}
.cat1 input:nth-child(1-2) {
    margin-left: 5%;
}


.cat2  input{
    width: 897px;
    margin-top: 2%;
    margin-left: 5%;
    background-color: lightgrey;
    border: none;
}
textarea {
    width: 897px;
    height: 300px;
    margin-top: 2%;
    margin-left: 5%;
    background-color: lightgrey;
    border: none;
}
.button {
    width: 100%;


}
.envoi {
    border: none;
    width: 200px;
    margin-left: 40%;
    background-color: #45d042;
    color: white;
    font-size: 20px;
    text-align: center;
}

#info {
    margin: auto;

}

/*
fin CSS page contact
CSS page vendre une machine
 */

.pvente {
    text-align: center;


}

#formvente {
    width: 1000px;
    height: 600px;
    margin-left: 17%;
}

#formvente input {
    display: block;
    margin-top: 2%;
    width: 900px;
    margin-left: 5%;
}

.send {
    border: none;
    margin-left: 40%;
    margin-top: 2%;
    width: 200px;
    background-color: #45d042;
    color: white;
    font-size: 20px;
}

/*
CSS mentions
 */

#mentionlegales {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 2%;
}
#mentionlegales .legale {
    text-align: center;
}

#mentionlegales p {
    margin-top: 2%;
    text-align: justify;
}

#cgv {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 2%;
}
#cgv .conditions {
    text-align: center;
}

#cgv p {
    margin-top: 2%;
    text-align: justify;
}
/*
Partie responsive(adaptation telephone)
 */
@media all and (max-width:480px){
/*
partie responsive du header et du menu
 */
    * {
        margin: 0;
        padding: 0;
    }
    header {
        margin: 0;
        padding: 0;
        width: 480px;
        height: 800px;

    }

    #countain {
        width: 480px;
        height: 400px;
        display: block;
    }
    #countain h1 {
        display: block;
        width: 300px;
        text-align: center;
        margin-left: 10%;
        padding-top: 20px;
    }

    .logo {
        display: block;
        margin-right: auto;
        margin-left: auto;
        padding-top: 20px;
    }

    #countain .info {
        width: 380px;
        display: block;
        padding-top: 20px;
        margin-left: 5%;
    }
    .info .mail {
        padding-left: 2%;
    }
    .info .num {
        width: 300px;
        padding-left: 20%;
    }
    #burger-nav {
        width: 40px;
        height: 40px;
        background: url("../images/burger.png") 98% center;
        background-repeat: no-repeat;
        cursor: pointer;
    }
    nav {
        width: 100%;
        float: none;
    }
    header nav ul {
        height: 0;
        overflow: hidden;
    }
    header nav li {
        float: none;
        width: 100%;
        margin: 0 auto;
    }
    header nav li:nth-child(3-4){
        position: relative;
        z-index: 10000;
    }
    header nav li a {
        display: block;
        width: 90%;
        text-align: center;
        padding: 10px 0;
        border-top: 1px solid #45d042;
        z-index: 10000;
    }

    header nav ul.open {
        display: block;
        height: auto;
        background-color: black;
        width: 90%;
    }
    /*
    partie responsive page d'accueil
     */
	.compteur img{
		margin-left: 10%;
	}
    .slider {
        width: 380px;
        height: 250px;
    }
    .slider .slide img{
        width: 380px;
        height: 250px;
    }

    .slides {
        width: calc(380px * 4);
        animation: glisse 30s infinite;
    }
    @keyframes glisse {
        0% {
            transform: translateX(0);
        }
        10% {
            transform: translate(0);
        }
        25% {
            transform: translateX(-380px);
        }
        35% {
            transform: translate(-380px);
        }
        50% {
            transform: translateX(-760px);
        }
        60% {
            transform: translate(-760px);
        }
        75% {
            transform: translateX(-1140px);
        }
        85% {
            transform: translate(-1140px);
        }
        100% {
            transform: translateX(0);
        }
    }
	#new {
		width: 450px;
		height: 1500px;
	}
    .newmachine {
        margin-left: 15%;
		margin-top: 2.5%;
    }

    h2{
        text-align: center;
        font-size: 25px;
    }
    /*
    partie responsive page tour, centre d'usinage, fraiseuse
     */
	#rectangle:nth-of-type(1){margin-top:-310px}
    #rectangle {
        width: 80%;
        height: 100px;
        margin-right: 10%;
        margin-left: 10%;

    }

    .imgmachine img {
        width: 90px;
        height: 65px;
        float: left;
    }
    #rectangle .machine {
        width: 200px;
		height: 75px;
        float: left;
    }

    .machine h2,p {
        font-size: 15px;
    }

    /*
    partie responsive des différentes machines$
     */

    #body {
        width: 480px;
        height: 800px;
        display: block;

    }
    .machineimg img {
        width: 300px;
        height: 200px;
    }

    #description {
        text-align: center;
    }

    #description h2 {
        margin-left: 20%;
    }

    #description h3 {
        margin-left: 20%;
    }

    #description ul li {
        margin-left: 20%;
    }

    /*
    partie responsive page contact
     */

    #formcontact {
        width: 100%;
        height: 800px;
        display: block;

    }

    .cat1 input{
        width: 280px;
        margin-right: 5%;
        display: block;
    }

    .cat2 input {
        width: 280px;
        display: block;

    }

    .cat3 textarea {
        width: 280px;
        display: block;
    }
    .button {
        width: 280px;
        padding-right: 25%;
        margin-top: 2%;
    }
    .envoi {
        display: block;
    }
    /*
    partie responsive vendre une machine
     */

    #formvente {
        width: 100%;
        height: 800px;
        display: block;
    }

    #formvente input {
        width: 280px;
        display: block;
    }
}

@media all and (max-width:360px) {
	
	/*
partie responsive du header et du menu
 */
    * {
        margin: 0;
        padding: 0;
    }
    header {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 540px;

    }

    #countain {
        width: 100%;
        height: 400px;
        display: block;
    }
    #countain h1 {
        display: block;
        width: 300px;
        text-align: center;
        margin-left: 3%;
        padding-top: 20px;
    }

    .logo {
        display: block;
        margin-right: auto;
        margin-left: auto;
        padding-top: 20px;
    }

    #countain .info {
        width: 380px;
        display: block;
        padding-top: 20px;
		margin-left: 0;
        
    }
    .info .mail {
        padding-left: 2%;
    }
    .info .num {
        width: 300px;
        padding-left: 20%;
    }
    #burger-nav {
        width: 40px;
        height: 40px;
        background: url("../images/burger.png") 98% center;
        background-repeat: no-repeat;
        cursor: pointer;
    }
    nav {
        width: 100%;
        float: none;
    }
    header nav ul {
        height: 0;
        overflow: hidden;
    }
    header nav li {
        float: none;
        width: 100%;
        margin: 0 auto;
    }
    header nav li:nth-child(3-4){
        position: relative;
        z-index: 10000;
    }
    header nav li a {
        display: block;
        width: 90%;
        text-align: center;
        padding: 10px 0;
        border-top: 1px solid #45d042;
        z-index: 10000;
    }

    header nav ul.open {
        display: block;
        height: auto;
        background-color: black;
        width: 90%;
    }
    /*
    partie responsive page d'accueil
     */
	.compteur img{
		margin-left: 10%;
	}
    .slider {
        width: 280px;
        height: 150px;
    }
    .slider .slide img{
        width: 280px;
        height: 150px;
    }

    .slides {
        width: calc(280px * 4);
        animation: glisse 30s infinite;
    }
    @keyframes glisse {
        0% {
            transform: translateX(0);
        }
        10% {
            transform: translate(0);
        }
        25% {
            transform: translateX(-280px);
        }
        35% {
            transform: translate(-280px);
        }
        50% {
            transform: translateX(-560px);
        }
        60% {
            transform: translate(-560px);
        }
        75% {
            transform: translateX(-1120px);
        }
        85% {
            transform: translate(-1120px);
        }
        100% {
            transform: translateX(0);
        }
    }

    #new {
		width: 100%;
		height: 1500px;
	}
    .newmachine {
        margin-left: 9%;
		margin-top: 2.5%;
    }

    h2{
        text-align: center;
        font-size: 20px;
    }
    /*
    partie responsive page tour, centre d'usinage, fraiseuse
     */
	#rectangle:nth-of-type(1){margin-top:120px}
    #rectangle {
        width: 80%;
        height: 100px;
        margin-right: 2%;
        margin-left: 2%;

    }

    .imgmachine img {
        width: 90px;
        height: 65px;
        float: left;
    }
    #rectangle .machine {
        width: 150px;
        float: left;
    }

    .machine h2,p {
        font-size: 15px;
    }

    /*
    partie responsive des différentes machines
     */

    #body {
        width: 100%;
        height: 800px;
        display: block;

    }
    .machineimg img {
        width: 200px;
        height: 100px;
    }

    #description {
        text-align: center;
    }

    #description h2 {
        margin-left: 40%;
    }

    #description h3 {
        margin-left: 40%;
    }

    #description ul li {
        margin-left: 40%;
    }

    /*
    partie responsive page contact
     */

    #formcontact {
        width: 100%;
        height: 800px;
        display: block;

    }

    .cat1 input{
        width: 220px;
        margin-right: 5%;
        display: block;
    }

    .cat2 input {
        width: 220px;
        display: block;

    }

    .cat3 textarea {
        width: 220px;
        display: block;
    }
    .button {
        width: 220px;
        padding-right: 40%;
        margin-top: 2%;
    }
    .envoi {
        display: block;
    }
    /*
    partie responsive vendre une machine
     */

    #formvente {
        width: 100%;
        height: 800px;
        display: block;
    }

    #formvente input {
        width: 220px;
        display: block;
    }