/*************************************/
/*  STYLES FOR COUNSELING WITH CARE  */
/*************************************/



/* NON STANDARD FONTS ****************/

@font-face {
    font-family: 'AcidGrotesk-Light';
    src: url(../font/FFF-AcidGrotesk-Light-TRIAL.otf);
}

@font-face {
    font-family: 'AcidGrotesk-Regular';
    src: url(../font/FFF-AcidGrotesk-Regular-TRIAL.otf);
}

@font-face {
    font-family: 'AcidGrotesk-Medium';
    src: url(../font/FFF-AcidGrotesk-Medium-TRIAL.otf);
}

@font-face {
    font-family: 'AcidGrotesk-Bold';
    src: url(../font/FFF-AcidGrotesk-Bold-TRIAL.otf);
}

@font-face {
    font-family: 'Radwave';
    src: url(../font/RadwaveFont_Regular.otf);
}


/* VARIABLES *************************/

:root {
    --white:           hsla(330, 60%, 95%, 1);
    --accent:          hsla(167, 89%, 78%, 1);
    --accent-hover:    hsla(167, 40%, 50%, 1);
/*    --black:           hsla(180, 35%, 7%,  1);*/
  /*--black:           hsla(60,  1%,  14%, 1);*/
    --black:           hsla(202, 31%, 7%,  1);

    --size-base:       1rem;
    --size-base-s:     calc(var(--size-base) * 0.5);
    --size-base-l:     calc(var(--size-base) * 2);

    --font-size-xxl:   calc(var(--size-base) * 3.25);
    --font-size-xl:    calc(var(--size-base) * 2.15);
    --font-size-l:     calc(var(--size-base) * 1.5);
    --font-size:       calc(var(--size-base) * 1.125);  /* Change the multiplier for font size adjustments */
    --font-size-s:     calc(var(--size-base) * 0.8);
    --font-size-xs:    calc(var(--size-base) * 0.7);
    --line-height-base: 1.65;

    --border-thin:     0.12em;
    --content-width:   75em;
    --content-gap:     clamp(2em, 8vw, 6em);
    --column-gap:     clamp(2em, 8vw, 6em);
    --page-min-margin: clamp(1.5em, 5vw, 3em);
}

@media only screen and (max-width: 599px) {
    :root {
        --font-size:   var(--font-size-base);
    }
}


/* GENERAL ***************************/

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    margin: 0;
    padding: 0;
    font-family: 'AcidGrotesk-Regular';
    font-size: var(--font-size);
    color: var(--white);
    text-rendering: optimizeLegibility;
}

html, body, header, section, footer, main, div, img,
h1, h2, h3, h4, h5, h6, p, ul, ol, li {
    position: relative;
    box-sizing: border-box;
}

p, ul, ol, li {
    line-height: var(--line-height-base);
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--accent-hover);
    cursor: pointer;
}

.button {
    display: inline-block;
    padding: 1em 2em;
    background-color: transparent;
    border: var(--border-thin) solid var(--accent);
    border-radius: var(--radius);
    font-family: 'AcidGrotesk-Medium';
    text-decoration: none;
    color: var(--accent);
    line-height: 1;
    transition: all linear .25s;
}

.button:hover {
    background-color: var(--accent);
    color: var(--black);
}


/* SECTIONS ****************************/

header {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--content-width);
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    padding: 3em var(--page-min-margin);
    z-index: 100;
}

@media only screen and (max-width: 599px) {
    header {
        justify-content: center;
    }

    .button-info {
        display: none;
    }
}

section,
footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

section > *,
footer > * {
    width: 100%;
    max-width: var(--content-width);
    padding: var(--content-gap) var(--page-min-margin);
}

footer {
    background-color: var(--accent);
    color: var(--black);
}

.cover {
    height: 100dvh;
    min-height: 30em;
    padding: 0;
    gap: 0;
    align-items: end;
    background-image: url(../img/norman-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 599px) {
    .cover {
        background-size: 140% auto;
        background-position: center bottom 10%;
    }

    .cover > * {
        justify-items: center;
    }
}

.columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
    gap: var(--column-gap);
}

@media only screen and (max-width: 599px) {
    .columns {
        grid-template-columns: 1fr;
    }
}

.columns-align-top {
    align-items: start;
}

.copyright {
    padding-bottom: 0;
    margin-bottom: 0;
}

@media only screen and (max-width: 599px) {
    .copyright {
        text-align: center;
    }
}


/* BLOCKS ****************************/

.block {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    height: 100%;
}

.block > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}


/* TYPOGRAPHY ************************/

h1, h2, h3 {
    font-family: 'AcidGrotesk-Medium';
    font-weight: normal;
}

h1 {
    font-size: var(--font-size-xxl);
}

h2 {
    font-size: var(--font-size-xl);
    margin-bottom: 2em;
}

