@import url('https://fonts.googleapis.com/css?family=Roboto:100,400,900');
@import url('https://fonts.googleapis.com/css?family=Anton');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');


:root {
    --green: rgb(202, 237, 190);
    --green-transparent: rgba(202, 237, 190, 0.35);
    --beige: rgb(214, 202, 164);
    --beige-transparent: rgba(214, 202, 164, 0.2);
    --backdrop: rgba(200, 200, 200, 0.9);
    --shadow: rgba(40, 50, 40, 0.35);
    --dark-btn: rgb(24, 38, 15);
    --dark-btn-transparent: rgba(24, 38, 15, 0.6);
    
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    background-color: var(--beige-transparent);
    font-family: Montserrat, serif;
}

li,
p, 
h2 {
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    line-height: 1.6rem;
}

svg {
    width: 100%;
}

section h2 {
    margin-top: 1rem !important;
    margin-bottom: 0;
}

.backdrop {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: var(--backdrop);
    z-index: 1;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
}

.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 1rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 200px var(--shadow);
    background-color: var(--green-transparent);
    transition: 2s ease;
    border-radius: 0 0 5% 5%;
    z-index: 1;
}

.header-scrolled {
    background-color: var(--green);
    border-radius: 0 0 10% 10%;
    transition: 1s ease-in-out;
}

.navbar {
    display: none;
}

.nav-btn {
    grid-area: description;
    color: #222;
    font-family: Montserrat, serif;
    margin: 0;
    transition: 0.5s ease;
}

.nav-btn:hover {
    transform: scale(1.1);
    text-shadow: 0 0 4px rgba(200, 210, 200, 0.65);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100vw);
    background-color: rgba(254, 255, 254, 0.99);
    width: 80%;
    height: 100vh;
    transition: 0.7s cubic-bezier(0.53, 1.36, 0.33, 1.09);
    z-index: 101;
    display: block;
    max-width: 20rem;

}

