@media (max-width: 768px) {
    nav {
        display: block;
       
    }

    .logo {
        width: 50px;
    }

    .top {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .top a {
        display: block;
        width: 100%;
    }
}


img {
   max-width: 100%;
    height: auto;
}


nav {
  display: flex;
  margin: auto;
    background-color: black;
    align-items: center;
   width: 100%;
   
   max-width: 100%;
   justify-content: space-between;

   
   
}
.foticons {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  color: white;
}
.top a {
    margin-right: 20px;
    color: white;
}

.top {
 margin-right:550px;
 color:white;
 



    
}
.video-box {
  position: relative;
  display: inline-block;
  width: 100%;
}

#video1 {
  display: block;
  width: 100%;
  max-width: 100%;   /* change as needed */
  height: auto;
}
.icons{
  text-align: center;
}
.ontopvid {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 80%;
  z-index: 2;
}
.cpanel {
  display: flex;
  flex-direction: row;
  padding: 90px;
  
}
.ontopvid p {
  color: white;              /* better over video */
  padding: 10px;
}


#video1 {
  border-radius: 50px;
    width: 100%;
    height: 400px;
    object-fit: cover; /* or contain */
    
}


/* Styles <a> tags on hover inside <nav> */
/* nav a:hover {
    color: red;
    background-color: #f0f0f0;
} */
.container {
  padding: 20px;
}



body {
  margin: 0;
  padding: 0;
  height: 100%;
    display: flex;
    flex-direction: column;
  
}

footer {
 
 height: 100px;
  background-color: black;
     position: relative; /* Positions the footer relative to the browser window (viewport). */
    bottom: 0;      /* Aligns the footer to the bottom of the viewport. */
    left: 0;        /* Ensures the footer starts from the left edge. */
    width: 100%;    /* Stretches the footer across the full width of the screen. */
    text-align: center; /* Centers content within the footer. */
    padding: 10px 3; /* Some padding for appearance */
    box-sizing: border-box; /* Ensures padding and border are included in the width calculation. */
}
  html {
    height: 100%;
    margin: 0;
    padding: 0;
  }
main {
  flex: 1;
}
   
