*{
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-variant: small-caps;
}
body{
    width: 100vw;
    height: 100vh;
    font-weight: 700;
    font-variant: small-caps;
}
#img1{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}
header{
    height:15vh;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
    display:flex;
    justify-content: space-around;
    align-items: center;
}
.head1{
    color:orangered;
    font-size: 23px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    /* margin-right: auto; */
    cursor: pointer;
}
.nav ul{
    display: flex;
    list-style-type: none;
}
.nav ul li a{
    text-decoration: none ;
    padding: 10px;
    color: black;
    transition: all 0.2s;
}

.nav ul li a:hover{
    background-color:#e0dfda ;
    color: rgb(33, 14, 207);
    border-radius: 5px;
}

.nav ul li{
    padding-left:20px ;
}
main{
    width: 100vw;
    height: 85vh;
    background-image: url("image1.jpg");
    position: relative;
}
#img2{
    width: 100%;
    height: 100%;
}
.main1{
    position: absolute;
    left: 15%;
    top: 20%;
}
.head2{
    color: white;
}
.head3{
    color: white;
    padding: 20px;
}
#b1{
    border: 1px solid gray;
    margin-left: 100px;
    background-color: black;
    border-radius: 10px;
    padding: 5px;
}
#b1 a{
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
    text-align: center;
  }
  #img1 {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }
  .head1 {
    font-size: 18px;
  }
  .nav ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .nav ul li {
    padding-left: 0;
    margin-bottom: 8px;
  }
  main {
    background-size: cover;
    background-position: center;
    height: auto;
    min-height: 60vh;
  }
  .main1 {
    left: 5%;
    top: 10%;
    width: 90vw;
    padding: 10px;
  }
  .head2, .head3 {
    font-size: 20px;
    padding: 10px 0;
  }
  #b1 {
    margin-left: 0;
    width: 100%;
    font-size: 16px;
    padding: 8px;
  }
}