﻿
.dropbtn {
  background-color: white;
    color: black;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  padding: 5px;
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 205px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #f9fbf9;}


.ud-container {
  width: 100%;
  max-width: 134rem;
  margin-right: auto;
  margin-left: auto;
}
.partners-banner-module--wrapper--2-SKh {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f7f9fa;
    container-type: inline-size;
}
.partners-banner-module--content--bYVF_ {
  width: 100%;
}
.partners-banner-module--heading--21OVA {
  color: #6a6f73;
  font-weight: 400;
  margin-bottom: 2.4rem;
  font-size: 1.4rem;
  max-width: 100%;
}
.partner-logos-module--list--2hIZ_ {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  align-self: normal;
}

.ud-unstyled-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.ud-unstyled-list li {
  padding-left: 0;
}

.partner-logos-module--item--1KtIF {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logos-module--item--1KtIF img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
div.partners-banner-module--wrapper--2-SKh{
@container (inline-size < 61.31em)
.partner-logos-module--list--2hIZ_ {
    grid-auto-flow: initial;
    grid-template-columns: repeat(4,4fr);
    grid-gap: 1.6rem;
}
}
@media (max-width: 61.25em){
.partner-logos-module--list--2hIZ_ {
    grid-auto-flow: initial;
    grid-template-columns: repeat(4,4fr);
    grid-gap: 1.6rem;
}
}

.nav {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  width: 100%;
  color: rgb(80,87,99);
  position: sticky;
  top: 0;
  background-color: white;
  margin-top:10px;
  box-shadow: 0 7px 9px rgba(0, 0, 0, 0.2); 
  z-index: 999;
}

@media (max-width: 768px)
{
    .nav {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  width: 100%;
  color: rgb(80,87,99);
  position: sticky;
  top: 0;
  background-color: white;
  margin-top:50px;
  box-shadow: 0 7px 9px rgba(0, 0, 0, 0.2); 
  z-index: 999;
}
    }

.navDiv {
  display: flex;
  align-items: center;
  height: 100%;  
  margin-left:10px;
}

#udemyNav {
  width:100px;
  margin-left:30px;
  margin-top: -30px;
}
@media screen and (max-width: 768px) {
 #udemyNav {
  width:100px;
  margin-left:-10px;
  margin-top: -30px;
}
}

#category {
  display: flex;
  height: 100%;
  align-items: center;
  margin-left:10px;
}

#squareTile {
  height: 13px;
  margin-right: 10px;
}
input:focus{
  outline: none;
}
#search {
  background-color: rgb(242, 243, 245);
  /* justify-content: space-between; */
  width: 40%;
  padding: 0 5px;
  height: 45px;
  border-radius: 20px;
  margin: 0 10px;
  border:1px solid black;
}

@media screen and (max-width: 1085px)and (min-width: 800px) {
  #search {
    width: 25%; /* Adjust the width as needed for smaller screens */
    margin: 0 auto; /* Center the search div horizontally */
  }
}
/* Add media query for responsiveness */
@media screen and (max-width: 768px) and (min-width: 500) {
  #search {
    width: 70%; /* Adjust the width as needed for smaller screens */
    margin: 0 auto; /* Center the search div horizontally */
  }
}
@media screen and (max-width: 500px)and (min-width: 300px) {
  #search {
    width: 50%; /* Adjust the width as needed for smaller screens */
    margin: 0 auto; /* Center the search div horizontally */
  }
}

.searchField {
  border-width: 0px;
  background-color: transparent;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  /* width: 100%; */
  border-radius: 20px;
}

#searchIcon {
  height: 10px;
}

#cart {
  height: 27px;
  order: 2;
}

#logIn {
  height: 40px;
  background-color: transparent;
  border-stle: solid;
  border-color: rgb(104, 111, 122);
  border-width: 1px;
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  order: 1;
  margin: 0 5px 0 5px;
  width: 70px;
  color: rgb(80,80,80);
}

#logIn:hover {
  color: rgb(10,10,10);
  border-color: black;
}

#signUp {
  height: 40px;
  background-color:white;
  border-style: solid;
  border-color: #000;
  border-width: 1px;
  border-radius: 2px;
  color: black;
  font-weight:600;
  text-decoration: none;
  margin:10px;
  padding:10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  width: auto;
}

#signUp:hover {
  background-color: red;
  color:White;
}

.navSmall {
  display: none;
}

#hamburger {
  height: 20px;
  margin-right: 15px;
}

#navCenter {
  justify-content: center;
  
}

