
/* header styling */

.import {
    width: 100%;
}

header {
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: 100px;
    z-index: 23;
    position: fixed;
    top: 34px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}
header .logo img{
    width: 225px;
}
header nav ul {
    display: flex;
    padding-left: 187px;
}

button {
    font-family: inherit;
}

header nav li {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}


header nav ul li a {
    display: inline-block;
    color: rgb(246, 246, 246);
    font-weight: 900;
    padding: 5px 0;
    margin: 0 10px;
    border: 3px solid transparent;
    text-transform: uppercase;
    transition: 0.2s;
    text-decoration: none;
}
header nav ul li a:hover,
header nav ul li a.active {
    border-bottom-color: rgb(255, 203, 30);
}

header .call img {
    width: 200px;
}

.dropdown {
    
    overflow: hidden;
  }


  
  .dropdown .dropbtn {
    font-size: 1em;  
    display: inline-block;
    border: none;
    outline: none;
    color: white;
    padding: 0;
    background-color: inherit;
    margin: 0;
  }


  /*.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: rgb(255, 203, 30);
  }
  */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

.hamburger {
    cursor: pointer;
    display: none;
}
.hamburger div {
    width: 30px;
    height: 5px;
    margin: 5px 0;
    background: #000;
}

nav {
    display: flex;
    justify-content: space-between;
    width: 62%;
}
@media only screen and (max-width: 900px) {
    header {
        padding: 0 30px;
    }

    header .logo img{
        width: 170px;
    }
    nav {
        width: 67%;
    }
}

@media only screen and (max-width: 700px) {
    .hamburger {
        display: block;
        background-color: rgb(246, 246, 246);
        height: 30px;
    }
    header nav {
        position: absolute;
        width: 100%;
        left: -100%;
        top: 90px;
        width: 100%;
        background-color: rgb(0, 0, 0);
        padding: 30px;
        transition: 0.3s;
        flex-direction: column;
    }
    header #nav_check:checked ~ nav {
        left: 0;
    }
    header nav ul {
        display: block;
        padding-left: 0px;
        list-style: none;
    }
    header nav ul li a {
        margin: 5px 0;
    }

    #socials {
        display: flex;
    }
    #socials a {
        padding: 27px 33px 10px 0;
        font-size: 1.5rem;

    }
}
.stock-ticker {
    z-index: 1000;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    font-size: 15px;
    padding-block: 8px;
    background-color: rgb(228, 195, 51);
    overflow: hidden;
    user-select: none;

    --gap:30px;
    display: flex;
    gap: var(--gap);
}

.stock-ticker ul {
    list-style: none;
    flex-shrink: 0;
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);

    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    to {
        transform: translateX(calc(-100% - var(--gap))); 
    }
}

.stock-ticker .phone {
    font-weight: 700;
}

.stock-ticker .hours {
    font-weight: 700;
}