* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-family: Poppins, 'Segoe UI', sans-serif;
    color: var(--text-color);
    scroll-behavior: smooth;
    /*For bookmark links*/
  }
  
  body {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: darkred;
  
  
  }
  
  main {
    padding: min(5em, 7%);
  }
  
  main p {
    margin-top: .35em;
  }
  
  nav {
    background-color: #24262b;
    background-size: cover;
    border-bottom: 1px solid var(--hover-color);
  }
  
  nav ul {
    list-style: none;
    display: flex;
  }
  
  nav .home-li {
    margin-right: auto;
  }
  
  nav li {
    display: flex;
    align-items: center;
  
  }
  
  nav h1 {
    display: flex;
    align-items: center;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
  }
  
  nav a {
    display: flex;
    text-decoration: none;
    color: var(--text-color);
    padding: 1em 2em;
    transition: background-color 150ms ease;
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
  }
  
  nav a:hover {
    transition: all 0.6s ease-in-out;
    background-color: brown;
    color: #ffffff;
    transform: scale(1.09);
  }
  
  nav a.active-link {
    border-bottom: 2px solid white;
  }
  
  nav a.accent-link {
    background-color: var(--accent-color);
  }
  
  #open-sidebar-button {
    display: none;
    background: none;
    border: none;
    padding: 1em;
    margin-left: auto;
    cursor: pointer;
  }
  
  #close-sidebar-button {
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
  }
  
  #overlay {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    inset: 0;
    z-index: 9;
    display: none;
  }
  
  .skip-link {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s ease;
  }
  
  .skip-link:focus {
    opacity: 1;
    pointer-events: auto;
    outline: 3px solid #ffffff;
  }
  
  @media screen and (max-width: 1100px) {
  
    #open-sidebar-button,
    #close-sidebar-button {
      display: block;
    }
  
    nav {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: min(15em, 100%);
      z-index: 10;
      border-left: 1px solid var(--hover-color);
      transition: right 300ms ease-in-out;
    }
  
    nav.show {
      right: 0;
    }
  
    nav.show~#overlay {
      display: block;
    }
  
    nav ul {
      width: 100%;
      flex-direction: column;
    }
  
    nav a {
      width: 100%;
      padding-left: 2.5em;
    }
  
    nav a.active-link {
      border-bottom: none;
    }
  
    nav .home-li {
      margin-right: unset;
    }
  }
body{
    background-color:  #ff7900;
}

.header h1{
    background-color: black;
    color: #ff7900;
    align-content: center;
    width: 300px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    border: 5px solid #ffdfb9;
    border-radius: 10px ;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
    text-decoration: underline;
}


h1{
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    text-align: center;
}
h3{
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    text-align: center;
    font-size: 40px;
}
h2{
  font-family: "Dancing Script", serif;
  font-size: 40px;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
}
.head{
  padding: 30px;
}
h3{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  align-items: center;
}
h3::before, h3::after{
  content: "";
  height: 3px;
  background-color: black;
  display: block;
}
@media (max-width:500px){
    h3{
        font-size: 20px;
    }
    h3{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        align-items: center;

    }
    h3::before, h3::after{
        content: "";
        height: 2px;
        background-color: black;
        display: block;
    }

}
.container{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    height: auto;
    width: auto;
    
}
 img{
    display: flexbox;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 300px;
    width: 300px;
    justify-content: space-between;
    border-left:10px solid black;
    border-top:10px solid black;
    border-right:10px solid darkred;
    border-bottom:10px solid darkred;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

}
img:hover{
    transform: scale(1.09);
    transition: 0.6s;
    Animation-name:circle:
    Animation-duration:2s;
    Animation-iteration-count:1;
}
@keyframes circle {
  0%{}
  100%{
    transform: rotate(360deg);
    border-radius: 50%;}
  }
}
    
@media (max-width:500px){
    img{
        width: 300px;
        height: 200px;
    }
    #prefect{
      width: 100%;
      height: 300px;
      
    }
  }

@media (max-width:350px){
    img{
        width: 200px;
        height: 100px;
    }

}


#prefect {
  width: 100%;
  height: 700px;
}

figcaption{
    position: relative;
    text-align: center;
    font-size: 25px;
    bottom: 60px;
    left: 20px;
    height: 60px;
    width: 300px;
    background-color: white;
    color: black;
  font-family: "Dancing Script", serif;
    font-weight:bolder;
    text-shadow:6px 6px 0px rgba(0, 0, 0.02, 0.06);
    margin-left: auto;
    border-left:10px solid transparent;
    border-top:10px solid transparent;
    border-right:10px solid darkred;
    border-bottom:10px solid darkred;
}
@media (max-width:400px){
  figcaption{
    bottom: 40px;
    height: 60px;
  }
}

a{
    text-decoration: none;
}
.container1 a{
    text-decoration: none;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.container{
	max-width: 1170px;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
.footer{
	background-color: #24262b;
    padding: 70px 0;
    padding-left: 50px ;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 20px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}
iframe{
  height: 200px;
  width: 200px;
}