:root {
    --main-background-color: #003459;
}

body {
    margin: 0;
    font-family: "Arial", "Calibri", "Georgia", "Modern", sans-serif;
    font-size: 1em;
    background-image: linear-gradient(173deg,
    #eee 40%,
    #eee 20%,
    transparent 0px,
    transparent 0px);
}


header {
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: black;;
    z-index: 99;
    position: fixed;
    width: 100%;
    top: 0;
}

.header-logo {
    font-size: 2.5em;
}

.wrapper {
    display: flex;
    flex-flow: row wrap;
    font-weight: bold;
    text-align: center;
}

.wrapper > * {
    flex: 1 100%;
}


ul.push {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.wrapper li a {
    color: white;
    text-decoration: none;
    padding: 12px;
}

.wrapper a {
    flex: 1;
    color: white;
    margin-right: 5px;
    text-align: center;
    text-decoration: none;
    transition: all 0.7s ease-out;
}

.wrapper a:hover,
.wrapper a:focus {
    background-color: #fff;
    color: #AD851A;
}

#current {
    color: #AD851A;
}

/* image floats  */
img.img-float-right {
    float: right;
}

img.img-float-left {
    float: left;
    margin: 50px 25px 25px 50px;
}

.main {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding: 15px;
}

aside {
    margin-top: 100px;
    padding: 5px;
}

.future {
    column-count: 2;
    column-gap: 75px;
    column-rule: 2px dotted #223261;
}

.col-span {
    color: #FFFFFF;
    text-align: center;
    column-span: all;
    padding: 0.5em;
    background-color: black;
}

.section {
    break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 1em 0;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
}

.grid-item {
    padding: 10px;
}




/* joy & hassle */
.joy {
    position: absolute;
    margin-top: 1em;
    margin-left: -0.95em;
    transform: rotate(6deg);
}

.joy:before {
    content: "";
    width: .5em;
    height: .3em;
    position: absolute;
    left: calc(50% - .25em);
    top: 0;
    background-size: contain;
}

del {
    text-decoration: none;
    position: relative;
    display: inline-block;
}

del:before {
    content: "";
    display: block;
    position: absolute;
    width: 110%;
    left: -5%;
    height: 2px;
    top: 55%;
    transform: rotate(
            5deg
    );
    background: #f20000;
}



/*myForm form*/
#myForm input[type=text],
#myForm input[type=email],
#myForm input[type=tel],
#myForm textarea {
    width: 100%;
    border: 1px solid #ccc;
    background: #FFF;
    margin: 0 0 5px;
    padding: 10px;
}

#myForm {
    background: #F9F9F9;
    padding: 25px;
    margin: 50px 0;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

#myForm h3 {
    display: block;
    font-size: 2em;
    font-weight: 300;
    margin-bottom: 10px;
}

#myForm h4 {
    margin: 5px 0 15px;
    display: block;
    font-size: 1.1em;
    font-weight: 400;
}

fieldset {
    border: medium none;
    margin: 0 0 0.3em;
    min-width: 100%;
    padding: 0;
}

#myForm button[type=submit] {
    cursor: pointer;
    width: 100%;
    border: none;
    background-color: var(--main-background-color);
    color: #FFFFFF;
    margin: 0 0 5px;
    padding: 10px;
    font-size: 1.1em;
}

#myForm button[type=submit]:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.future h2 {
    margin-top: 75px;
}

.contact {
    margin: auto;
    max-width: 800px;
}

.contact h2 {
    margin-top: 175px;
    text-align: center;
}

@media (min-width: 801px) {
    .main {
        flex: 3 0;
    }

    .main {
        order: 1;
    }

    .footer {
        order: 2;
    }
}
@media (max-width: 800px) {

    header {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    body {
        font-size: 0.8em;
    }

    .main {
        margin-top: 140px;
    }

    .future {
        column-count: 1;
    }

    .page-top  h1{
        margin-top: 55px;
    }
}
/* footer */
#footer {
    background-color: black;
    color: #FFFFFF;
    font-size: 0.9em;
    line-height: 1.8;
    position: fixed;
    width: 100%;
    bottom: 0;
}


.policies {
    border-style: solid;
    border-width: 1px;
    border-image-slice: 1;
    padding: 20px 14px;
    display: flex;
}

.policies ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.policies li {
    padding: 0 0 5px 0;
}

.policies a {
    color: #FFFFFF;
    text-decoration: none;
}

.policies a:hover {
    color: #AD851A;
    transition: 0.7s;
}

.policies > div {
    width: 50%;
}

.credits {
    padding-right: 20px;
}

.copyright {
    opacity: 0.8;
}

#footer .addresses {
    padding: 20px 14px;
    color: #FFFFFF;
}

#footer .local {
    font-size: 1.3em;
}

#footer .address {
    margin-bottom: 10px;
}


#footer .address a {
    color: inherit;
    text-decoration: underline;
}

#footer .address a:hover {
    color: #AD851A;
    transition: 0.7s;
}

