@import url("//hello.myfonts.net/count/3b9a9c");

@font-face {
    font-family: 'MotorwayBold-Italic';
    src: url('/assets/fonts/Motorway/MotorwayBold-Italic/font.woff2') format('woff2');
}

@font-face {
    font-family: 'Motorway-Italic';
    src: url('/assets/fonts/Motorway/Motorway-Italic/font.woff2') format('woff2');
}

@font-face {
    font-family: 'MotorwaySemiBold';
    src: url('/assets/fonts/Motorway/MotorwaySemiBold/font.woff2') format('woff2');
}

@font-face {
    font-family: 'MotorwayBold';
    src: url('/assets/fonts/Motorway/MotorwayBold/font.woff2') format('woff2');
}

@font-face {
    font-family: 'MotorwaySemiBold-Italic';
    src: url('/assets/fonts/Motorway/MotorwaySemiBold-Italic/font.woff2') format('woff2');
}

@font-face {
    font-family: 'Motorway-Regular';
    src: url('/assets/fonts/Motorway/Motorway-Regular/font.woff2') format('woff2');
}

:root {
    /* General Colors */
    --S2S-Red: #ec1c24;
    --S2S-Green: #72be44;
    --S2S-Blue: #02b5cb;
    --Dark-Text: #383839;
    --Sm-Icons-Outline: #4d4d4d;
    --Light-Trans-Bkgd: rgba(255, 255, 255, .45);
    --Medium-Trans-Bkgd: rgba(0, 0, 0, .35);
    --Dark-Trans-Bkgd: rgba(0, 0, 0, .55);

    /*Circle Shape Colors*/
    --Trans-Red: rgba(255,0,0,.72);

    --Trans-Lt-Green: rgba(114,190,68,.38);
    --Trans-LtMd-Green: rgba(114,190,68,.58);
    --Trans-Md-Green: rgba(62,181,73,.72);
    --Trans-Bright-Green: rgba(0,255,0,.58);

    --Trans-Lt-Cyan: rgba(2,181,203,.41);
    --Trans-Cyan: rgba(2,181,203,.72);
    --Trans-Lt-Purple: rgba(135,82,165,.52);
    --Trans-Yellow: rgba(255,255,0,.58);
    --Trans-Blue: rgba(0,0,255,.57);
    --Trans-Purple: rgba(135,82,165,.72);

    /* E-mail Form Colors */
    --Form-Frame: #9a9c9f;
    --Form-Bkgd: rgba(255, 255, 255, .85);
    --Form-Field-Bkgd: rgba(255, 255, 255, 0);
    --Form-Fields-Hover: #7FA7CB;
    --Send-Button-Bkgd: #737577;
    --Send-Button-Text: white;
    --Button-Hover: #4d4d4d;
    --Button-Pressed: black;

    /* Fonts */
    --Regular: 'Motorway-Regular';
    --Italic: 'Motorway-Italic';
    --Bold: 'MotorwayBold';
}

* {
    text-align: center;
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    font-family: var(--Regular);
}

a {
    text-decoration: none;
}

p,
input,
textarea,
#thankYou,
h2,
input::placeholder {
    font-size: 14pt;
    line-height: 18pt;
}

h1 {
    font-size: clamp(20pt,2.6vw,25pt);
    color: white;
    text-shadow: 0 0 0 #000000,0 0 0 black,-14px 0 10px #1a62b8,0 0 0 #000000;
    letter-spacing: 1pt;
    margin-top: 40px;
    margin-bottom: 10px;
    }

h2 {
    font-size: 20pt;
    letter-spacing: 1pt;
    margin-bottom: 10px;
}

h3 {
    font-size: 2vw;
    color: white;
}

img {
    width: 100%;
    height: 100%;
    display: block;
}

footer, footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(50px, 6vw,100px);
    width: auto;
    background-color: var(--S2S-Green);
    color: white;
    font-size: clamp(8pt,1.2vmax,14pt);
}

.introductions {
    grid-area: intro;
    text-align: left;
    font-size: clamp(12pt,1.7vw,14pt);
    line-height: clamp(16pt,1.7vw,18pt);
    color: var(--Dark-Text);
    margin-bottom: 30px;
}

.divCircles {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    color: white;
    font-size: clamp(8pt,1.3vw,14pt);
    line-height: clamp(12pt,2vw,20pt);
    z-index: -1;
}

.divCirclesNoPadding {
    padding: 0;
}

.circleWithQuotationMarkTop {
    top: 1vw;
    position: absolute;
    height: clamp(30px,4.5vw,50px);
    width: clamp(30px,4.5vw,50px);
    background-image: url(/assets/img/Circle_With_Quotation_Mark_Top.svg);
    background-position: center;
    background-size: cover;
    margin-bottom: 10px;
}

