/* GLOBAL VARIABLES */
:root {
    --color-text: rgba(10, 10, 10);
    --color-textLight: rgba(50, 50, 50);
    --color-textButton: rgba(255, 255, 255);
    --color-backgrkoundLight: rgb(255, 255, 255);
    --color-backgrkoundDark1: rgb(108, 108, 223);
    --color-backgrkoundDark2: rgb(131, 131, 253);
}





/* BODY */
html {
    font-family: Poppins, Helvetica, Arial, sans-serif;
    background: #ffffff;
    background: radial-gradient(circle,rgba(230, 230, 230, 1) 50%, rgba(170, 170, 170, 1) 100%);
}

body {
    display: flex;
    /* Horizontally center the div */
    justify-content: center;
    /* Vertically center the div */
    align-items: center;
    /* Set height to 100% of the viewport */
    height: 100vh;
    /* Remove default body margin */
    margin: 0;
    /* background-color: var(--color-backgrkoundLight); */
}   

html::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('../images/filmatica/filmGrain.webp') repeat;
  mix-blend-mode: overlay; /* try multiply, screen, soft-light */
  pointer-events: none;
}

h1, h2, h3, h6 {
    margin-bottom: 0rem;
    margin-top: 0rem;
    color: var(--color-text);
}

h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
    font-weight: 900;
    line-height: 100%;
}

h2 {
    font-size: 1.1rem;
    line-height: 110%;
    font-weight: normal;
}

.titleAndSubtitle {
    display: flex;
    flex-direction: column;
    gap: 10rem;
    max-width: 40rem;
}

article.titleAndSubtitle {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.buttonsRow {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: space-between;
}

.downloadButton {
    width: 100%;
    max-width: 11rem;
}

a:hover, a:active {
    opacity: 0.6;
}

.buttonLinkText {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    color: var(--color-textLight);
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
}

a:hover.button, a:active.button {
    opacity: 0.5;
}

.rightSideContent {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    max-width: 28rem;
}

.footer {
    color: var(--color-textLight);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
}

.footerSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

p {
    margin: 0;
    font-size: 1rem;
    line-height: 110%;
    font-weight: 400;
}

.card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 4rem;
}





/* IMAGES */
.imageContainer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.titleImage{
    width: 100%;
    max-width: 25rem;
    object-fit: contain;
}

.mockupImage {
    width: 100%;
    max-width: 40rem;
    object-fit: contain;
    -webkit-filter:  drop-shadow(6px 10px 20px rgba(0, 0, 0, 0.7));
    filter: drop-shadow(6px 10px 20px rgba(0, 0, 0, 0.7));
}





/* RESPONSIVE STYLES */
@media screen and (max-width: 55rem) {

    body {
        /* flex can not be used here since it's destory all the margins and the image
        is hidden beneath the top section of the screen in when using flex here on mobile devices. */
        display: inline;
        background-color: var(--color-backgrkoundLight);
        /* background: var(--color-backgrkoundLight); */
        /* background: linear-gradient(170deg, var(--color-backgrkoundDark1) 0%, var(--color-backgrkoundDark2) 30%, var(--color-backgrkoundLight) 30.05%); */
    }

    .card {
        flex-direction: column;
        margin: 2rem;
    }

}