t/* fonts */

@font-face {
    font-family: "Cerebri Sans Bold Italic";
    src: url("/fonts/Cerebri-Sans-Bold-Italic.ttf") format("truetype");
}

@font-face {
    font-family: "Cerebri Sans Bold";
    src: url("/fonts/Cerebri-Sans-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Cerebri Sans Book";
    src: url("/fonts/Cerebri-Sans-Book.ttf") format("truetype");
}

@font-face {
    font-family: "Cerebri Sans SemiBold Italic";
    src: url("/fonts/Cerebri-Sans-SemiBold-Italic.ttf") format("truetype");
}

body {
    margin: 0;
    min-width: 90vw;
    font-size: 1em;
    min-height: 100vh;
}

#container {
    min-height: 100vh;
}

#content {
    padding-top: 2rem;
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}


.mobile-logo a img {
    height: 130px;
    width: 130px;
}

#links-nav {
    display: flex;
    justify-content: center;
}

#nav {
    max-width: 98vw;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
}

.page-title-div {
    grid-area: page-title;
    align-self: end;
}

.page-content-div {
    grid-area: page-content;
}

/* styling */

body {
    font-family:"Cerebri Sans Book";
}

a {
    color: #000;
    text-decoration: none;
}
a:link {
    color: #000;
}
a:visited {
    color: #000;
}
a:hover {
    color: #555;
}
a:active {
    color: #555;
}

.menu a:hover {
    color: #FD3F02;
    transition: 3s;
}

#logo {
    font-family: "Cerebri Sans Bold";
    font-size: 2em;
}

#nav ul {
    list-style-type: none;
    padding-inline-start: 0;
}

#nav ul li {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5em;
    padding-top: 15px;
}

.page-title {
    font-family: "Cerebri Sans SemiBold Italic";
    text-transform: uppercase;
    font-size: 1.2em;
}

.big-text {
    font-size: 2em;
    font-family: "Cerebri Sans Bold";
    margin-block-end: 0.1em;
}

.normal-text {
    font-size: 1.5em;
    text-transform: none;
    drop-shadow: #fff 1px 1px 0 0;
}

ul {
    margin-bottom: 20px;
}

button {
    background: #000;
    border-radius: 20px;
    color: #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 20px 0;
    cursor: pointer;
}

button:hover {
    background: #fff;
    color: #000;
    transition: 0.3s;
}

/* pages */

.service-ul {
    display: flex;
    flex-flow: row wrap;

}

.service-li {
    list-style-type: none;
}

.service-li a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 2em;
    min-width: 80px;
    margin: 1em;
    padding: 1em;
    border-radius: 40px;
    background: #eee;
    transition: border-radius 0.5s ease-out, background-color 0.5s ease;
}

.service-li a:hover {
    border-radius: 0;
    background-color: black;
    color: #fff;
}

.projects li a:hover {
        color: #FD3F02;
}

@media screen and (min-width: 726px) {
        .projects .portfolio {
            display: flex;
    }
        .portfolio div {
            max-width: 33.33%;
    }
}

/* links */

#links {
    display: flex;
    align-items: center;
    justify-content: center;
}

#links {
    flex-flow: column nowrap;
}

.links {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

button.cta, #links button, .links button {
    border: 2px solid rgb(0, 0, 0);
    box-shadow: rgb(0 0 0) 10px 10px 0px 0px;
    color: rgb(0, 0, 0);
    background: rgb(255,255,255);
    border-radius: 8px;
    font-family: inherit;
    font-weight: inherit;
    text-align: center;
}

.links button {
    margin: 10px 10px;
}

button.cta {
    margin: 10px 20px 20px auto;
}

button.cta:hover, #links a button:hover, .links a button:hover {
    background: #E2F01C;
    transform: translate(4px, 4px);
    box-shadow: rgb(0 0 0) 6px 6px 0px 0px;
}

.links-page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: nowrap column;
}

#links-footer {
    position: fixed;
    bottom: 0;
    right: 0;
}

#links-footer a img {
    height: 20px;
    width: 20px;
}

/* Meet the team */

.team-member {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 1rem;
}

.team-photo img {
    width: auto;
    max-height: 350px;
}

.team-about {
    margin-top: 1rem;
}

/* ghost therapy */

#ghost-therapy {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* responsive */

@media only screen and (max-width: 992px) {

    html {
        font-size: 16px;
    }

    #container {
        max-width: 100vw;
    }
    
    #nav {
        margin: 0 auto;
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: space-between;
    }  

        .mobile-logo {
        margin-top: 50px;
    }
    
    #content {
        height: auto;
        margin: 20px;
    }
    
    .content {
        height: auto;
        margin-bottom: 0;
        overflow: auto;
    }
    
    .page-title-div {
        font-size: 1em;
    }
    
    .big-text {
        font-size: 1em;
    }
    
    .normal-text {
        font-size: 1em;
    }
    
    #footer {
        display: none;
    }
    
    .content-home, .content-reviews, .content-contact {
        background-size: 70%;
        background-position: bottom right;
    }
    
    .content-services {
        background: none;
    }

    #links-container {
        font-size: 3em;
        padding: 40px;
    }

    .links-page-title .small-text {
        text-align: center;
    }

    #links-footer a img {
        height: 30px;
        width: 30px;
    }

    .service-li a {
        font-size: 3em;
    }

    .service-ul {
        flex-direction: column;
        margin-bottom: 80px;
    }

    .team-member {
        display: block;
    }
    .team-photo img {
        height: 300px;
    }
}