@media (min-width: 800px) {
    #footer {
        display: flex;
        border-style: solid;
        border-width: 1px 0 0 0;
        border-image-slice: 1;
        justify-content: center;
    }

    .local {
        font-size: 1em;
    }

    .policies {
        display: block;
        border: none;
        flex-basis: 400px;
        padding: 60px 20px;
    }

    .policies > div {
        width: auto;
    }

    #footer .copyright {
        display: inline;
    }

    #footer .credits {
        margin-bottom: 20px;
    }

    #footer .addresses {
        flex-basis: 900px;
        display: flex;
        padding: 30px 10px;
    }

    #footer .address {
        padding-right: 20px;
        flex-basis: 300px;
    }
}
/* page top content */

.page-top {
    margin: 5px 10px 50px 10px;
}
.page-title {
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    padding: 50px 0;
}

.contact-form {
    text-align: left;
}

@media (min-width: 800px) {
    .page-title {
        padding: 140px 0;
    }
}
.subtitle {
    font-family: Avantgarde, TeX Gyre Adventor, URW Gothic L, sans-serif;
    background-color: var(--main-background-color);
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-intro {
    font-size: 1.25em;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 800px) {
    .page-intro {
        font-size: 1.5em;
        line-height: 34px;
    }

    .page-top {
        padding: 20px 20px 100px;
    }
}

h1 {
    font-size: 3em;
    position: relative;
    margin-bottom: 0.5em;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    line-height: 38px;
}

h2 {
    font-size: 1.5em;
}

@media (min-width: 800px) {
    .page-top h1 {
        font-size: 2em;
        max-width: none;
        line-height: 20px;
    }
}
/* features */
.features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.feature {
    background: white;
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.05);
    margin: 10px;
    padding: 50px 10px 40px 10px;
    font-size: 1.2em;
    text-align: center;
}

.feature .icon {
    left: calc(50% - 30px);
}

.feature strong {
    display: block;
}

@media (min-width: 800px) {
    .feature {
        width: 320px;
    }

    .feature .icon {
        width: 72px;
        height: 72px;
        left: calc(50% - 36px);
    }
}
@media (max-width: 800px) {
    .feature {
        width: 320px;
    }

    .feature .icon {
        width: 72px;
        height: 72px;
        left: calc(50% - 36px);
    }

    .policies {
        display: none;
    }

    .london {
        display: none;
    }

    .sao-paulo {
        display: none;
    }

    .tokyo {
        text-align: center;
    }
}
.page-bottom {
    padding-top: 15px;
    margin-bottom: 300px;
}

/* team members */
.team-members {
    max-width: 1000px;
    margin: 0 auto;
    cursor: pointer;
}

.team-members .team-members-container {
    display: flex;
    flex-wrap: wrap;
}

.team-members .team-member {
    width: 286px;
    padding-top: 286px;
    background: white;
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.11);
    position: relative;
    margin: 10px;
}

.portrait {
    width: 286px;
    height: 286px;
    top: 0;
    position: absolute;
    object-fit: cover;
    z-index: 0;
}

.bio {
    opacity: 0;
    transform: scale(0.9);
    position: absolute;
    width: 286px;
    height: 286px;
    top: 0;
    left: 0;
    padding: 20px;
    background: black;
    color: #FFFFFF;
    overflow: hidden;
    transition: 1.25s;
    z-index: 0;
    font-size: 0.9em;
}

.team-members .team-member:hover .bio,
.team-members .team-member.show-details .bio {
    opacity: 90%;
    transform: scale(0.9);
}

.caption {
    padding: 15px 10px;
    text-align: center;
    background: white;
}

.caption .name {
    font-size: 1em;
    font-weight: bold;
    padding-bottom: 5px;
}

.caption .position {
    font-size: 0.9em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #828282;
}

@media (min-width: 800px) {
    .team-members .team-members-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-members .team-member {
        width: 285px;
        padding-top: 285px;
    }

    .team-members .team-member:before {
        height: 285px;
    }

    .team-members .team-member:after {
        top: 97px;
    }

    .portrait,
    .biography {
        width: 285px;
        height: 285px;
    }
}
@media (max-width: 800px) {
    .team-members .team-members-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-members .team-member {
        width: 285px;
        padding-top: 285px;
    }

    .team-members .team-member:before {
        height: 285px;
    }

    .team-members .team-member:after {
        top: 97px;
    }

    .portrait,
    .biography {
        width: 285px;
        height: 285px;
    }
}
.team-members .team-member {
    width: 286px;
    padding-top: 286px;
    background: white;
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.11);
    position: relative;
    margin: 10px;
}

.skip-link {
    left: 65%;
    position: absolute;
    transform: translateY(-130%);
}

.skip-link:focus {
    transform: translateY(-25%);
}



header {
    text-align: center;
}



/* Grid */
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 25px;
}

.box {
    margin: auto;
    background-color: whitesmoke;
}


.box > img {
    width: 100%;
}

.zone {
    padding:30px 50px;
    background-color: whitesmoke;
}

.imgGallery img {
    border-radius: 5px;
    filter: grayscale(95%);
    transition: .3s ease-in-out;
}


.imgGallery:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
    transition: .2s ease-in-out;
}


.clear {
    height: 350px;
}