/* Colors */
:root {
    --primary-color: #fdad25;
    --outrageous-orange: #ed6b48;
    --mustard: #fcd757;
    --laser-lemon: #eefc57;
    --brownish-grey: #5e5b52;
    --bg-dark: #474747;
    --bg-light: #fcfcfc;
    --shadow-grey: #bebebe;
    --green: #88AB75;
    --link-color: #2878bb;
    scroll-behavior: smooth;
    --spacing-desktop: 6rem;
    --color-header: #60a53c;
    --color-header-highlight: #bcd547;
    --color-footer: #7e3900;
    --color-footer-highlight: #e36c0a;
}

body {
    font-family: 'Mukta Mahee', sans-serif;
}
main {
    background: var(--bg-light);
}
a {
    color: var(--link-color);
    text-decoration: none;
}
h3 {
    text-decoration: none;
    border-bottom: 2px double var(--mustard);
    color: var(--outrageous-orange);
    font-weight: bold;
}
#logo {
    width: 3.9rem;
    height: auto;
    margin-right: .2rem;
    display: inline-block;
    vertical-align: text-bottom;
}

header {
    background: var(--color-header);
    color: #fff;
    text-align: center;
    box-shadow: 0px 0px 10px #777;
    border-bottom: 7px solid var(--color-header-highlight);
    margin-bottom: 10px;
    z-index: 2;
}

.title {
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: bold;
}

.contact-box {
    background: #fff;
    border-radius: .4rem;
    padding: 15px;
    box-shadow: 0px 0px 30px var(--shadow-grey);
    border: 2px solid var(--bg-dark);
    font-size: 2.2rem;
    line-height: 4rem;
    position: relative;
}

.profile-pic {
    width: 100%;
    max-width: 205px;
    height: auto;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    box-shadow: 4px 4px 4px var(--shadow-grey);
    position: relative;
    margin: 2rem auto;
}
@media only screen and (min-width: 612px) {
    .profile-pic {
        margin: 0;
        position: absolute;
        right: 10%;
    }
}


.grid-pattern {
    position: relative;
    height: 0;
}
.grid-pattern > div {
    position: absolute;
    height: 551px;
    width: 100%;
    top: 250px;
    color: var(--bg-dark);
}
.grid-pattern > div::after {
    content: '';
    background: linear-gradient(var(--bg-light), transparent);
    height: 100%;
    width: 100%;
    display: block;
}

.hero {
    display: flex;
    flex-direction: column;
    padding-top: var(--spacing-desktop);
    background-image: url('images/oleg-moroz-aaz5--As3Io-unsplash.jpg'), linear-gradient(var(--outrageous-orange), var(--bg-dark));
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 2px solid var(--bg-dark);
    box-shadow: 0 4px 4px var(--shadow-grey);
    position: relative;
    margin-top: -10px;
    z-index: 1;
}

.slogan {
    margin-top: 0;
    background: #ffffffcc;
    padding: .5rem;
}
.slogan em {
    font-weight: bold;
    font-style: normal;
    transition: color 1s, border-bottom 100ms;
    animation: highlightSlogan 1s ease-in;
    animation-fill-mode: forwards;
}
.slogan em:nth-child(1) { animation-delay: 0.2s; }
.slogan em:nth-child(2) { animation-delay: 1.0s; }
.slogan em:nth-child(3) { animation-delay: 1.8s; }
@keyframes highlightSlogan {
    to {
        border-bottom: 4px solid var(--mustard);
        color: var(--outrageous-orange);
    }
}
@media only screen and (min-width: 612px) {
    .slogan {
        margin-top: var(--spacing-desktop);
        margin-bottom: var(--spacing-desktop);
        padding: 2rem;
    }
}


main .button {
    text-align: center;
    border-color: var(--link-color);
    color: var(--link-color);
    justify-content: center;
}
main .button.default {
    background-color: var(--link-color);
}
.button.contact-button {
    font-size: 1.5rem;
    box-shadow: 4px 4px 4px var(--bg-dark);
}
#updates .button {
    margin-top: 1rem;
}

.specialising {
    background: var(--bg-dark);
    color: #fff;
}

.pros {
    padding-bottom: 3rem;  
}
.pros > p {
    padding: 15px 10px;
}
@media only screen and (min-width: 612px) {
    .pros {
        padding-top: var(--spacing-desktop);
        padding-bottom: var(--spacing-desktop);
    }
}

[class^="icon"] {
    height: 4rem;
    width: 4rem;
    margin: 2px;
    margin-right: 10px;
    float: left;
    position: relative;
    top: -0.5rem;
}

footer {
    background: var(--color-footer);
    border-top: 5px solid var(--color-footer-highlight);
    color: #fff;
    padding: 3rem 1rem;
}
footer a {
    color: var(--primary-color);
}
footer a:hover {
    color: var(--mustard);
}