.clickable:hover {
  cursor: pointer;
}

/*CSS for banner*/
#banner {
  background: url(https://tedconfblog.files.wordpress.com/2013/01/blog_learn_to_code_art_rev.jpg?w=900&h=599);
  background-size: cover;
  height: 280px;
  margin-top:20px;
}
#banner1{
  color:Black;
  background-color:White;
  height:auto;
  width:520px;
    }

    
#bannerOverlay {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: rgb(0,0,0, .4);
  padding: 0 20px;
}

.bannerText {
  color: white;
  font-weight: 100;
  width: 300px;
  text-shadow: 1px 2px rgb(0,0,0,.2);
}

#bannerTitle {
  font-size: 40px;
  font-weight: 600;
}

#bannerBody {
  margin: 15px 0;
}

#bannerSearch {
  background-color: white;
  width: 300px;
  display: flex;
  border-radius: 3px;
  align-items: center;
  padding: 0 5px;
  height: 44px;
  margin-bottom: 40px;
}

#bannerSearchIcon {
  height: 18px;
}

/*Card*/
#card {
  margin-top: 20px;
  padding: 0 20px;
}

#cardTitle {
  font-size: 24px;
}

#cardLayout {
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.cardContent {
  display: flex;
  align-items: center;
  border-style: solid;
  border-color: rgb(200,200,200);
  border-width: 1px;
  border-radius: 1px;
  height: 62px;
  padding: 0 15px;
  width: 27%;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.cardContent:hover {
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.03);
}

.cardIcon {
  height: 32px;
  margin-right: 15px;
}

#cardDev {
  margin-right: 3%;
  margin-bottom: 10px;
}

#cardBus {
  margin-right: 3%;
}

#cardDes {
  margin-right: 3%;
  margin-bottom: 10px;
}

#cardMar {
  margin-right: 3%;
}

#cardPho {
  margin-right: 3%;
}

/*Footer*/
#footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(247,248,250);
  margin-top: 20px;
  padding: 0 20px 0 0;
}

.footDiv {
  display: flex;
  height: 100%;
  align-items: center;
}

#footCop {
  font-size: 10px;
  color: rgb(104,111,122);
}

.footText {
  font-size: 10px;
  color: rgb(0,119,145);
  text-decoration: none;
}

.footText:hover {
  color: rgb(0,50,61);
}

#footTerm {
  margin-right: 10px;
}

/*CSS for responsive*/
@media (max-width: 825px) {
  .cardContent {
    width: 42%;
  }
  
  #cardBus {
    margin-right: 0;
  }
  
  #cardIT {
    margin-right: 3%;
  }
  
  #cardDes {
    margin-right: 0;
  }
  
  #cardMar {
    margin-bottom: 10px;
  }
  #banner1{
  color:Black;
  background-color:White;
  width:auto;
  margin-bottom:-30px;

    }
}

.slider-banner{
position: absolute;
left:100px; 
top: 20px;
    }
@media (max-width: 768px) {
  .slider-banner{
left:auto; 
top: 200px;
position: static;
    }
  .navBig {
    display: none;
  }
  .navp {
    display: none;
  }
  .navSmall {
    display: flex;
  }
  
  #searchIcon {
    height: 20px;
  }
  
  #cart {
    height: 35px;
  }
  
 /* .navDiv {
    width: 33.33333333%;
  }*/
  
  #bannerTitle {
    font-size: 30px;
  }
  
  #bannerBody {
    font-size: 13px;
  }
  
  .bannerText {
    width: 210px;
  }
}

@media(max-width: 570px) {
  .cardContent {
    width: 100%;
  }
  
  #cardDev {
    margin-right: 0;
  }
  
  #cardBus {
    margin-bottom: 10px;
  }
  
  #cardIT {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  #cardMar {
    margin-right: 0;
  }
  
  #cardPho {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 0;
  }
}

@media(max-width: 375px) {
  #bannerSearch {
    width: 100%;
  }
}

@media(max-width: 250px) {
  .bannerText {
    width: 100%;
  }
}

.img1 img{
  width: 100px;
  height: 100px;
  margin-left:30px;
  margin-top:10px;
}

.slide-track {
  width: 100%;
  display: flex;
  gap: 1em;
  overflow: hidden;
}

.slider {
  margin-top: 50px;
  background-color: whitesmoke;
  padding: 5em 2em;
}
.slider p{
    text-align:center;
    }

@keyframes scroll {
  0% {transform: translateX(0);}
  100% {transform: translatex(-1000%)}
}


