/*////////////////////////////////////////////////////////////////// [ FONT ]*/ @font-face { font-family: Kano; src: url('../fonts/Fredoka-Regular.ttf'); } /*////////////////////////////////////////////////////////////////// [ RESTYLE TAG ]*/ * { margin: 0px; padding: 0px; box-sizing: border-box; } body, html { height: 100%; width: 100%; font-family: Kano, sans-serif; } /*---------------------------------------------*/ h1,h2,h3,h4,h5,h6 { margin: 0px; } /*---------------------------------------------*/ input { outline: none; border: none; } /*---------------------------------------------*/ button { outline: none !important; border: none; background: transparent; } button:hover {cursor: pointer;} /*////////////////////////////////////////////////////////////////// [ Utility ]*/ .txt1 { font-size: 15px; color: #000; line-height: 1.4; } .txt2, .txt3 { font-family: Kano; font-size: 15px; color: #3f709e; line-height: 1.4; text-decoration: none; } a { font-size: 14px; line-height: 1.7; margin: 0px; transition: all 0.4s; -webkit-transition: all 0.4s; -o-transition: all 0.4s; -moz-transistion: all 0.4s; } a:focus {outline: none !important;} a:hover { text-decoration: underline; color: #000; } .info_message { display: none; width: 80%; text-align: center; margin: 0 auto 25px auto; background-color: rgb(236, 135, 135); padding: 10px; border-radius: 10px; } /*////////////////////////////////////////////////////////////////// [ login ]*/ .limiter { width: 100%; margin: 0 auto; } .hidden {display: none;} .boite-login { width: 100%; min-height: 100vh; display: -webkit-box; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: 15px; position: relative; background: rgb(56,99,139); background: radial-gradient(circle, rgba(56,99,139,1) 0%, rgba(0,0,0,1) 100%); } .zone-login { width: 500px; background-color: #fff; border-radius: 20px; overflow: hidden; position: relative; -webkit-box-shadow: 0px 0px 45px -11px rgba(0,0,0,1); -moz-box-shadow: 0px 0px 45px -11px rgba(0,0,0,1); box-shadow: 0px 0px 45px -11px rgba(0,0,0,1); } /*================================================================== [ Form ]*/ .form-login { width: 100%; position: relative; padding-left: 55px; padding-right: 55px; padding-top: 178px; } .form-title { font-family: Kano; font-size: 30px; color: #fff; line-height: 1.2; text-align: center; font-weight: bold; border-radius: 20px 20px 0 0; display: block; position: absolute; width: 100%; top: 0; left: 0; padding-top: 40px; padding-bottom: 25px; background-color: #3f709e; -webkit-transition: all 0.3s; -o-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .form-title img {height: 70px;} /*------------------------------------------------------------------ [ Input ] */ .zone-input { width: 100%; background-color: #fff; border-radius: 27px; position: relative; z-index: 1; } .input-forms { font-family: Kano; font-size: 15px; line-height: 1.2; position: relative; display: block; width: 100%; height: 55px; background: #d9d9d9; border-radius: 27px; padding: 0 35px 0 35px; } /*------------------------------------------------------------------ [ Focus Input ] */ .focus-input { display: block; position: absolute; z-index: -1; width: 100%; height: 100%; top: 0; left: 50%; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); -o-transform: translateX(-50%); transform: translateX(-50%); border-radius: 31px; background-color: #d9d9d9; pointer-events: none; -webkit-transition: all 0.4s; -o-transition: all 0.4s; -moz-transition: all 0.4s; transition: all 0.4s; } .input-forms:focus + .focus-input {width: calc(100% + 20px);} /*------------------------------------------------------------------ [ Button ]*/ .boite-form-btn { width: 100%; display: -webkit-box; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 50px; } .form-btn { display: -webkit-box; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex; justify-content: center; align-items: center; padding: 0 20px; width: 100%; height: 50px; border-radius: 25px; font-family: Kano; font-size: 15px; color: #fff; line-height: 1.2; background-color: #3f709e; -webkit-transition: all 0.4s; -o-transition: all 0.4s; -moz-transition: all 0.4s; transition: all 0.4s; } .form-btn:hover {background-color: #243e57;} /*------------------------------------------------------------------ [ Alert validate ]*/ .validate-input {position: relative;} .alert-validate::before { content: attr(data-validate); position: absolute; z-index: 1000; max-width: 70%; background-color: #fff; border: 1px solid #c80000; border-radius: 14px; padding: 4px 10px 4px 10px; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); right: 10px; pointer-events: none; font-family: Kano; color: #c80000; font-size: 13px; line-height: 1.4; text-align: left; visibility: hidden; opacity: 0; -webkit-transition: opacity 0.4s; -o-transition: opacity 0.4s; -moz-transition: opacity 0.4s; transition: opacity 0.4s; } .alert-validate::after { font-family: FontAwesome; display: block; position: absolute; z-index: 1100; color: #c80000; font-size: 16px; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); right: 16px; } .alert-validate:hover:before { visibility: visible; opacity: 1; } @media (max-width: 992px) { .alert-validate::before { visibility: visible; opacity: 1; } } /*////////////////////////////////////////////////////////////////// [ Animations ]*/ .shaking_error { animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both; transform: translate3d(0, 0, 0); backface-visibility: hidden; perspective: 1000px; } @keyframes shake { 10%, 90% { transform: translate3d(-1px, 0, 0); } 20%, 80% { transform: translate3d(2px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-4px, 0, 0); } 40%, 60% { transform: translate3d(4px, 0, 0); } } /*////////////////////////////////////////////////////////////////// [ Responsive ]*/ @media screen and (max-width: 991px) { .navigation { left: -300px; } .main { width: 100%; left: 0; } } @media screen and (max-width: 576px) { .form-login { padding-left: 15px; padding-right: 15px; } } #firstname { color: blue; text-align: center; width: 10px; } .lastname { color: red; margin: 10px; opacity: 0.5; }