@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Dhurjati&family=Nunito+Sans:opsz,wght@6..12,300&family=Saira+Semi+Condensed:wght@100&display=swap');

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Bebas Neue', sans-serif;
}

body{
    margin: 0;
}

#navbar{
    background: #6767dd;
    display: flex;
    flex-flow: row wrap;
    max-height: 70px;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    margin: 0px;
    width: 100%;
    height: 100%;
    letter-spacing: 2px;
}

#navbar a{
    color: #180F4A;
    text-decoration: none;  
    font-size: 20px; 
    padding: 20px 16px;
}

h1{
    color: #FFFFFF;
    font-size: 60px;
    padding: 10px;
    letter-spacing: 5px;
    margin: 1% auto 5% auto;
}

header{
    background-image: linear-gradient(180deg, #E6457A,#8245E6);
    text-align: center;
    justify-content: center;
    align-items: center;
    border-top: 1px solid  #6767dd; 
    margin: 70px 0 -40px 0;
    height: auto;
    min-height: 15px;
}

footer{
    margin-top: 10px;
    height: 100%;
    background-image: linear-gradient(180deg,#8245E6, #E6457A);
    text-align: center;
    border-top: 1px solid  #8245E6;
    min-height: 100px;
    padding: 1%;
    font-size: 18px;
    bottom: 0;
}

.project-tile img{
    margin: 0;
    cursor: pointer;
    width: 100%;
    max-width: 550px;
    height:auto;
    object-fit: cover;
    border-radius: 15px;
}

.card{
  box-shadow: 0px 4px 8px 0 #00000033 , 0 6px 20px 0 #00000030;
  border-radius: 15px;
  margin: 2% 2% 2% 2%;
  padding: 2px;
  width: 100%;
  display: inline-block;
  max-width: 550px;
  height: auto;
  align-content: center;
  text-align: center;
  gap: 10%;
}

.card p{
  font-size: 18px;
}

.project-tile::after, main::after{
  content:"";
  width: 350px;
}

#projects, main{
    width: 100%;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#projects h2{
    width: 100%;
    font-size: 30px;
    margin: 0;
    font-weight: bold;
    color: #180F4A;
    text-align: center;
}

#projects h3{
  width: 100%;
  font-size: 25px;
  margin: 1%;
  color: #180F4A;
  text-align: center;
}


#presentation,
#qualifications,
#education,
#certification {
  width: 100%;
  text-align: center;
  max-width: 750px;
  height: auto;
  margin: 2% auto;
  padding: 2% 1%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

main .card {
  max-width: 900px;
  width: 100%;
  margin: 0% 5% 2% 5%;
  padding: 2px;
  height: auto;
  align-content: center;
  text-align: center;
  gap: 10%;
}


#presentation p{
  font-size: 20px;
  padding: 5px;
  letter-spacing: 1px;
}

#qualifications p{
  font-size: 20px;
}
#education p{
  font-size: 20px;
}

#education li{
  margin-left: 15px;
}

#certification #title{
  font-size: 20px;
}

#certification p{
  font-size: 15px;
}

#qualifications ul{
  font-size: 18px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  width: 80%;
  margin-top: 2%;
}

#education ul{
  font-size: 18px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: start;
  width: 98%;
  margin-top: 2%;
  padding: 1%;
  border: 0;
}

#certification ul{
  font-size: 18px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: start;
  width: 90%;
  margin-top: 2%;
}


.dropbtn {
  display: inline-block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  text-align: center;
}

.dropdown {
  display: inline-block;
}

.dropdown-content{
  display: none;
  position: absolute;
  background: white;
  width: 120px;
}

.dropdown-content a{
  color: black;
  display: block;
  text-align: left;
  border: 1px solid rgb(207, 207, 207)
}

.dropdown:hover .dropdown-content{
  display: block;
}

.dropdown-content a:hover{
  background-color: #6767dd;
}

@media only screen and (max-width: 720px) {
  h1{
    font-size: 40px;
    }
    #navbar{
      letter-spacing: 0;
    }
    #navbar a{
      font-size: 15px;
      padding: 10px;
    }
    #projects h2{
      font-size: 22px;
      margin: 1%;
    }
    h3{
      font-size: 18px;
    }
    .card{
      max-width: 75%;
      height: auto;
      object-fit: cover;
      padding: 5px;
    }

    main .card{
      margin: 5%;
      padding: 20px;
    }

    #navbar a{
      font-size: 20px;
    }

    footer{
      font-size: 15px;
    }
}