* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.main {
    width: 84rem;
    height: 40rem;
    min-height: fit-content;
    justify-content: flex-start;
    display: flex;
    align-content: center;
    flex-direction: row;
}

.content {
    margin-top: 8%
}

.fa {
    background: rgba(15, 20, 30, 0.3);
    display: block;
    position: fixed;
    width: 50px;
    height: 50px;
    right: 10px;
    bottom: 10px;
    z-index: 20;
    cursor: pointer;
    border: 0 none;
    border-radius: 25px;
    transition: all 0.2s cubic-bezier(0.3, 0, 0.5, 1) 0.2s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    align-items: center;
    font-size: 25px;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    padding-top: 12px;
    padding-right: 17px;
    padding-bottom: 17px;
    padding-left: 17px;
}

.fa:hover {
    background: #000;
    transition: .5s
}

.content a {
    display: inline-block;
    padding: 10px 20px;
    background: #eb7633;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 60px;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: Nunito;
    margin-top: 20%;
    border-radius: 10px
}

.content a:hover {
    color: #fcfcfc;
    text-shadow: 0 0 30px #f3f2f0;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in
}

.content a {
    display: inline-block;
    padding: 10px 20px;
    background: #eb7633;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 60px;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: Nunito;
    margin-top: 5%;
    border-radius: 10px
}

.content h1 {
    font-size: 4.2rem;
    line-height: 4rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #eb7633;
    font-family: Volkhov;
    animation: drop 3s ease
}

.content h5 {
    font-size: .875rem;
    line-height: 1.25rem;
    text-transform: uppercase;
    font-family: Nunito;
    font-weight: 500;
    letter-spacing: .4em;
    color: #878a8f;
    margin-top: 3%
}

.content h6 {
    font-size: 1rem;
    line-height: 1.4rem;
    letter-spacing: 2px;
    text-transform: none;
    font-family: Nunito;
    color: #8d8a8a;
    padding-top: 14%
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

header .toggle {
    position: relative;
    width: 40px;
    height: 40px;
    background: url(img/menu.png);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    background-size: 30px;
    margin-left: 5%;
    z-index: 999
}

header .toggle.active {
    position: relative;
    background: url(img/close1.png);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    background-size: 25px;
    z-index: 1000
}

.col {
    margin-left: 0;
    margin-top: -1%
}

.gallery-box {
    max-width: 400px;
    position: relative;
    animation: drop 3s ease
}

@keyframes drop {
    0% {
        opacity: 0;
        transform: translateY(-80px)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.content {
    padding: 50px
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e78a54;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: ease-out .6s
}

body.navigation {
    overflow-y: hidden
}

.navigation.active {
    opacity: .93;
    visibility: visible
}

.navigation>ul>li>a {
    padding: 6px;
    text-decoration: none;
    color: #070707;
    display: block;
    transition: .3s;
    font-size: 3.125rem;
    line-height: 2.8125rem;
    letter-spacing: -.01em;
    font-weight: 800;
    text-align: center;
    transition: transform .2s;
    font-family: "Times New Roman", Times, serif
}

.navigation>ul>li>a:hover {
    color: #fffdfd;
    transform: scale(1.4)
}

.navigation ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column
}

.navigation h5 {
    line-height: 1.25rem;
    text-transform: uppercase;
    font-family: Nunito;
    font-weight: 500;
    letter-spacing: .4em;
    margin-top: 3%;
    line-height: 1.25rem
}

.navigation ul li {
    list-style: none
}

.navigation ul a {
    display: inline-block;
    color: coral;
    font-size: 2em;
    text-decoration: none;
    font-weight: 300
}

.navigation ul a:hover {
    color: #50504e
}

middle.section {
    width: 84rem;
    height: 300rem;
    min-height: fit-content;
    justify-content: flex-start;
    display: flex;
    align-content: center
}

middle1.section {
    width: 84rem;
    height: 300rem;
    min-height: fit-content;
    justify-content: flex-start;
    display: flex;
    align-content: center
}

.gallery-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10%;
    margin-left: -10%
}

.gallery-image {
    position: relative;
    margin: 5px;
    display: flex;
    justify-content: space-evenly;
    overflow: hidden
}

.gallery-image img {
    max-width: 350px;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .5);
    transition: transform .5s ease
}

.gallery-image img:hover {
    transform: scale(1.3)
}

.heading h1 {
    margin-top: 20px;
    font-size: 2.2rem;
    line-height: 2rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #eb7633;
    font-family: Volkhov;
    margin-left: 37%
}

bottom.section {
    width: 84rem;
    height: 40rem;
    min-height: fit-content;
    justify-content: flex-start;
    display: flex;
    align-content: center
}

.map {
    flex: 1;
    z-index: 3;
    position: absolute;
    height: 60%;
    width: 60%;
    padding: 0;
    border-width: 0;
    margin: 0;
    left: 0;
    top: 0;
    touch-action: pan-x pan-y;
    padding-left: 3px;
    margin-top: 8%;
    margin-left: 30px
}

.contact {
    margin-top: 7%;
    margin-left: 70%;
    line-height: 1.25rem;
    text-transform: uppercase;
    font-family: Nunito;
    padding-top: 30px;
    flex: 2;
    letter-spacing: .4em;
    color: #080808;
    position: absolute
}

.contact {
    animation: drop 5s ease
}

.contact h3 {
    font-size: 1rem;
    font-weight: 1000
}

.contact h5 {
    font-size: .875rem;
    margin-top: 7%;
    font-weight: 400
}

