/* AtacamaBeta Fonts */
@font-face {
  font-family: 'AtacamaBeta';
  src: url('../fonts/AtacamaBeta-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta';
  src: url('../fonts/AtacamaBeta-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta Condensed';
  src: url('../fonts/AtacamaBeta-CondensedBlack.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta Condensed';
  src: url('../fonts/AtacamaBeta-CondensedBold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta Condensed';
  src: url('../fonts/AtacamaBeta-CondensedLight.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta Condensed';
  src: url('../fonts/AtacamaBeta-CondensedMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta Condensed';
  src: url('../fonts/AtacamaBeta-CondensedRegular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta Condensed';
  src: url('../fonts/AtacamaBeta-CondensedSemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta Condensed';
  src: url('../fonts/AtacamaBeta-CondensedThin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta';
  src: url('../fonts/AtacamaBeta-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta';
  src: url('../fonts/AtacamaBeta-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta';
  src: url('../fonts/AtacamaBeta-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta';
  src: url('../fonts/AtacamaBeta-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta';
  src: url('../fonts/AtacamaBeta-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'AtacamaBeta';
  src: url('../fonts/AtacamaBeta-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}

/* MMSign Fonts */
@font-face {
  font-family: 'MMSign';
  src: url('../fonts/MMSign-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'MMSign';
  src: url('../fonts/MMSign-Heavy.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'MMSign';
  src: url('../fonts/MMSign-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'MMSign';
  src: url('../fonts/MMSign-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'MMSign';
  src: url('../fonts/MMSign-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'MMSign';
  src: url('../fonts/MMSign-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}



/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'AtacamaBeta';
    font-size: 1rem;
    line-height: 1.5;
    color: #000000;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'MMSign';
    color: #000000;
    font-weight: 500;
    line-height: 1.2;
    margin: .2em 0;
    word-break: break-word;
}

.wrapper--blue h1,
.wrapper--blue h2,
.wrapper--blue h3,
.wrapper--blue h4,
.wrapper--blue h5,
.wrapper--blue h6 {
    color: #FFFFFF;
}

h1 {
    font-size: 84px;
}
@media only all and (min-width: 650px) {
    h1 {
        word-break: auto-phrase;
    }
}

@media only all and (max-width: 799px) {
    h1 {
        font-size: 60px;
        max-width: 500px;
    }
}

@media only all and (max-width: 490px) {
    h1 {
        max-width: 450px;
    }
}

h2.subtitle{
    font-size: 48px;
}

@media only all and (max-width: 799px) {
    h2.subtitle{
        font-size: 40px;
    }
}

a:hover, a:visited, a:active, a:focus {
    color: #000000;
    text-decoration: none;
}

.flex {
    display: flex;
    flex-flow: column;
    height: 100vh;
}

.main {
    max-width: 900px;
}

.wrapper.wrapper--main {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding-top: 40px;
}

@media only all and (max-width: 799px) {
    .wrapper.wrapper--main {
        padding-top: 0px;
    }
}

.wrapper--blue {
    position: relative;
    background-color: #50526b;
    color: #FFFFFF;
}

.wrapper--grey {
    position: relative;
    background-color: #F8F8F8;
}

.wrapper--white {
    position: relative;
    margin-bottom: 4rem
}

@media only all and (max-width: 799px) {
    .wrapper--white:last-of-type {
        margin-bottom: 1rem
    }
}

.wrapper--circle {
    background-image: url('../images/circle.png');
    background-position: top left;
    background-size: 150px auto;
    background-repeat: no-repeat;
}
@media only all and (max-width: 799px) {
    .wrapper--circle {
        background-size: 130px auto;
    }
}

.intro-wrapper{
    width: 100%;
    margin-bottom: 64px
}
@media only all and (min-width: 800px) {
    .intro-wrapper{
        position: relative;
        height: 670px;
        margin-top: -290px;
        margin-bottom: 32px
    }
}

.intro{
    font-size: 24px;
    line-height: 1.4;
    width: 100%;
    padding: 250px 205px;
    height: 100%;
    padding-top: 300px;
}
@media only all and (max-width: 799px) {
    .intro {
        max-width: 500px;
    }
}
@media only all and (max-width: 700px) {
    .intro {
        max-width: 400px;
    }
}
@media only all and (min-width: 800px) and (max-width: 925px) {
    .intro {
        padding: 250px 100px 250px 140px;
        height: 100%;
        padding-top: 290px;
        max-width: 700px;
    }
}

.intro-background {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: url('../images/circle.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

@media only all and (max-width: 799px) {
    .intro {
        font-size: 20px;
        padding: 0;
    }
    .intro-background {
        top: -160px;
        left: -180px;
        width: 850px;
        height: 850px;
    }
}

@media only all and (max-width: 799px) {
    .intro-background {
        top: -220px;
        left: -140px;
        width: 790px;
        height: 670px;
    }
}



@media only all and (max-width: 700px) {
    .intro-background {
        top: -220px;
        left: -120px;
        width: 750px;
        height: 750px;
    }
}

@media only all and (max-width: 520px) {
    .intro-background {
        top: -170px;
        left: -120px;
        width: 700px;
        height: 700px;
    }
}

@media only all and (max-width: 490px) {
    .intro-background {
        top: -140px;
        left: -180px;
        width: 730px;
        height: 730px;
    }
}

@media only all and (max-width: 399px) {
    .intro-background {
        top: -130px;
        left: -210px;
        width: 750px;
        height: 750px;
    }
}

.text {
    margin-bottom: 16px
}

.logo {
    position: absolute;
    width: 300px;
    height: 300px;
    right: -40px;
    top: 400px;
    transition: transform 0.1s linear;
}

@media only all and (max-width: 1200px) {
    .logo {
        display: none;
    }
}
@media only all and (min-width: 1600px) {
    .logo {
        right: 10%;
    }
}

.team-container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  margin: 32px auto;
  gap: 2rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0; /* allow items to grow and shrink evenly */
  min-width: 0; /* prevent overflow */
  padding-bottom: 1rem;
}

@media only all and (max-width: 720px) {
    .team-container {
        flex-flow: column nowrap; /* Stack items vertically */
        align-items: center; /* Center items */
    }
    .team-member {
        width: 100%;
        max-width: 270px;
        margin-bottom: 2rem;
    }
}
@media (hover: hover) and (pointer: fine) {
    a.team-member:hover {
        background-color: #F8F8F8;

        .team-member__website {
            text-decoration: underline;
        }
    }
}

.team-member img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.team-member h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.1rem;
}

.team-member p {
  margin: 0;
  font-size: 0.95rem;
}

p.team-member__website {
    margin-top: auto;
    padding-top: 2rem;
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-flow: row;
    gap: 2rem; /* optional spacing */
}

@media only all and (max-width: 799px) {
    .contact-wrapper {
        flex-flow: column;
    }
}

.contact-wrapper a {
    color: #000000;
    text-decoration: none;
}

.contact-left,
.contact-right {
  flex: 1 1 50%;
}


.contact {
    color: #FFFFFF;
}

.wrapper.wrapper--footer {
    margin: 0;
    padding: 4rem 0;
}
@media only all and (max-width: 799px) {
    .wrapper.wrapper--footer {
        padding: 1rem 0;
    }
}

.footer__container {
    max-width: 1600px;
    margin: 0 auto;
}

.slogan {
    font-size: 16px;
    font-weight: 700;
}

.wrapper--white a {
    color: #000000;
    text-decoration: none;
}

.wrapper--blue a {
    color: #FFFFFF;
    text-decoration: none;
}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
}

blockquote {
    border-left: 10px solid #eee;
    margin: 0;
    padding: 0 2rem;
}

/* Utility Classes */
.wrapper {
    margin: 0 3rem;
}

.padding {
    padding: 2rem 4rem;
}

@media only all and (max-width: 799px) {
    .padding {
        padding: 2rem 1rem;
    }   
}

.bold {
    font-weight: 700;
}

.left {
    float: left;
}

.right {
    float: right
}

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

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

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

/* Content Styling */
.header .padding {
    padding: 1rem 0;
}

.header {
    background-color: #1F8DD6;
    color: #eee;
}

.header a {
    color: #fff;
}

.header .logo {
    font-size: 1.7rem;
    text-transform: uppercase;
}

.footer {
    margin: 2rem 0 1.5rem;
}

/* Menu Settings */
.main-nav ul {
    text-align: center;
    letter-spacing: -1em;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    display: inline-block;
    letter-spacing: normal;
}

.main-nav ul li a {
    position: relative;
    display: block;
    line-height: 45px;
    color: #fff;
    padding: 0 20px;
    white-space: nowrap;
}

.main-nav > ul > li > a {
    border-radius: 2px;
}

/*Active dropdown nav item */
.main-nav ul li:hover > a {
    background-color: #175E91;
}

/* Selected Dropdown nav item */
.main-nav ul li.selected > a {
    background-color: #fff;
    color: #175E91;
}

/* Dropdown CSS */
.main-nav ul li {position: relative;}

.main-nav ul li ul {
    position: absolute;
    background-color: #1F8DD6;
    min-width: 100%;
    text-align: left;
    z-index: 999;

    display: none;
}
.main-nav ul li ul li {
    display: block;
}

/* Dropdown CSS */
.main-nav ul li ul ul {
    left: 100%;
    top: 0;
}

/* Active on Hover */
.main-nav li:hover > ul {
    display: block;
}

/* Child Indicator */
.main-nav .has-children > a {
    padding-right: 30px;
}
.main-nav .has-children > a:after {
    font-family: FontAwesome;
    content: '\f107';
    position: absolute;
    display: inline-block;
    right: 8px;
    top: 0;
}

.main-nav .has-children .has-children > a:after {
    content: '\f105';
}
