@import url("reset.css");
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/*
 * VARIABLES
 * GENERAL
 * CONTENT
 */





/*************************
 * VARIABLES
 *************************/
:root {
    --color1: #fff;
    --color2: #000;
    --color3: #212529;
    --color4: #00378a;
    --color-default: var(--color3);

    --font-family-default: 'DM Sans', Arial, sans-serif;

    --font-size-default: 16px;
    --line-height-default: 1.33;
}

@media screen and (width < 1024px) {
    :root {
        --font-size-default: 15px;
    }
}

@media screen and (width < 600px) {
    :root {
        --font-size-default: 14px;
    }
}





/*************************
 * GENERAL
 *************************/
html {
    background: url('../images/amat-homepage-desktop.jpg') no-repeat 50% 0;
    background-size: 100% auto;
    font-family: var(--font-family-default);
    font-size: var(--font-size-default);
    line-height: var(--line-height-default);
    color: var(--color-default);
}

body {
    min-height: 100vh;
    padding-block: 5vh;
    background-color: color-mix(in srgb, var(--color2) 40%, transparent);
    backdrop-filter: blur(8px);
    align-content: center;
}

@media screen and (width < 1024px) {
    html {
        background-image: url('../images/amat-homepage-tablet.jpg')
    }
}

@media screen and (width < 600px) {
    html {
        background-image: url('../images/amat-homepage-mobile.jpg')
    }
}





/*************************
 * CONTENT
 *************************/
.content {
    width: calc(100% - max(24px, 5vw) * 2);
    max-width: 60rem;
    margin-inline: auto;
    padding: 3rem 5% 4rem;
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 .25rem 3rem 0 color-mix(in srgb, var(--color2) 8%, transparent);
    translate: 0 -2.5vh;
    .title {
        text-align: center;
        font-size: 2.62rem;
        line-height: 1.28;
        font-weight: 700;
        color: var(--color4);
    }
    .txt {
        margin-top: 2rem;
        font-size: 1.12rem;
        font-weight: 300;
        p {
            margin-top: 1rem;
            &:first-child {
                margin-top: 0;
            }
        }
        b {
            font-weight: 700;
        }
    }
}