.mobile-nav-items {
    width: 90%;
    height: 100%;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav__item {
    background: rgba(0, 128, 0, 0.3);
    margin: 1rem 0;
    text-align: center;
    border-radius: 20px;
    width: 80%;
    height: 3rem;
    align-content: center;
}

.mobile-nav__item:hover {
    background: rgba(0, 160, 0, 0.7);
    box-shadow: 0 1px 300px rgba(30, 50, 30, 0.4);
    transform: scale(1.1);
}

.mobile-nav__item a {
    font-weight: lighter;
    color: #222;
    font-size: 1.5rem;
    font-family: Montserrat, serif;
    margin-right: 0.5rem;
    opacity: 1;
    padding: 1rem 0;
    text-decoration: none;
}

.toggle-button {
    margin-right: 1rem;
    width: 1.5rem;
    height: 1.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.toggle-button:focus {
    outline: none;
}

.toggle-button__bar {
    display: block;
    width: 100%;
    height: 0.2rem;
    background: green;
    border-radius: 15%;
    transition: 1s ease-in-out;
}

.toggle-button__bar-scrolled {
    background: black;
    transition: 1s ease-in-out;
}

.logo {
    margin-left: 1rem;
}

.logo img {
    width: 10rem;
}

.nav-btns-scrolled {
    transition: 1s ease-in-out;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: start;
    align-self: center;
    width: 100%;
    max-width: 70rem;
}

.hero {
    margin-top: 7rem;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.hero-text {
    background-image: url("./misc/minditecture-landing-hero.jpg");
    background-size: cover;
}

.hero-sales,
.about-sales {
    font-weight: normal;
    color: black;
    font-size: 1.5rem;
    font-family: Montserrat, serif;
}

.hero-answer {
    font-weight: normal;
    color: green;
    font-size: 2rem;
    font-family: Montserrat, serif;
    margin: 0.5rem 0;
}

.hero-image__image {
    width: 100%;
    border: var(--green) solid 3px;
    border-radius: 20px;
    min-width: 15rem;
    min-height: 20rem;
}

.hero-image__image:hover {
    border: var(--green) solid 3px;
    box-shadow: 0 1px 10px var(--shadow);
    transition: 1s ease-in-out;
}

.hero p,
.hero h1 {
    color: white;
    padding: 1rem;
} 

section p {
    color: #222;
    font-family: Montserrat, serif;
}

.about,
.verticals {
    margin: 0.5rem 0;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    grid-column-gap: 1rem;
}

.about-brick {
    display: grid;
    grid-template-areas: "pic title"
                         ". description";
    grid-template-columns: 4rem 1fr;
    grid-column-gap: 1rem;
    grid-row-gap: 0;
    border: var(--green-transparent)  solid 1px;
    box-shadow: 0 1px 10px var(--shadow);
    border-radius: 20px;
    margin: 1rem 0;
}

.vertical-brick {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: start;
    border: var(--green-transparent) solid 1px;
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.2);
    border-radius: 20px;
    margin: 1rem 0;
}

.about-brick:hover,
.vertical-brick:hover {
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.5);
    transition: 0.5s ease-in-out;
    background-color: var(--green-transparent);
}
.about-brick img,
.about-brick svg,
.vertical-brick img {
    grid-area: pic;
    margin: 0.5rem;
    max-width: 4rem;
    border-radius: 20px;
}

.face

.about-brick h2,
.vertical-brick h2 {
    vertical-align: center;
    font-weight: normal;
    grid-area: title;
    color: black;
    font-family: Montserrat, serif;
    margin-bottom: 0;
}

.vertical-brick h2 {
    margin: 1rem 2rem 0 2rem;
    text-align: center;
}


.vertical-brick h3 {
    text-align: center;
}

.about-brick p {
    grid-area: description;
    color: #222;
    font-family: Montserrat, serif;
    padding-right: 1rem;
    margin-top: 0;
}

.vertical-brick p {
    color: #222;
    font-family: Montserrat, serif;
    margin: 1rem 3rem;
}

.notice p {
    color: white;
    margin: 1rem 1rem;
}

.open {
    display: block;
}

.open-mobile-nav {
    transform: translateX(0) !important;
    box-shadow: 0 1px 300px rgba(30, 50, 30, 0.4);
}

.main-footer {
    width: 100%;
    color: green;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 10px rgba(30, 50, 30, 0.3);
    background-color: var(--green-transparent);
    transition: 2s ease;
    border-radius: 10% 10% 0 0;
    bottom: 0;
    left: 0;
    font-size: 0.8rem;
}

.main-footer:hover {
    background-color: var(--green);
    color: black;
    transition: 0.7s;
}

.main-footer p {
    font-family: Montserrat, serif;
    padding: 0;
    margin: 0;
    font-size: 0.7rem;
}

.footer-links {
    width: 70%;
    min-width: 23rem;
    max-width: 30rem;
    display: flex;
    justify-content: space-between;
    text-decoration: none !important;
    color: inherit;
    font-family: Montserrat, serif;
    padding-bottom: 0.5rem;
}
.nav-btn a,
.nav-btn a:visited,
.nav-btn a:hover,
.nav-btn a:active,
.footer-links a,
.footer-links a:visited,
.footer-links a:hover,
.footer-links a:active {
    text-decoration: none !important;
    color: inherit;
}

.profile-img {
    box-shadow: 0 0 4px var(--shadow);
    max-width: 10rem  !important;
    border-radius: 20px;
}

.education-btn {
    color: white;
    background-color: var(--dark-btn-transparent);
    border: none;
    margin-bottom: 2rem;
    padding: 1.5rem;
    text-decoration: none;
    transition: 0.4s;
}

.education-btn:hover {
    background-color: var(--dark-btn);
    transition: 0.8s;
    transform: scale(1.1);
    box-shadow: 0 0 4px var(--shadow);
    text-shadow: 0 0 1px white;
}

.footer-links a:hover {
    text-shadow: 0 0 4px var(--shadow);
    transform: scale(1.1);
    transition: 0.2s;
}

.bitscience {
    display: flex;
    align-items: center;
}

.bitscience img {
    vertical-align: middle;
    height: 1em;
    text-decoration: none;
}

a.bitscience,
a.bitscience:visited,
a.bitscience:hover,
a.bitscience:active {
    font-size: 0.7rem;
    text-decoration: none !important;
    color: inherit;
}

.signature {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

a.bitscience:hover {
    text-shadow: 0 0 5px aquamarine;
    color: black;
    transition: 0.25s;
}

.bitscience-logos {
    display: inline-grid;
    grid-template-areas: "pic";
    align-items: end;
    align-content: end;
    padding-left: 3px;
}

.bitscience .normal-logo {
    opacity: 1;
    transition: opacity 1s;
    grid-area: pic;
}

.bitscience .hover-logo {
    opacity: 0;
    transition: opacity 0.3s;
    grid-area: pic;
}

.bitscience:hover .hover-logo {
    opacity: 1;
    grid-area: pic;
}

.bitscience:hover .normal-logo {
    opacity: 0;
    grid-area: pic;
    z-index: -100;
}

@media (min-width: 40rem) {
    .hero {
        flex-direction: row;
    }

    .hero p {
        margin-right: 1rem;
    }
}

@media (min-width: 60rem) {
    .hero {
        padding-top: 1rem;
    }
}



