pelayanan_pelatihan/public/assets-login-landing/css/style.css

756 lines
12 KiB
CSS

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root{
--primary-bg-color: #009C98;
}
body {
font-family: "Poppins", sans-serif;
color: #444444;
}
a {
color: #009C98;
text-decoration: none;
}
a:hover {
color: #5EBFBC;
text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Poppins", sans-serif;
font-weight: normal;
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #009C98;
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: #5EBFBC;
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
position: fixed;
visibility: hidden;
opacity: 0;
right: 15px;
bottom: 15px;
z-index: 996;
background: #009C98;
width: 40px;
height: 40px;
border-radius: 4px;
transition: all 0.4s;
}
.back-to-top i {
font-size: 28px;
color: #fff;
line-height: 0;
}
.back-to-top:hover {
background: #5EBFBC;
color: #fff;
}
.back-to-top.active {
visibility: visible;
opacity: 1;
}
/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
[data-aos-delay] {
transition-delay: 0 !important;
}
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
height: 72px;
transition: all 0.5s;
z-index: 997;
transition: all 0.5s;
background: #fff;
}
#header.header-scrolled {
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
#header .logo h1 {
font-size: 28px;
margin: 0;
line-height: 0;
font-weight: 600;
letter-spacing: 1px;
font-family: "Poppins", sans-serif;
}
#header .logo h1 a,
#header .logo h1 a:hover {
color: #576971;
text-decoration: none;
}
#header .logo img {
padding: 0;
margin: 0;
max-height: 40px;
}
/*--------------------------------------------------------------
# Header Social Links
--------------------------------------------------------------*/
.header-social-links {
margin: 0 0 0 30px;
}
@media (max-width: 768px) {
.header-social-links {
margin: 0 15px 0 0;
}
}
.header-social-links a {
color: #7b909a;
display: inline-block;
line-height: 0px;
transition: 0.3s;
padding-left: 10px;
}
.header-social-links a:hover {
color: #009C98;
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
padding: 0;
}
.btn-login{
background-color: #009C98;
border-radius: .2rem;
border: none;
padding: .3rem 1.7rem .55rem;
}
.btn-login:hover{
background-color: #5EBFBC;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
width: 100%;
background-image: url("../img/hero-bg.png");
background-repeat: no-repeat;
background-size: contain;
background-position: right top;
margin-top: 70px;
padding: 60px 0;
}
#hero h1 {
margin: 0 0 20px 0;
font-size: 48px;
font-weight: 700;
line-height: 56px;
color: #364146;
}
#hero h2 {
color: #576971;
margin-bottom: 30px;
font-size: 24px;
}
#hero .btn-get-started {
font-family: "Poppins", sans-serif;
font-weight: 600;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 1px;
display: inline-block;
padding: 12px 28px;
border-radius: 3px;
transition: 0.5s;
color: #fff;
background: #009C98;
transition: transform 0.5s ease-in-out, background 0.5s ease-in-out;
}
#hero .btn-get-started:hover {
background: #5EBFBC;
}
#hero .hero-img {
text-align: center;
}
#hero .hero-img img {
width: 70%;
}
@media (min-width: 1024px) {
#hero {
background-attachment: fixed;
}
}
@media (max-width: 992px) {
#hero h1 {
font-size: 32px;
line-height: 40px;
}
#hero h2 {
font-size: 20px;
}
}
@keyframes moveImage {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-15px);
}
}
#moving-image {
animation: moveImage 3s linear infinite;
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
padding: 60px 0;
overflow: hidden;
}
.section-bg {
background-color: #f7f8f9;
}
.section-title {
text-align: center;
padding-bottom: 30px;
}
.section-title h2 {
font-size: 32px;
font-weight: 400;
margin-bottom: 20px;
padding-bottom: 0;
font-family: "Poppins", sans-serif;
color: #627680;
}
.section-title p {
margin-bottom: 0;
}
/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features {
padding-bottom: 40px;
}
.features .nav-tabs {
border: 0;
}
.features .nav-link {
border: 0;
padding: 20px;
transition: 0.3s;
color: #364146;
transition: 0.3s ease-in-out;
border-radius: 0;
border-left: 4px solid #fafbfb;
}
.features .nav-link h4 {
font-size: 18px;
font-weight: 600;
transition: 0.3s ease-in-out;
color: #576971;
}
.features .nav-link p {
font-size: 14px;
margin-bottom: 0;
}
.features .nav-link:hover {
background: #fafbfb;
}
.features .nav-link:hover h4 {
color: #364146;
}
.features .nav-link.active {
border-radius: 0;
border: 0;
border-left: 4px solid #009C98;
background: #fafbfb;
}
.features .nav-link.active h4 {
color: #009C98;
}
.features .tab-pane.active {
animation: slide-down 0.5s ease-out;
}
.features .tab-content {
text-align: right;
}
@keyframes slide-down {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
padding: 30px;
position: relative;
overflow: hidden;
margin: 0;
background: #fff;
box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
transition: all 0.3s ease-in-out;
border-radius: 4px;
text-align: center;
border-bottom: 3px solid #fff;
}
.services .icon-box:hover {
transform: translateY(-5px);
}
.services .icon i {
font-size: 48px;
line-height: 1;
margin-bottom: 15px;
}
.services .title {
font-weight: 600;
margin-bottom: 15px;
font-size: 18px;
}
.services .title a {
color: #111;
}
.services .description {
font-size: 15px;
line-height: 28px;
margin-bottom: 0;
}
.services .icon-box-pink .icon i {
color: #ff689b;
}
.services .icon-box-pink:hover {
border-color: #ff689b;
}
.services .icon-box-cyan .icon i {
color: #3fcdc7;
}
.services .icon-box-cyan:hover {
border-color: #3fcdc7;
}
.services .icon-box-green .icon i {
color: #41cf2e;
}
.services .icon-box-green:hover {
border-color: #41cf2e;
}
.services .icon-box-blue .icon i {
color: #2282ff;
}
.services .icon-box-blue:hover {
border-color: #2282ff;
}
/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
background: linear-gradient(rgba(243, 255, 253, 0.694), rgba(255, 255, 255, 0.8)), url("../img/cta.png") center center;
background-size: cover;
padding: 80px 0;
}
.cta h3 {
color: #364146;
font-size: 28px;
font-weight: 700;
}
.cta p {
color: #576971;
}
.cta .cta-btn {
font-family: "Poppins", sans-serif;
font-weight: 500;
font-size: 15px;
letter-spacing: 1px;
display: inline-block;
padding: 10px 30px;
border-radius: 4px;
transition: 0.5s;
margin: 10px;
color: #fff;
background: #009C98;
}
.cta .cta-btn:hover {
background: #5EBFBC;
}
@media (min-width: 1024px) {
.cta {
background-attachment: fixed;
}
}
@media (min-width: 769px) {
.cta .cta-btn-container {
display: flex;
align-items: center;
justify-content: flex-end;
}
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
background: #f7f8f9;
padding: 0 0 30px 0;
color: #364146;
font-size: 14px;
}
#footer .copyright {
text-align: center;
padding-top: 30px;
}
#footer .credits {
padding-top: 8px;
text-align: center;
font-size: 13px;
color: #364146;
}
/*--------------------------------------------------------------
# Login
--------------------------------------------------------------*/
.login {
font-family: 'Poppins', sans-serif;
overflow: hidden;
}
.login .container {
width: 100vw;
height: 100vh;
display: flex;
padding: 1rem 2rem 0 2rem;
justify-content: center;
}
.login .img {
display: flex;
justify-content: flex-end;
align-items: center;
margin: 0 45px 0 -55px;
}
.login .img img {
width: 550px;
}
.login .login-content {
display: flex;
justify-content: flex-start;
align-items: center;
}
.login .login-content form {
width: 400px;
}
.login .login-content form h1 {
color: #009C98;
font-weight: 700;
}
.login .login-content form p {
color: #009C98;
font-size: 13px;
letter-spacing: .8px;
padding: 5px 0 30px 0;
}
.login .login-content .input-div {
position: relative;
display: grid;
grid-template-columns: 7% 93%;
margin: 25px 0;
padding: 5px 0;
border-bottom: 1.5px solid #009C98;
}
.login .login-content .input-div.one {
margin-top: 0;
}
.login .i {
color: #009C98;
display: flex;
justify-content: center;
align-items: center;
}
.login .i i {
transition: .3s;
}
.login .input-div>div {
position: relative;
height: 45px;
}
.login .input-div>div>h5 {
position: absolute;
size: 1;
left: 10px;
top: 50%;
transform: translateY(-50%);
color: #037874;
font-size: .9rem;
font-weight: 600;
transition: .3s;
}
.login .input-div:before,
.login .input-div:after {
content: '';
position: absolute;
bottom: -2px;
width: 0%;
height: 2px;
background-color: #009C98;
transition: .4s;
}
.login .input-div:before {
right: 50%;
}
.login .input-div:after {
left: 50%;
}
.login .input-div.focus:before,
.login .input-div.focus:after {
width: 50%;
}
.login .input-div.focus>div>h5 {
top: -5px;
font-size: 15px;
}
.login .input-div.focus>.i>i {
color: #009C98;
}
.login .input-div>div>input {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
border: none;
outline: none;
background: none;
padding: 0.5rem 0.7rem;
font-size: 1.2rem;
/* color: #555; */
}
.login .input-div.pass {
margin-bottom: 40px;
}
.login .btn {
display: block;
width: 100%;
height: 50px;
border-radius: 10px;
outline: none;
border: none;
background-color: #009C98;
background-size: 200%;
font-size: 1rem;
/* color: #fff; */
font-family: 'Open Sans', sans-serif;
text-transform: uppercase;
margin: 1rem 0;
cursor: pointer;
transition: .5s;
}
.login .btn:hover {
transform: translateY(-5px);
background-color: #5EBFBC;
}
@keyframes moveImage {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-15px);
}
}
.login #moving-login-img {
animation: moveImage 3s linear infinite;
}
@media screen and (max-width: 1120px) {
form{
width: 300px;
}
.login-content h2{
font-size: 2.4rem;
margin: 8px 0;
}
.login .img {
justify-content: center;
margin: 0;
}
.login .img img {
width: 80%;
}
.login .login-content form {
width: 80%;
}
}
@media screen and (max-width: 900px) {
.login .container {
grid-template-columns: 1fr;
}
.login .img {
display: none;
}
.login .wave {
display: none;
}
.login .login-content {
justify-content: center;
}
}
@media screen and (max-width: 768px) {
.login .container {
flex-direction: column;
align-items: center;
}
.login .login-content {
justify-content: center;
}
.login .login-content form {
width: 80%;
}
.login .btn {
width: 100%;
}
}