
* {
    box-sizing: border-box;
}

html {
    background-color: white;
    scroll-behavior: smooth
}

html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: Inter, sans-serif;
}

body {
    overflow-x: hidden;
}

.loader {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    opacity: 100%;
}

.loader > img {
    width: 300px;
}

.loader.hidden {
    transition: .3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}


@media only screen and (min-width: 320px) {
    .loader > img {
        width: 150px;
    }
}

header {
    background-color: transparent;
    width: 100%;
    position: fixed;
    margin: 0;
    padding: 0;
    list-style-type: none;
    z-index: 5;
    height: 115px;
    color: white;
    opacity: 0;
    transition: .3s ease-in-out;
}

header .logo {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    float: left;
    margin-left: 8em;
    filter: brightness(1.6);
    opacity: 0;
    transition: 1s ease-in-out;
}

#logo-img {
    height: 80px;
    transition: ease-in-out 0.2s;
}

.nav-bar {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    float: right;
    margin-right: 6em;
    text-transform: uppercase;
}

.option {
    display: inline-block;
    margin: 0 20px;
    position: relative;
    padding: 3px 10px;
}

.option:hover {
    color: #cf217c;
    transition: 0.1s ease-in-out;
}

header .active {
    color: #cf217c;
    padding: 5px 0;
    font-weight: bold;
    transition: 0.2s ease-in-out;
}

#side-nav .active {
    background-color: #9B145B;
}

#side-nav {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background: #710D40;
    z-index: 2;
    transition: 0.5s;
}

#side-nav a {
    font-size: 16px;
    padding: 20px;
    text-decoration: none;
    font-family: inherit;
    color: white;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
}

#side-nav a:hover {
    background-color: #9B145B;
    color: #F2EBE8;
}

#side-nav .logo img {
    width: 75%;
    filter: brightness(1.2);
    margin-left: 17px;
}

.nav-content {
    position: relative;
    top: 30%;
    transform: translateY(-30%);
}

h1 {
    position: relative;
    font-size: 48px;
    color: white;
    text-align: center;
    margin: 80px auto 0 auto;
    left: -100px;
    opacity: 0;
    transition: 1s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    text-transform: uppercase;
}

h2 {
    color: #710D40;
    font-size: 36px;
    text-align: left;
    margin: 0;
}

h3 {
    color: #710D40;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
}

h4 {
    color: #710D40;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
}

h5 {
    color: #cf217c;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active{
    transform: translateY(0);
    opacity: 1;
}

section {
    position: relative;
    width: 100%;
    margin: 100px 0 0 0;
}

#home {
    background-color: #13171A;
    margin: 0;
}

#home .container {
    padding-top: 100px;
}

.container {
    position: relative;
}

#services {
    background-color: #FFF4FB;
}

.desk {
    width: 100%;
    z-index: 1;
    position: relative;
    bottom: -100px;
    opacity: 0;
    transition: 1s ease-in-out;
}

button {
    cursor: pointer;
    background-color: #9B145B;
    border: none;
    color: #FFFFFF;
    padding: 20px 40px;
    font-family: inherit;
    text-transform: uppercase;
    display: block;
    position: relative;
    margin: 70px auto;
    left: -100px;
    opacity: 0;
    transition: 1s ease-in-out;
}

button:hover {
    background-color: #710D40;
    color: #F2EBE8;
}

.secondary-btn {
    background-color: #B98195;
    margin: 50px auto 30px auto;
}

.background {
    height: 100px;
    width: 100%;
    background-color: white;
    position: absolute;
    bottom: 0;
}

#services {
    padding: 100px 0;
}

#services p {
    margin: 30px 0 50px 0;
}

.services {
    margin: 0 auto;
    display: grid;
    justify-items: center;
}

.service {
    background-color: white;
    position: relative;
    display: inline-block;
}

.service img {
    width: 100%;
}

.service .content {
    padding: 30px 0;
    margin: 0 auto;
}

ul {
    list-style-type: none;
    text-indent: -36px;
    margin: 0 20px;
}

.service li::before {
    content: "+";
    display: inline-block;
    padding: 0 5px 1px 5px;
    margin-right: 15px;
    color: white;
    background-color: #9B145B;
    text-indent: -0px; /* key property */
}

.service li {
    width: 80%;
    margin: 20px 0;
}