#loading {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #fff url(img/loader.gif) no-repeat;
    background-position: center;
    z-index: 9999
}

.contact a {
    text-transform: none;
    text-decoration: none;
    color: #000
}

.contact i {
    margin-top: 10%
}

.inner a {
    text-decoration: none;
    letter-spacing: .15em;
    display: inline-block;
    padding: 15px 0;
    position: relative
}

.inner a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #0f0f0f;
    transition: width .4s ease 0s, left .4s ease 0s;
    width: 0
}

.inner a:hover:after {
    width: 100%;
    left: 0
}

@keyframes drop {
    0% {
        opacity: 0;
        transform: translateY(-80px)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

@media only screen and (max-width:1020px) {
    section {
        flex-direction: column
    }
}

.middle {
    position: relative;
    min-height: 100vh;
    padding: 40px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: Nunito;
    background-size: cover;
    margin-top: 40%
}

.middle1 {
    position: relative;
    min-height: 100vh;
    padding: 40px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: Nunito;
    background-size: cover;
    margin-top: 40%
}

.middle .content {
    max-width: 800px;
    text-align: center
}

.middle1 .content {
    max-width: 800px;
    text-align: center
}

.middle .content h2 {
    font-size: 36px;
    font-weight: 500;
    color: #0e0d0d
}

.middle1 .content h2 {
    font-size: 36px;
    font-weight: 500;
    color: #0e0d0d
}

.middle .content p {
    font-weight: 300;
    color: #080808
}

.middle1 .content p {
    font-weight: 300;
    color: #080808
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px
}

.container .contactInfo {
    width: 50%;
    display: flex;
    flex-direction: column
}

.container .contactInfo .box {
    position: relative;
    padding: 20px 0;
    display: flex
}

.container .contactInfo .box .icon {
    min-width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px
}

.container .contactInfo .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: #8b8b8b;
    flex-direction: column;
    font-weight: 300
}

.container .contactInfo .box .text h3 {
    color: #050505;
    font-weight: 500
}

.contactForm {
    width: 40%;
    padding: 40px;
    background: #fff
}

.contactForm h2 {
    font-size: 30px;
    color: #333;
    font-weight: 500
}

.contactForm .inputBox {
    position: relative;
    width: 100%
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: 0;
    resize: none
}

.contactForm .inputBox input[type=submit] {
    border-radius: 15px;
    font-family: nunito
}

.contactForm .inputBox input[type=submit]:hover {
    color: #fcfcfc;
    text-shadow: 0 0 30px #f3f2f0;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in
}

.contactForm .inputBox span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: .5s;
    color: #666
}

.contactForm .inputBox input:focus~span,
.contactForm .inputBox input:valid~span,
.contactForm .inputBox textarea:focus~span,
.contactForm .inputBox textarea:valid~span {
    color: #eb7633;
    font-size: 12px;
    transform: translateY(-20px)
}

.contactForm .inputBox input[type=submit] {
    width: 100px;
    background: #eb7633;
    color: #000;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    border: none
}

.content a {
    display: none
}

@media (max-width:991px) {
    .middle {
        padding: 50px
    }
    .middle1 {
        padding: 50px;
        margin-top: 0
    }
    .content a {
        visibility: visible;
        display: inherit;
        white-space: nowrap
    }
    .content {
        margin-top: 7%
    }
    .contactInfo {
        margin-top: -10%;
        margin-right: 10%
    }
    .contactForm {
        margin-top: -10%
    }
    .container {
        flex-direction: column
    }
    .container .contactInfo {
        margin-bottom: 40px
    }
    .container .contactForm,
    .container .contactInfo {
        width: 100%
    }
    .map {
        visibility: hidden
    }
    .card {
        display: none
    }
    .img {
        size: 20%
    }
    #con {
        margin-top: -20%
    }
}

.card {
    background-color: #fff;
    height: 400px;
    width: 310px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    margin-left: 70%;
    margin-top: 9.6%;
    border-radius: 8px;
    box-shadow: 0 0 20px 10px rgba(233, 144, 7, .7)
}

.info {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center
}

.name {
    font-size: 35px;
    font-family: Nunito;
    color: rgba(233, 144, 7, .7);
    position: absolute;
    letter-spacing: 2px;
    font-weight: 600;
    top: 100px
}

.prof {
    font-size: 25px;
    position: absolute;
    top: 140px;
    font-family: Nunito;
    color: #878a8f
}

.divider {
    background-color: rgba(233, 144, 7, .7);
    height: 1.5px;
    width: 50px;
    position: absolute;
    top: 190px
}

.bio {
    position: absolute;
    bottom: 30px;
    color: #0a0a0a;
    text-align: center;
    font-size: 18px;
    font-family: nunito;
    line-height: 28px;
    text-shadow: #e4b153
}

.photo {
    height: 100%;
    width: 100%;
    background: url(img/main2.jpg);
    position: absolute;
    bottom: 0;
    background-size: 100% 100%;
    border-radius: 8px;
    transition: 1s
}

.card:hover .photo {
    transform: scale(.5, .35) translateY(-650px);
    background-size: 100% 150%;
    background-position: 0 -25px;
    border-radius: 50%
}

.text a {
    text-decoration: none;
    color: #8b8b8b
}

.text a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: relative;
    background: #0f0f0f;
    width: 0
}

.text a:hover:after {
    width: 100%;
    left: 0;
    text-decoration: underline;
    transition: width .4s ease 0s, left .4s ease 0s
}