:root {
    --footer-bottom-bg-color: #f7e7df;
    --primary-color: rgb(24, 26, 27);
    --secondary-color: #475569;
    --input-color: rgb(29, 31, 32);
    --input-bg-color: #fbf4f0;
    --input-border-color: #33d4c7;
    --primary-bg-color: #fcfcfc;
    --secondary-bg-color: #fbf4f0;
    --link-hover-color: #f8c76c;
    --cta-bg-color: #2ec4b6;
    --cta-bg-hover-color: #33d4c7;
    --cta-bg-active-color: #33d4c740;
    --cta-color: #111;
    --cta-neutral-bg-color: #f1f1f1;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--secondary-bg-color);
    color: var(--primary-color);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    font-size: 16px;
    font-family: sans-serif;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
img,
video {
    width: inherit;
    height: auto;
}
a {
    color: var(--primary-color);
    text-decoration: none;
    width: 100%;
}
h1,
h2,
h3 {
    text-align: center;
    color: var(--primary-color);
}
h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #0A2540;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
h2 {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5;
    max-width: 700px;
    margin-bottom: 0 auto 1.5em;
    text-align: center;    
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color:  var(--secondary-color);
    
}
.landing-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color:  var(--secondary-color);
    line-height: 1.5;
    max-width: 700px;
    text-align: center;

}
h3 {
    font-size: 24px;
    font-weight: 525;
    margin: 0;
}
p {
    font-size: 18px;
}
main {
    background-color: var(--primary-bg-color);
    padding-bottom: 32px;
}
section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 4%;
}
main section {
    padding-top: 32px;
    padding-bottom: 32px;
}
ul {
    list-style-type: none;
    padding-left: 0;
}
.landing-section {
    margin-top: -50px;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    row-gap: 5vh;
}
.landing-bg-logo {
    width: 124px;
    opacity: 10%;
    position: absolute;
}
.law-scale {
    top: 15%;
    left: 10%;
}
.law-scale img {
    transform: rotateZ(-25deg);    
}
.calculator {
    top: 20%;
    right: 25%;
}
.calculator img {
    transform: rotateZ(15deg);    
}
.calculator-2 {
    top: 70%;
    left: 15%;
}
.calculator-2 img {
    transform: rotateZ(-15deg);    
}
.law-scale-2 {
    top: 45%;
    right: 10%;
}
.law-scale-2 img {
    transform: rotateZ(25deg);    
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    width: 90%;
    z-index: 1;
}
.hero-container img {
    width: 50%;
}
.cta-container {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    min-width: 50%;
    align-items: center;
    z-index: 1;
}
.cta-buttons {
    opacity: 1;
    transition: all 1s;
    display: flex;
    flex-direction: row;
    column-gap: 16px;
    max-width: 524px;
    width: 100%;
}
.cta:hover {
    background-color: var(--cta-bg-hover-color);
}
.cta:active {
    background-color: var(--cta-bg-active-color);
}
.cta-container a {
    width: 100%;
}
button {
    cursor: pointer;
}
.cta {
    background-color: var(--cta-bg-color);
    padding: 16px;
    border-radius: 32px;
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
    color: var(--cta-color);
}
.cta.neutral {
    background-color: var(--cta-neutral-bg-color);
}
.cta.neutral:hover {
    background-color: #fafafa;
}
.hero-container div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
body > footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 8px;
    background-color: var(--footer-bottom-bg-color);
    color: var(--primary-color);
    padding: 16px;
}
.bold {
    font-weight: 700;
}
.hidden {
    opacity: 0;
    transition: all 1s;
}
.dimmed {
    opacity: 0.3;
    transition: all 1s;
}
.show {
    opacity: 1;
    transform: translate(0);
}
h2 {
    transition-delay: 0.5s;
}

.footer-social-network-icon {
    width: 30px;
}
.footer-social-network-icon img {
    mix-blend-mode: multiply;
}
@media screen and (max-width: 1250px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    #hero-image-container {
        display: none;
    }

}
@media screen and (max-width: 1090px) {
    .landing-section {
        margin: 0;
    }
    .landing-bg-logo {
        width: 96px;
    }
}
@media screen and (max-width: 834px) {
    h1 {
        margin-top: 0;
    }
    .card-container {
        width: 80%;
    }
    .cta-buttons {
        column-gap: 8px;
    }
    .cta {
        font-size: 12px;
    }
    .landing-bg-logo {
        width: 64px;
    }
    .calculator {
        top: 14%;
        right: 10%;
    }
    .law-scale {
        top: 10%;
        right: 10%;
    }
}

@media screen and (max-width: 650px) {
    .landing-bg-logo {
        width: 64px;
    }
    .calculator {
        top: 5%;
        right: 10%;
    }
    .law-scale {
        top: 7%;
        right: 10%;
    }
}