.contact {
    display: inline-block;
}

.icon {
    margin-right: 10px;
}

.contact p {
    position: relative;
    bottom: 5px;
}

input {
    color: #710D40;
    padding: 15px 0 15px 15px;
    margin: 10px 0;
    font-family: inherit;
    border: #FFF4FB 1px solid;
    background: rgb(255,244,251);
}

input::placeholder, textarea::placeholder {
    color: #B98195;
}

textarea:focus, input:focus{
    outline: none;
    border: #9B145B 1px solid;
}

textarea {
    margin-top: 10px;
    background-color: #FFF4FB;
    color: #710D40;
    height: 170px;
    border: #FFF4FB 1px solid;
    padding: 15px;
    font-family: inherit;
    resize: none;
}

footer {
    background-color: #13171A;
    color: white;
    margin: 0;
}

.copyright-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
}

.copyright {
    margin: 20px 0;
    padding-top: 20px;
}

.copyright:last-child {
    text-align: right;
}

.copyright:last-child a:hover {
    color: #cf217c;
}

.inner-footer {
    position: relative;
    display: grid;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px #9B145B solid;
}

.inner-footer .logo img {
    height: 61px;
    filter: brightness(1.6);
}

.links ul li {
    margin: 20px 0;
}

.links ul li:first-child {
    margin-top: 6px;
}

.links .navigation li:hover {
    color: #cf217c;
}

@media only screen and (max-width: 767px) {

    a {
        text-decoration: none;
        color: inherit;
    }

    section:first-child .container {
        top: 45%;
        transform: translateY(-45%);
        position: relative;
        height: 50vh;
    }

    .container {
        margin: 0 1em;
        position: relative;
    }

    h1 {
        font-size: 32px;
    }

    #home {
        background-color: #13171A;
        margin: 0;
    }

    #home .container {
        padding-top: 70px;
    }

    #home button {
        margin: 70px auto;
    }

    form, input, textarea {
        width: 100%;
    }

    button {
        width: 80%;
    }

    form .secondary-btn {
        margin: 40px auto;
        width: 100%
    }

}

@media only screen and (max-width: 991px) {

    header .logo {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        float: left;
        margin-left: 2em;
    }

    .mobile {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        float: right;
        margin-right: 2em;
    }

    #exit {
        position: relative;
        float: right;
        margin-right: 2em;
        top: 40px;
    }

    .nav-bar {
        display: none;
    }

    #about .container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lighting {
        margin-top: 50px;
        width: 100%;
    }

    #services {
        background-color: #FFF4FB;
    }

    .services {
        grid-gap: 45px;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .service {
        width: 100%;
    }

    #contact {
        margin-bottom: 100px;
    }

    footer {
        padding: 3em 2em;
    }

    .inner-footer {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }

    .links {
        margin: 50px 0;
    }

    .inner-footer ul {
        position: relative;
        right: 40px;
    }

}

@media only screen and (min-width: 768px) {

    .container {
        margin: 0 2em;
        position: relative;
    }

    section:first-child .container {
        top: 40%;
        transform: translateY(-40%);
    }

    form, input, textarea {
        width: 600px;
    }

}

@media only screen and (min-width: 992px) {

    h1 {
        width: 90%;
    }

    .mobile {
        display: none;
    }

    .nav-bar {
        display: block;
    }

    .container {
        margin: 0 8em;
        position: relative;
    }

    .lighting {
        margin-top: 50px;
        width: 602px;
    }

    #services {
        background-color: #FFF4FB;
    }

    .services {
        grid-gap: 45px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    form button {
        float: right;
        margin: 0;
    }

    #contact {
        margin-bottom: 200px;
    }

    footer {
        padding: 3em 8em;
    }

    .inner-footer {
        grid-template-columns: 1fr 1fr;
        padding-bottom: 100px;
    }

    .links-container {
        width: 450px;
        position: relative;
        margin-left: 12em;
    }

    .links:first-child {
        position: absolute;
        left: 0;
        top: 20px;
    }

    .links {
        display: inline-block;
        width: 200px;
        float: right;
        margin-right: 7em;
    }

}

@media only screen and (min-width: 1250px) {

    #about .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
        padding-top: 130px;
        padding-bottom: 50px;
    }

    #about .container .content {
        width: 80%
    }

    .lighting {
        margin-top: 0;
    }

}