.circleWithQuotationMarkBottom {
    bottom: 1vw;
    position: absolute;

    height: clamp(30px,4.5vw,50px);
    width: clamp(30px,4.5vw,50px);
    background-image: url(/assets/img/Circle_With_Quotation_Mark_Bottom.svg);
    background-position: center;
    background-size: cover;
    margin-top: 10px;
}

.circleImages {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: clamp(70px,7.5vw,114px);
    width: clamp(70px,7.5vw,114px);
}

#indexPageGrid {
    display: grid;
    grid-template-columns: 15vw 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: '. hero_image';
}

/*Text Fade In & Out Settings*/
.fadeIn {
    opacity: 1;
    transition: all 1s ease;
}

.fadeOut {
    opacity: 0;
    transition: all 1s ease;
}

/* Nav Bar */
.navBarGrid {
    position: fixed;
    z-index: 1;

    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    grid-template-areas: '. nav_bar sm_icons';
    top: -45px;
}

.navBarItemsGrid {
    display: grid;
    list-style: none;
    grid-area: nav_bar;
    grid-template-columns: auto auto auto auto auto;
    grid-template-rows: auto;
    grid-template-areas: 'home about services learn contact';
}

.navBarItemContainer {
    border-radius: 50%;
    grid-area: nav_bar;
    width: clamp(75px,12vw,110px);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 1px solid var(--S2S-Green);
    background-color: white;
}

.navBarIcons {
    width: clamp(20px,2.5vw,25px);
    padding-top: 46px;
    fill: var(--S2S-Blue);
}

.navBarIcons:hover {
    fill: var(--S2S-Red);
}

.navBarItemText {
    padding-top: 46px;

    padding-bottom: clamp(5px,1.2vw,10px);
    font-size: clamp(12pt,2vw,14pt);
    color: var(--S2S-Blue);
    font-family: var(--Bold);
}

.navBarItemText:hover {
    color: var(--S2S-Red);
}

/*Banner Messages*/

/* Social Media Logos */
.smLogosContainer {
    grid-area: sm_icons;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
    row-gap: 20px;
    padding: 50px 10px 0 0;
}

.smLogos {
    width: 55px;
    height: 40px;
    fill: white;
    margin-left: 30px;
}

.smLogos:hover {
    fill: var(--S2S-Red);
}

/* S2S Logo & Animated Circles */
#s2sLogo {
    height: 24vw;
    width: 25vw;
    top: 15vw;
    left: 6vw;
    position: absolute;
}

.greenAnimatedCircle {
    height: 4vw;
    width: 4vw;
    top: 14vw;
    left: 21vw;
    position: absolute;
    background-color: var(--Trans-LtMd-Green);
    animation-name: floatingGreenCircle;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes floatingGreenCircle {
    0%   { transform: translate(0px, 0px);}
    10%  { transform: translate(0px, 1px);}
    20%  { transform: translate(4px, -3px);}
    30%  { transform: translate(6px, 2px);}
    40%  { transform: translate(8px, 0px);}
    50%  { transform: translate(9px, -4px);}
    60%  { transform: translate(7px, -2px);}
    70%  { transform: translate(5px, 0px);}
    80%  { transform: translate(3px, -2px);}
    90%  { transform: translate(0px,  2px);}
    100% { transform: translate(0px, 0px);}
}

.blueAnimatedCircle {
    height: 11vw;
    width: 11vw;
    top: 15vw;
    left: 26vw;
    position: absolute;
    background-color: var(--Trans-Cyan);
    animation-name: floatingBlueCircle;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes floatingBlueCircle {
    0%   { transform: translate(0px,  0px);}
    10%  { transform: translate(0px,  5px);}
    20%  { transform: translate(6px, -6px);}
    30%  { transform: translate(8px, 0px);}
    40%  { transform: translate(10px, -5px);}
    50%  { transform: translate(12px, -6px);}
    60%  { transform: translate(10px, 0px);}
    70%  { transform: translate(8px, 4px);}
    80%  { transform: translate(6px, -5px);}
    90%  { transform: translate(4px, 3px);}
    100% { transform: translate(0px, 0px);}
}

.blueAnimatedCircle2 {
    height: 8vw;
    width: 8vw;
    top: 43vw;
    left: 16vw;
    position: absolute;
    background-color: var(--Trans-Cyan);
    animation-name: floatingBlueCircle2;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes floatingBlueCircle2 {
    0%   { transform: translate(0px, 0px);}
    10%  { transform: translate(4px, 3px);}
    20%  { transform: translate(6px, -5px);}
    30%  { transform: translate(8px, 4px);}
    40%  { transform: translate(10px, 0px);}
    50%  { transform: translate(12px, -6px);}
    60%  { transform: translate(10px, -5px);}
    70%  { transform: translate(8px, 0px);}
    80%  { transform: translate(6px, -6px);}
    90%  { transform: translate(0px,  5px);}
    100% { transform: translate(0px,  0px);}
}

/* Unordered List*/
ul li {
    text-align: left;
    list-style: none;
    background-repeat: no-repeat;
}

/*About Page*/
#quoteListGrid {
    display: grid;
    grid-template-columns: 1fr 61vw 1fr;
    grid-template-rows: 100px auto 103vw 100px;
    grid-template-areas: '. . .' '. intro .' 'quote_area quote_area quote_area' '. . .';

    /* overflow: hidden */

    /* position: relative */
}

#quoteIntro {
    grid-area: intro;
    text-align: left;
    color: var(--Dark-Text);
    font-size: clamp(10pt,1.7vw,14pt);
    line-height: clamp(14pt,2vw,20pt);
}

#quoteCirclesArea {
    grid-area: quote_area;
    display: flex;

}