h3 {
    font-size: var(--font-size-l);
    margin-bottom: 0;
}

.title {
    font-family: 'Radwave';
    max-width: 10ch;
    line-height: 1.2;
    font-size: clamp(1.65em, 5vw, var(--font-size-xxl));
    margin: 0;
    text-align: center;
    padding-bottom: 0.5em;
}

@media only screen and (max-width: 599px) {
    @-webkit-keyframes scrollDown {
        0% {
            -webkit-transform: translateY(0);
            transform: translateY(0);
            opacity: 1;
        }
        100% {
            -webkit-transform: translateY(0.8em);
            transform: translateY(0.8em);
            opacity: 0;
        }

    }
    @keyframes scrollDown {
        0% {
            -webkit-transform: translateY(0);
            transform: translateY(0);
            opacity: 1;
        }
        100% {
            -webkit-transform: translateY(0.8em);
            transform: translateY(0.8em);
            opacity: 0;
        }

    }

    .title::after {
        content: "\e69b";
        display: block;
        font-family: 'Material Symbols Sharp';
        font-size: 2em;
        -webkit-animation-name: scrollDown;
        animation-name: scrollDown;
        -webkit-animation-duration: 2s;
        animation-duration: 2s;
        -webkit-animation-iteration-count: 5;
        animation-iteration-count: 5;
    }
}

@media only screen and (min-width: 600px) {
    .title {
        max-width: 17ch;
        text-align: left;
    }
}

.lead {
    font-family: 'AcidGrotesk-Light';
    font-size: var(--font-size-l);
}

.small {
    font-size: var(--font-size-s);
}

.block_hands-heart p {
    max-width: 30ch;
    margin-inline: auto;
    margin-top: 2em;
    margin-bottom: 0;
}


/* LISTS *****************************/

.unstyled {
    list-style-type: none;
    padding-left: 0;
}

.unstyled .bullet {
    -webkit-transform: translateY(.2em);
    transform: translateY(.2em);
}



/* GRAPHICS **************************/

.logo-horizontal {
    width: 15em;
    display: none;
}

@media only screen and (min-width: 600px) {
    .logo-horizontal {
        display: block;
    }
}

.logo-vertical {
    width: 12em;
}

@media only screen and (min-width: 600px) {
    .logo-vertical {
        display: none;
    }
}

.normanandrose {
    display: block;
    width: calc(100% + calc(var(--size-base-l) * 2));
    margin-top: -7em;
    margin-left: calc(var(--size-base-l) * -1);
}

@media only screen and (max-width: 878px) {
    .block_normanandrose {
        margin-top: var(--column-gap);
    }
}

.hands-heart {
    display: inline-block;
    width: 8em;
}

.top-decoration::before {
    content: "";
    display: block;
    margin-bottom: 1em;
    width: 100%;
    max-width: 20ch;
    height: 1rem;
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0 0.3rem,
        var(--accent) 0.3rem 0.4rem
    );
    -webkit-transform: skew(20deg);
    transform: skew(20deg);
}

footer .logo-symbol {
    display: block;
    width: clamp(25rem, 40vw, 50rem);
    margin-inline: auto;
}

@media only screen and (max-width: 599px) {
    footer .logo-symbol {
        width: 90%;
    }
}


/* UTILITY ***************************/

/* TEXT */

.uppercase {
    text-transform: uppercase;
}

.text-accent {
    color: var(--accent);
}

.text-black {
    color: var(--black);
}

.text-center {
    text-align: center;
}

.text-medium {
    font-family: 'AcidGrotesk-Medium';
}

.text-regular {
    font-family: 'AcidGrotesk-Regular';
}

.text-bold {
    font-family: 'AcidGrotesk-Bold';
}

.text-xbold {
    font-family: 'Radwave';
}

.text-maxwidth-28 {
    max-width: 28ch;
}

/* COLOR */

.bkg-accent {
    background-color: var(--accent);
}

.bkg-white {
    background-color: var(--white);
}

.bkg-black {
    background-color: var(--black);
    color: var(--white);
}

@media only screen and (min-width: 600px) {
    .visible-s {
        display: none;
    }
}

/* SHAPE */

.fill-accent {
    fill: var(--accent);
}

.fill-black {
    fill: var(--black);
}

.rounded {
    border-radius: var(--size-base);
}

.rounded-l {
    border-radius: var(--size-base-l);
}

/* SPACING */

.padding {
    padding: var(--size-base);
}

.padding-l {
    padding: var(--size-base-l);
}

.padding-xl {
    padding: calc(var(--size-base-l) * 1.65);
}

.margin-t-base {
    margin-top: calc(var(--size-base-l) * 1.65);
}

.margin-t-l {
    margin-top: var(--column-gap);
}

.margin-b-l {
    margin-bottom: var(--column-gap);
}

.margin-b-xl {
    margin-bottom: calc(var(--column-gap) * 1.5);
}
