/* general site font & heading styling to keep consistency */
body {
    font-family: 'Poppins', sans-serif;
    background-color: black;
    color: #ffffff;
}

p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1.6em;
    margin: 0 10%;
}

h1,
h2,
h3,
h4 {
    font-family: 'Syne', sans-serif;
}

h1 {
    font-weight: 300;
    margin: 10px 20px 20px 20px;
    line-height: 2.5rem;
}

h2 {
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    letter-spacing: 0.3rem;
    color: #d8a6ff;
    margin: 50px 0 0 0;
}

h3 {
    font-weight: 500;
}

/* bootstrap icon styling */
.bi {
    color: black;
    font-size: 2rem;
    letter-spacing: 1rem;
}


/* header video and logo image styling, displaying on on top of the other*/
#video-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

#headerVideo {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 350px;
}


.logo img {
    max-width: 200px;
    padding: 4.5rem 0;
}


/* navigation styling for mobile */

ul li {
    padding: 1rem 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2rem;
}


ul li a:link,
ul li a:visited {
    color: #ffffff;
    border-bottom: 2px solid #d8a6ff;
}

/* text slider - ticker animation */

.ticker-container {
    overflow: hidden;
    position: relative;
    height: 60px;
}

.ticker-container li {
    letter-spacing: 0.05rem;
}

.ticker-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    animation: ticker 10s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding-right: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2rem;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* footer styling, consistent in all pages */
footer {
    background-color: #d8a6ff;
    padding: 4rem 3rem;
    margin-top: 3em;
    line-height: 0.2rem;
    color: black;
}


.footer-link {
    text-decoration: none;
    color: inherit;
    font-weight: 400;
    border-bottom: 2px solid black;
    letter-spacing: 0.2rem;
}

/* *** Contact Page *** */

/* contact form styling to match the brand and create user friendly fields */
.contact-form {
    margin: 60px auto;}

.form-group {
    margin: 0 10%;
}

.form-group label {
    margin: 15px 0 10px 0;
    letter-spacing: 0.2rem;
}

.form-group input::placeholder {
    color: #d8a6ff;
}

.form-control {
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: #d8a6ff;
    padding: 20px;
}

.form-control select {
    color: #d8a6ff;
}

.form-group input,
.form-group textarea {
    padding: 20px;
    margin: 5px 0;
    border: none;
    border-radius: 0;
    background-color: #fff;
}

.form-button {
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2em;
    margin: 30px 0;
    background-color: black;
    border: none;
    border-bottom: 2px solid white;
}

.form-button:hover {
    color: #d8a6ff;
    border-bottom: 2px solid #d8a6ff;
}

/* *** Custom Link Page *** */
#icon-custom {
    max-width: 250px;
}

.project-image {
    margin: 30px 0;
}

/* media query for bigger screens */

@media screen and (min-width: 760px) {
    /* main paragraph */
    p {
        max-width: 600px;
        margin: 0 auto;
    }

    /* video container width */
    #video-container {
        height: 800px;
    }

    #icon {
        max-width: 450px;
    }

    /* different nav + logo position */
    .nav li {
        padding-left: 30px;
        padding-right: 30px;
    }

    .logo-nav {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }
    
    /* contact form */
    .contact-form {
        font-size: 1.2em;
        margin: 150px auto;
    }

    .form-group input {
        max-width: 500px;
        margin: 5px auto;
    }

    .form-group select {
        max-width: 650px;
        margin: 0 auto;
    }

    }


@media screen and (min-width: 1200px) {
    p {
        max-width: 800px;
        margin: 0 auto;
    }

     /* contact form */
     .contact-form {
        max-width: 1200px;
        max-height: 50%;
     }

     .form-group {
        text-align: left;
     }

     .contact-form .row {
        display: flex;
        flex-wrap: wrap;
      }
      .contact-form .col-12:nth-child(1), .contact-form .col-12:nth-child(2) {
        width: 100%;
      }


    /* centering footer and socials */
    .footer {
        flex-direction: column;
        align-items: center;
      }
    
      .footer-text {
        text-align: center;
      }

      .socials {
        margin-top: 40px;
      }
}
