@import url(https://fonts.bunny.net/css?family=sora:500,700);

:root {
    --text: #fff;
    --text-alt: #000;
    --background: #f0f4fc;
    --accent: #007ffc;
}

body {
    margin: 0;
    background: url(Images/background.webp) no-repeat top center fixed;
    background-size: cover;
    font-family: 'Sora', sans-serif;
    color: var(--text);
    font-weight: 400;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    overflow-x: hidden;
}
html {
    height: 100%;
}
p {
    margin: 0;
}
a {
    text-decoration: none;
    color: var(--text);
}
iframe {
    width: 500px;
    height: 500px;
    border: none;
    border-radius: 20px;
    flex-shrink: 0;
}

#heading {
    color: var(--accent);
    text-align: center;
    margin: 0 0 30px 0;
}
#homepage {
    color: var(--text-alt);
}
#header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-alt);
    background-color: var(--background);
}
#header > a {
    display: flex;
    justify-content: center;
}
#nav {
    display: none;
    text-align: right;
    z-index: 10;
    background-color: var(--background);
    justify-content: space-evenly;
}
#nav > a {
    transition-duration: 300ms;
    color: var(--text-alt);
    padding: 20px 0;
}
#nav > a:hover {
    color: var(--accent);
}
#menu {
    height: 30px;
    -webkit-filter: brightness(0%);
    filter: brightness(0%);
}
#menu:hover {
    -webkit-filter: brightness(0) saturate(100%) invert(33%) sepia(83%) saturate(3718%) hue-rotate(197deg) brightness(104%) contrast(100%);
    filter: brightness(0) saturate(100%) invert(33%) sepia(83%) saturate(3718%) hue-rotate(197deg) brightness(104%) contrast(100%);
}
#banner {
    min-height: 300px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: banner 3s ease;
}
#banner > .title {
    color: var(--text);
    text-shadow: #fff 0 0 40px;
}
#block {
    background-color: var(--background);
    padding: 50px;
    display: flex;
    justify-content: center;
    height: 100%;
    flex-grow: 1;
    position: relative;
}
#footer {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding: 20px 0;
    background-color: #000000bb;
    color: white;
}
#content {
    position: relative;
    display: flex;
    flex-direction: column;
}
#title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}
#title > div:nth-of-type(1) {
    background: linear-gradient(270deg, var(--text), #00000000);
    min-width: 50px;
    max-width: 300px;
    height: 3px;
    border-radius: 5px;
    margin-right: 20px;
    flex-grow: 1;
}
#title > div:nth-of-type(2) {
    background: linear-gradient(90deg, var(--text), #00000000);
    min-width: 50px;
    max-width: 300px;
    height: 3px;
    border-radius: 5px;
    margin-left: 20px;
    flex-grow: 1;
}
#title > p {
    font-size: 26px;
    letter-spacing: 2px;
}
#fullcontent {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
#reviews {
    width: 90%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#reviews > div {
    max-width: 370px;
    margin: 0px 25px 60px 25px;
}
#reviews > div > div {
    display: flex;
    justify-content: space-between;
    min-width: 320px;
}
#reviews > div > div > p {
    font-weight: 600;
    font-size: 22px;
    margin: 0;
}
#maxwidth {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#personel {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#personel > div {
    background-color: var(--background);
    border-radius: 16px;
    display: flex;
    align-items: center;
    height: min-content;
    margin: 30px;
}
#personel > div > div {
    max-width: 350px;
    position: relative;
}
#personel > div > div > img {
    position: relative;
    max-width: 350px;
    width: 85vw;
    border-radius: 16px;
}
#personel > div > div > div:nth-of-type(1) {
    background: linear-gradient(0deg, #000000ff 0%, #00000000 70%);
    height: 100%;
    width: 100%;
    border-radius: 16px;
    position: absolute;
    top: 0;
}
#personel > div > div > div:nth-of-type(2) {
    position: absolute;
    bottom: 20px;
}
#personel > div > div > div > p:nth-child(1) {
    padding: 0 20px;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}
#personel > div > div > div > p:nth-child(2) {
    padding: 0 20px;
    font-size: 20px;
    max-width: 460px;
    margin-bottom: 20px;
}
#personel > div > div > div > a {
    position: relative;
    margin: 20px;
    padding: 5px 10px;
    font-size: 20px;
    background-color: var(--accent);
    border-radius: 12px;
}
#back {
    background-color: var(--accent);
    padding: 5px 10px;
    border-radius: 12px;
    position: absolute;
    top: 70px;
    left: 20px;
}
#person {
    padding: 100px;
    display: flex;
}
#person > img {
    width: 400px;
    border-radius: 16px;
}
#person > div {
    background-color: var(--background);
    color: var(--text-alt);
    margin-left: 20px;
    border-radius: 16px;
    padding: 20px;
    min-width: 500px;
    width: min-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#person > div p:nth-child(1) {
    color: var(--accent);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}
#directions {
    background-color: var(--accent);
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 12px;
    width: calc(100% - 40px);
    text-align: center;
    transition-duration: 200ms;
}
#directions:hover {
    background-color: var(--text);
    color: var(--accent);
}

.thin {
    max-width: 70%;
    align-self: center;
    display: flex;
}
.thin > .flexlist {
    margin-right: 100px;
}
.flexlist {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.title {
    font-size: 38px;
    text-align: center;
    margin: 50px;
    font-weight: 700;
}
.blr {
    background: url(Images/background-blr.webp) no-repeat center center fixed;
    background-size: cover;
}
.justify {
    text-align: justify;
}
.column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media only screen and (max-width: 600px) {
    #banner {
        background: url(Images/background.webp) no-repeat center center;
        background-size: auto 110%;
        animation: none !important;
    }
    #fullcontent {
        flex-direction: column;
    }
    .flexlist {
        margin-bottom: 80px;
    }
    iframe {
        width: 120%;
        margin-bottom: 100px;
    }
    #footer {
        text-align: center;
        flex-direction: column;
        padding: 20px 0 20px 0;
        flex-shrink: 0;
    }
    #header,
    #nav {
        background-color: var(--background);
        text-align: center;
    }
    #nav {
        flex-direction: column;
    }
    #nav > a {
        text-align: center;
        width: 100%;
        padding: 10px 0;
    }
    .thin > .flexlist {
        margin-right: 0;
    }
    #block {
        padding: 20px;
    }
    #person {
        flex-direction: column;
        align-items: center;
        padding: 70px 0;
    }
    #person > img {
        width: 80vw;
    }
    #person > div {
        min-width: 80vw;
        margin: 20px 0 0 0;
    }
    #cta {
        position: absolute;
        top: 0;
        transform: translateY(-50%);
        background-color: var(--accent);
        padding: 5px 10px;
        font-size: 18px;
        right: 20px;
        border-radius: 12px;
    }
    #block {
        margin-top: -30px;
        padding-top: 50px;
    }
    .column {
        flex-direction: column-reverse;
    }
    #directions {
        margin-top: 0;
        margin-bottom: 20px;
        width: calc(120% - 40px);
    }
}

@keyframes banner {
    from {
        margin-bottom: 1000px;
    }
    to {
        margin-bottom: 0;
    }
}
