/* PROVIDES STYLES FOR THE TOPBAR ELEMENT */

.topbar{
    display:grid;
    grid-template-columns: repeat(10,1fr);
    width: 100%;
    background: var(--black);
}
.logo-strip {
    grid-column: 3 / span 6;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2vw;
    background: var(--black);
    padding: 1vh;
    z-index: 1;
    width: 100%;
}

.controls{
    grid-column: 9 / span 2;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    display:flex;
    flex-direction: row;
    gap: 10px;
}

.hamburger{
    display: none;
}

.controls .btn{
    min-height: unset;
    font-size: var(--font-size-small);
}

.logo-strip a {
    max-height: 80px;
    max-width: 200px;
    min-width: 120px;
}

.logo-strip img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}
.login.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 15px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 720;
  transition: all 0.17s ease;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  text-wrap: nowrap;
}
.login.btn:hover {
  border-color: var(--green);
  color: var(--green);
}
.signup.btn {
  border-color: var(--blue-sec);
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-sec) 100%);
  color: var(--white);
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 720;
  transition: all 0.17s ease;
  text-wrap: nowrap;
}
.signup.btn:hover {
  background: var(--white);
  border-color: var(--blue);
  color: var(--blue);
}

@media (max-width: 1200px){
    .controls .btn-title{
        font-size: var(--font-size-verysmall);
    }
}

/* Tablets & Small Laptops (≤ 1024px) */
@media (max-width: 1024px) { 
    .logo-strip{
        grid-column: 1 / span 7;
        justify-content: start;
    }
    .controls{
        grid-column: 8 / span 3;
    }
}

/* Large Phones (≤ 768px) */
@media (max-width: 768px) { 
.logo-strip{
        flex-wrap: nowrap;
    }

    .controls{
        display: none;
    }

    .controls.active{
        display: flex;
        position: absolute;
        right: 0;
        background: var(--black);
        top: 5rem;
        border-radius: 0rem 0 2rem 2rem;
        flex-direction: column;
        z-index: 20;
        width: 100%;
    }

    .hamburger{
        display: flex;
        grid-column: 10 / span 1;
        justify-content: center;
        align-items: center;
        height:100%;
    }

    .hamburger svg{
        height: 50%;
        width: 50%;
    }

    .hamburger:hover{
        cursor: pointer;
    }

    .logo-strip img {
        max-height:     60px;
        max-width:      150px;
        object-fit:     contain;
        min-width:      90px;
    }
}

@media (max-width: 480px) { 
    .topbar{
        margin-top: 6.5h;
    }

    .logo-strip {
        grid-column: 1 / span 9;
        gap: 0;
    }

    .logo-strip a {
        min-width: 80px;
    }
    .logo-strip img {
        max-height: 35px;
        max-width: 75px;
        min-width: 60px;
    }

    .controls.active{
        top:3rem;
    }

    .hamburger{
        display: flex;
        grid-column: 10 / span 1;
        justify-content: center;
        align-items: center;
        height:100%;
    }
}