/*Services Page*/
#servicesGrid {
    display: grid;
    grid-template-columns: 1fr max-content max-content;
    grid-template-rows: 100px 1fr 100px;
    grid-template-areas: '. . .' '. specialties diagnoses' '. . .';
    background-image: url('/assets/img/Services.jpg');
    background-position: center;
    background-repeat: no-repeat;

    height: auto;
    background-size: cover;
    column-gap: 25px;
    grid-area: 1 / 1 / 2 / 3;
}

@media (max-width: 1272px) {
    #servicesBkgd {
        background-color: var(--Dark-Trans-Bkgd);
         grid-area: 1 / 1 / 4 / 4;
    }
    
    h1 {
    text-shadow: 0 0 0 #fdfdfd;
    }

}

.servicesList > li {
    /* White smile icon bullet */
    background-image: url("/assets/img/S2S_Smile_White.svg");
    background-size: clamp(14px,2.5vw,23px);
    padding: 0px 0 0 35px;
    font-size: clamp(12pt,2.8vw,20pt);
    line-height: clamp(16pt,3.2vw,23pt);
    color: white;
}

#specialties {
    grid-area: specialties;
    display: flex;
    flex-direction: column;
    gap: 25pt;
}

#diagnoses {
    grid-area: diagnoses;
    display: flex;
    flex-direction: column;
    gap: 25pt;
    margin-right: 7vw;
}

/*Learn Page*/
#qAndAListGrid {
    display: grid;
    grid-template-columns: 1fr 61vw 1fr;
    grid-template-rows: 100px auto 1fr 100px;
    grid-template-areas: '. . .' '. intro .' '. quotes .' '. . .';

    overflow: hidden;

    position: relative;
}
#qAndAList {
    grid-area: quotes;
    font-size: clamp(12pt,1.7vw,14pt);
    line-height: clamp(16pt,1.7vw,18pt);
    display: flex;
    flex-direction: column;
    gap: 25pt;
    list-style-type: none;
    color: var(--Dark-Text);
}

#qAndAList > li:nth-child(odd) {
    list-style-type: 'Q  ';
}

#qAndAList > li:nth-child(even) {
    list-style-type: 'A  ';
}

/* E-mail Form */
#e-mailFormGrid {
    display: grid;
    grid-template-columns: 1fr 409px 1fr;
    grid-template-rows: 16vh 400px 51vh;
    grid-template-areas: '. . .' '. e-mail_form .' '. . .';
    background-image: url('/assets/img/Boy_With_Megaphone.jpg');
    background-size: cover;
}

#e-mailFormContainer {
    grid-area: e-mail_form;
    background-color: var(--Form-Bkgd);
    box-shadow: 0px 0px 25px 25px var(--Form-Bkgd);
}

#emailForm {
    visibility: visible;

    padding: 20px;
}

#thankYou {
    position: relative;
    top: 170px;
    display: none;
}

input {
    width: 100%;
    height: 30px;
    text-align: left;
    border-width: 1px;
    border-style: hidden hidden solid hidden;
    border-color: var(--Form-Frame);
    background-color: var(--Form-Field-Bkgd);

    margin-top: 18px;
}

input:hover {
    background-color: var(--Form-Fields-Hover);
}

#btnSend {
    margin: 20px auto 0;
    width: 90px;
    height: 38px;
    color: var(--Send-Button-Text);
    font-size: 14pt;
    background-color: var(--Send-Button-Bkgd);
    border: none;
    border-radius: 7px;
}

#btnSend:hover {
    background-color: var(--Button-Hover);
}

#btnSend:active {
    background-color: var(--Button-Pressed);
}

/*Window Sizing Breakpoints*/
@media (width: 1366px){}
@media (width: 1440px){}
@media (width: 1600px){}
@media (width: 1920px){}