:root {
    --body-color: #151515;
    --main-color: #2b2b2b;
    --nav-footer-color: #252525;
    --text-color: #fff;
    --darker-text-color: grey;
    --link-text-color: #008cff;
}

html,
body {
    font-family: "Poppins", sans-serif;
    background-color: var(--body-color);
    color: var(--text-color);
    padding: 0 7.3% 0 6.8%;
    transition: .6s cubic-bezier(0.45, 0.05, 0.18, 1);
    scroll-behavior: smooth;
}

a {
    color: var(--link-text-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav {
    margin: -8px 0;
    padding: 20px;
    background-color: var(--nav-footer-color);
}

nav .logo {
    font-size: 20px;
    font-weight: 800;
}

nav .logo a {
    color: var(--text-color);
    text-decoration: none;
}

nav .links {
    float: right; 
    margin: -28px 0 0 0;
}

nav .links a {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    margin: 0 0 0 15px;
    transition: linear;
    font-size: 18px;
}

nav .links a::before {
    content: "";
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    bottom: 0px;
    background: #fff;
    transition: 0.6s transform ease;
    transform: scale3d(0, 1, 1);
}

nav .links a:hover::before {
    transform: scale3d(1, 1, 1);
}

nav .links a::before {
    background: var(--link-text-color);
    transform-origin: 110% -10px;
    bottom: -6px;
}

nav .links a:hover::before {
    transform-origin: -10px 110%;
}

nav .burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    cursor: pointer;
    float: right;
    margin: -33px 0;
    position: fixed;
    background-color: var(--nav-color);
    padding: 10px;
    right: 20px;
    z-index: 4;
}

.nav-open .burger {
    display: block;
    z-index: 10000;
    position: fixed;
    top: 47px;
    right: 20px;
}

.nav-open .links {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--menu-nav-color);
    position: fixed;
    top: 0;
    left: -10px;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.nav-open .burger .line:nth-child(1) {
    transform: translateY(5px);
}

.nav-open .burger .line:nth-child(2) {
    opacity: 0;
    transform: translateY(-5px);
    
}

.burger .line {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
    z-index: 9999;
    margin: 4px 0;
}

header {
    background-image: url(Images/header.jpeg);
    background-position: center;
    background-size: cover;
    height: 400px;
    margin: 8px 0 0 0;
}

header .page-title {
    text-align: center;
    padding: 100px 0 0 0;
}

header .page-title h3 {
    font-size: 25px;
}

header .page-title h1 {
    font-size: 45px;
}

main {
    padding: 20px 60px;
}

.start {
    background-color: var(--main-color);
    padding: 30px;
}

.start p {
    text-align: justify;
}

.cards {
    display: flex;
    margin: 20px -10px;
}

.card {
    background-color: var(--main-color);
    margin: 0 10px;
    padding: 20px 40px;
    width: 50%;
}

.card p {
    padding: 0;
}

.card button {
    background-color: transparent;
    color: var(--link-text-color);
    border: 2px solid var(--link-text-color);
    width: 100%;
    height: 50px;
    font-family: "Poppins", sans-serif;
    float: right;
    position: relative;
    margin: 20px 0;
    padding: 0 0 4px 0;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all .1s ease-in-out;
    
}

.card button:hover {
    background-color: var(--link-text-color);
    color: var(--text-color);
}

.icon {
    font-size: 20px;
    transform: translateY(3.5px) translateX(24.5px);
    transition: all .3s ease-in-out;
    color: transparent;
    margin-left: -15px;
}

.card button:hover .icon {
    transform: translateY(3.5px) translateX(18.5px);
    color: var(--text-color);
    margin-left: -12px;
}

footer {
    background-color: var(--nav-footer-color);
    padding: 20px 60px 40px 0;
    bottom: 0;
    margin: 0 0 -8px 0;
}

footer .splits {
    display: flex;
}

.splits .widget {
    width: 50%;
    margin: 0 0 0 50px;
}

.splits .widget ul {
    margin: -10px 0 0 -25px;
}

.splits .widget ul li {
    list-style-type: square;
}

.splits .widget ul li::marker {
    color: var(--link-text-color);
}

.splits .widget ul li a {
    color: var(--darker-text-color);
}

.splits .widget ul li a:hover {
    color: var(--link-text-color);
    text-decoration: none;
}
