@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;1,600&display=swap');

/* Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
}

textarea { resize:none;}
a img{ border:none;}


html {
background-color:#f0f0f0;
color:#111;
text-align:left;
font-family: 'Open Sans', sans-serif;
font-weight: 400;
font-style: normal;
font-size: 62.5%;
}

body {
background-color:#f0f0f0;
color:#111;
text-align:left;
font-family: 'Open Sans', sans-serif;
font-weight: 400;
font-style: normal;
font-size: 1.7rem;
overflow-wrap: break-word;
}


/* Box Model */
*, *:before, *:after {
		box-sizing: border-box;
	}


a:link {color:#c8c8c8;text-decoration:none;}
a:visited {color:#c8c8c8;}
a:hover {color: #dcdcdc;}
a:active {color:#c8c8c8;}


/* masque la valeur du placeholder au clic*/
::-webkit-input-placeholder { opacity: 1;}  /* Chrome 56, Safari 9 */
:-moz-placeholder { opacity: 1;} /* FF 4-18 */
::-moz-placeholder { opacity: 1;} /* FF 19-51 */
:-ms-input-placeholder { opacity: 1;} /* IE 10+ */
::placeholder { opacity: 1;} /* Modern Browsers */

*:focus::-webkit-input-placeholder { opacity: 0; } /* Chrome 56, Safari 9 */
*:focus:-moz-placeholder { opacity: 0; } /* FF 4-18 */
*:focus::-moz-placeholder { opacity: 0; } /* FF 19-50 */
*:focus:-ms-input-placeholder { opacity: 0; } /* IE 10+ */
*:focus::placeholder { opacity: 0; } /* Modern Browsers */

input::placeholder{
color:#1f1f1f;
}

textarea::placeholder{
color:#1f1f1f;
}


h2{
font-size:2rem; font-weight:600;font-style:italic;margin:2rem 0rem 5rem 0rem;
}

:root{
  --bg: #f0f0f0;
  --card: #333;
  --text: #333;
  --muted: #333;
  --border: #dcdcdc;
  --focus: #333;
  --btn: #ffffff;
  --btnText: #0b0c10;
  --danger: #ff5a5a;
  --ok: #1f8b3c;
}


.wrap{
  max-width: 50rem;
  margin: 0 auto;
  padding: 2.2rem 1.4rem 4rem;
}
header{
  display:flex;
  flex-direction:column;
  gap:1rem;
  align-items:center;
  margin-bottom: 0rem;
  background: white;
  color:white;
  border-radius: 5px;
  padding-top:1.5rem;
}

.logo{
  width: 40rem;
  height: auto;
}

.titre{
  font-size: 2.5rem;
  font-weight: 700;
  background: #1f8b3c;
  width:100%;
  text-align:center;
  padding:1rem 1rem 1.2rem 1rem;
}

.card{
  background: white;
  padding: 3rem 1.6rem 2.0rem 1.6rem;
}


form{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}


label{
  display:block;
  font-size: 1.5rem;
  font-weight:700;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
input[type="text"], select{
  width: 100%;
  padding: 1.2rem 1.2rem;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  outline: none;
  font-family: inherit;
  font-size: 1.7rem;
  text-transform: uppercase;
}

input[type="text"]:focus, textarea:focus, select:focus{
  border-color: var(--focus);
    text-transform: uppercase;
}



.status{
  font-size: 1.5rem;
  margin-top: 0.2rem;
  min-height: 1.8rem;
  font-weight:700;
}
.status.error{ color: var(--danger); }
.status.ok{ color: var(--ok);font-size: 1.5rem;font-weight: 700; }

.actions{
  display:flex;
  gap:1rem;
  align-items:center;
  justify-content:flex-end;
  margin-top: 0.6rem;
}
button{
  appearance:none;
  border:0;
  border-radius: 5px;
  padding: 1.2rem 1.8rem;
  background: #1f8b3c;
  color: white;
  font-weight: 700;
  cursor:pointer;
}
button:disabled{
  opacity:.55;
  cursor:not-allowed;
}




/* ****************** ecran 4k 3840 ************************************* */

@media (min-width: 3000px) {
html{font-size: 125%;}
}



/* ****************** ecran 2560 ************************************* */
@media (min-width: 2200px) and (max-width: 3000px) {
html{font-size: 84%;}
}





/* ****************** ecran 1440 ************************************* */


@media (max-width: 1500px) {
html{font-size:47%;}

}


@media (max-width: 1200px) {
html{font-size:62.5%;}

}

@media (max-width: 1000px) {

}

	
/* ****************** Mobile ************************************* */
@media (max-width: 800px) {
.logo{
  width: 80%;
  height: auto;
}

.titre{
  font-size: 2.0rem;
  padding:1rem 1rem 1.2rem 1rem;
}
}



@media (max-width: 620px) {

}



@media (max-width: 500px) {


}

@media (max-width: 430px) {

}

@media (orientation: portrait) {

}
