/* ----------- GENERAL ----------- */


html,
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: rgb(30, 31, 34);
    width: 100%;
    scroll-behavior: smooth;
}

h2,
h3 {
    letter-spacing: 3px;
    color: whitesmoke;
}

h3 {
    border-bottom: 2px solid #fcb900;
    padding-bottom: 4px;
}

a {
    text-decoration: none;
}


/* LOADER */

#loader {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
    width: 100vw;
    height: 100vh;

}

#loader-footer {
    margin-top: 70px;
    border-top: 1px grey solid;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: grey;
    font-size: 13px;
    width: 60%
}

#loader-footer a {
    text-decoration: underline;
    color: grey;
    padding: 10px;
}

#loader-footer div {
    padding: 10px;
}


#loader svg {
    margin-left: -128px;
}

#loader svg,
#logo {
    height: 320px;
}

.letter-logo {
    fill: none;
    stroke-width: 3px;
    stroke: white;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 2s linear forwards;
    animation-delay: 1.5s;
}

#loader #logo {
    fill: white;
    stroke: none;
    animation: fade ease 1.5s;
    position: relative;
}

#developed-by {
    position: absolute;
    bottom: 30px;
}

@keyframes dash {
    0% {
        fill: #ff000000
    }

    50% {
        fill: #ffffff00
    }

    100% {
        fill: #ffffff;
        stroke-dashoffset: 0;
        opacity: 1;
        transition: 1s;
    }

}

@keyframes fade {
    0% {
        left: 350px;
        opacity: 0;
    }

    100% {
        left: 0px;
        opacity: 1;
    }
}

/* ----------- NAV BAR ----------- */

nav {
    display: flex;
    background: whitesmoke;
    height: 60px;
    padding: 8px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.75);
}

nav a {
    flex: 1;
    text-align: center;
}

nav a:nth-child(2) {
    padding: 20px;
    color: black;
    letter-spacing: 1px;
    font-weight: bold;
}

nav img {
    height: 60px;
}


/* ----------- MAIN CONTENT ----------- */

#container {
    color: rgb(193, 193, 193);
    box-sizing: border-box;
    overflow: hidden;
}

section {
    text-align: center;
    background: rgb(35, 35, 35);
    margin-top: 30px;
    height: 650px;
    position: relative;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.section-content {
    padding: 70px 50px 70px 50px;
}

.section-content a {
    color: #fcb900;
}


.section-content img {
    height: 170px;
    padding: 10px;
}

.section-content p {
    padding: 5px;
}

.section-contact {
    padding: 25px 0px;
}

.section-contact img {
    padding: 10px;
    height: 35px;
}

#azman-zulkiply {
    background-image: url(../img/bg_section/microphone.jpg);
    animation-name: slide-left;
}


#faqihin {
    background-image: url(../img/bg_section/filmmakers.jpg);
    animation-name: slide-right;
}

#reuben-singham {
    background-image: url(../img/bg_section/editing.jpg);
}

#suf-bansen {
    background-image: url(../img/bg_section/studio.jpg);
}

#singatidur {
    background-image: url(../img/bg_section/synthesizer.jpg);
}

@keyframes slide-left {
    from {
        left: -200px;
        opacity: 0;
    }

    to {
        left: 0px;
        opacity: 1;
    }
}

@keyframes slide-right {
    from {
        right: -200px;
        opacity: 0;
    }

    to {
        right: 0px;
        opacity: 1;
    }
}

/* ----------- ABOUT SECTION ----------- */

#about-section {
    position: relative;
    border-radius: 0 !important;
    background-color: whitesmoke;
    background-size: 0.5rem 0.5rem;
    background-position: 0.25rem 0.25rem;
    background-image:
        linear-gradient(to right, rgba(50, 100, 150, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(50, 100, 150, 0.1) 1px, transparent 1px);
    margin: 0;
    padding: 100px;
    color: rgb(30, 30, 30);
}

#about-section h2 {
    color: rgb(30, 30, 30);
}


/* ----------- CONTACT / FOOTER ----------- */

footer {
    background: rgb(30, 31, 34);
    color: white;
    padding: 50px;
    text-align: center;
}

.footer-flex {
    display: flex;
    justify-content: space-around;
}


.contact1,
.contact2 {
    text-align: left;
    padding: 20px;
}

.contact1 a {
    color: #fcb900;
}


/* ----------- MEDIA QUERIES----------- */

@media (max-width: 700px) {


    #loader svg,
    #logo {
        height: 120px;
    }

    #loader svg {
        margin-left: -45px;
    }

    section {
        height: 650px;
    }

    .section-content {
        padding: 50px 45px 50px 45px;
    }

    .section-content p {
        text-align: left;
    }

    .section-content img {
        height: 120px;
    }

    .section-contact img {
        padding: 5px;
        height: 30px;
    }

    #about-section {
        padding: 20px;
    }

    .footer-flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

}