* {
    box-sizing: border-box;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
}

:root {
    --primary-color: #fff;
    --secondary-color: #292c2f;
}

.dark-theme {
    --primary-color: #292c2f;
    --secondary-color: #fff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    margin: 0;
}

p {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0px;
}

  /* Navbar section */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
    background-color: var(--primary-color);
}

.brand-title-header {
    font-size: 2rem;
    margin: .5rem;
    margin-left: 1rem;
}

.navbar-links ul {
    margin:  .5rem 0;
    padding: 0;
    display: flex;
    margin-right: 15px;
}

.navbar-links li {
    list-style: none;
    border-radius: 5px;
}

.navbar-links li a {
    text-decoration: none;
    color: var(--secondary-color);
    padding: 1rem;
    display: block;
}

#login {
    height: auto;
    background-color: #50ceb5;
    color: rgb(0, 0, 0);
    border: none;
}

#login :hover {
    background-color: #de9151;
    color: var(--primary-color);
    cursor: pointer;
    transition: .1s ease-in-out;  
    border-radius: 5px;
}

#icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    align-self: center;
    margin-right: 0px;
    margin-left: 15px;
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: #000;
    border-radius: 10px;
}

  /* Search section */

.searchsection {
    background-image:  linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)) , url(./Resources/background_img.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.search-container {
    margin: auto;
    color: var(--primary-color);
}

.searchbanner {
    color: #fff;
}

.searchbanner p {
    font-weight: 300;
}

#top-search {
    margin-top: 1.25rem;
    margin-bottom: .25rem;
}

#bottom-search {
    margin-top: .5;
    margin-bottom: 1rem;
}

.searchbox input{
    width: 100%;
    border-radius: 25px;
    height: 50px;
    text-align: center;
}

.search-button {
    display: flex;
    align-self: center;
    justify-content: center;
}

.searchicon {
    margin: 5px 0;
    min-width: 33%;
    min-height: 50px;
    border-radius: 25px;
    font-size: large;
    background-color: #50ceb5;
    color: var(--secondary-color);
    border: none;
}

.searchicon:hover {
    background-color: #de9151;
    color: var(--primary-color);
    cursor: pointer;
    transition: .1s ease-in-out;
}

  /* Categories section */

#categories{
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    color: var(--secondary-color)
}

.cases {
    display: flex;
    flex-wrap: wrap;
 }

.case:hover {
    opacity: 1;
    transition: .1s ease-in-out;
    transform: scale(0.99);
    cursor: pointer;
}

.case {
    opacity: .9;
    width: 350px;
    min-height: 300px;
    margin: 10px;
    display: flex;
    align-items: flex-end;
}

.description {
    background-color: rgba(0, 0, 0, 0.80);
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0px 40px;
    border-radius: 18px;
}


#background,
#nature,
#animal,
#people,
#city,
#interior {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    flex-grow: 1;
}


#background {
    background-image: url(./Resources/backgrounds_img.avif);
}

#nature {
    background-image: url(./Resources/nature.img);
}

#animal {
    background-image: url(./Resources/animals_img.avif);
}

#people {
    background-image: url(./Resources/people_img.avif);
}

#city {
    background-image: url(./Resources/city_img.avif);
}

#interior {
    background-image: url(./Resources/interiors_img.avif);
}

  /* Teammates section */

.teamsection {
    min-height: 500px;
}
 
#team {
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    color: var(--secondary-color);
}

.teammates {
    display: flex;
    flex-wrap: wrap;
}
 
.teammate {
    opacity: .9;
    width: 350px;
    min-height: 500px;
    margin: 10px;
    display: flex;
    align-items: flex-end;
}


.teammate:hover {
    opacity: 1;
    transition: .1s ease-in-out;
    transform: scale(0.99);
    cursor: pointer;
}


/*  */
#pbrown,
#kcoburn,
#jblauser {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    flex: 1;
}

#dmorrow,
#jwhitehead {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    border-radius: 18px;
    flex: 1

}



#pbrown {
    background-image: url(./Resources/pbrown_img.avif);
}

#dmorrow {
    background-image: url(./Resources/dmorrow_img.avif);
}

#jwhitehead {
    background-image: url(./Resources/jwhitehead_img.avif);
}

#kcoburn {
    background-image: url(./Resources/kcoburn_img.avif);
}

#jblauser {
    background-image: url(./Resources/jblauser_img.avif);
}


  /* Footer section */


.footer-info {
    background-color: var(--primary-color);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: normal 16px sans-serif;
    padding: 45px 50px;
    margin-top: 2rem;
  }
  
  .footer-info .footer-left p {
    color: #8f9296;
    font-size: 14px;
    margin: 0;
  }

  .brand-title-footer {
    font-size: 2rem;
    margin: .5rem;
    margin-left: 0rem;
    color: var(--secondary-color);
  }

  /* Footer links */
  
  .fa  {
    font-size: 30px;
   text-align: center;
    text-decoration: none;
  } 
  
  .fa:hover {
      opacity: 0.7;
  }
  
  .footer-info p.footer-links {
    font-size: 18px;
    font-weight: bold;
    color: #292c2f;
    margin: 0 0 10px;
    padding: 0;
    transition: ease .25s;
  }
  
  .footer-info p.footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: var(--secondary-color);
    transition: ease .25s;
  }
  
  .footer-info .footer-links a:before {
    content: "·";
    font-size: 20px;
    left: 0;
    color: var(--secondary-color);
    display: inline-block;
    padding-right: 5px;
  }
  
  .footer-info .footer-links .link-1:before {
    content: none;
  }
  
  .footer-info .footer-right {
    float: right;
    margin-top: 6px;
    max-width: 180px;
  }
  
  .footer-info .footer-right a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #33383b;
    border-radius: 2px;
    font-size: 30px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-left: 3px;
    transition:all .25s;
  }
  
  .footer-info .footer-right a:hover{transform:scale(1.1); -webkit-transform:scale(1.1);}
  
  .footer-info p.footer-links a:hover{text-decoration:underline;
}
  

/* Media Queries */


@media (max-width: 480px) {
    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-links ul {
        flex-direction: column;
        width: 100%;
    }

    .navbar-links li {
        text-align: center;
    }

    .navbar-links li a {
        padding: .5rem 1rem;
    }

    .navbar-links.active {
        display: flex;
    }
}

@media (max-width: 600px) {
  .footer-info .footer-left, .footer-info .footer-right {
    text-align: center;
  }
  .footer-info .footer-right {
    float: none;
    margin: 0 auto 20px;
  }
  .footer-info .footer-left p.footer-links {
    line-height: 1.8;
  }
}