body, h1, h2, p, ul, li {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #f8f8f8;
  color: #333;
  padding: 15px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 120px;
  height: auto;
  margin-right: 10px;
}

nav {
  background-color: #333;
  border-radius: 20px;
  padding: 10px;
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.navbar-menu {
  list-style-type: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: auto;
  padding: 0;
  flex-wrap: wrap;
}

.navbar-menu li {
  text-align: center;
  margin-left: 6px;
  margin-right: 4px;
  margin-bottom: 0px;
}

.navbar-menu li a {
  text-decoration: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  background-color: #555;
  transition: background-color 0.3s ease;
}

.navbar-menu li a:hover {
  background-color: #777;
}

.dropdown-menu {
  position: relative;
}

.dropdown-btn {
  display: none;
}

.dropdown-menu-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  padding: 10px;
  display: none;
  z-index: 1;
}

.dropdown-menu-content li {
  text-align: center;
  margin-bottom: 10px;
}

.dropdown-menu-content li a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  background-color: #555;
  transition: background-color 0.3s ease;
}

.dropdown-menu-content li a:hover {
  background-color: #777;
}

.dropdown-menu.active .dropdown-menu-content {
  display: block;
}

.social-links {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  background-color: #f8f8f8;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.social-link i {
  font-size: 16px;
}

.social-link:hover {
  background-color: #777;
  color: #fff;
}

main {
  flex-grow: 1;
  padding: 20px;
  background-color: #f8f8f8;
}

section {
  margin-bottom: 20px;
}

.bottom-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  flex-wrap: wrap;
}

.contact-section,
.socialmedia-section,
.links-section {
  flex-basis: 33.33%;
  text-align: center;
  margin-bottom: 20px;
}

.contact-section h2,
.socialmedia-section h2,
.links-section h2 {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  position: sticky;
  bottom: 0;
}

@media screen and (min-height: 100vh) {
  footer {
    position: static;
  }
}

@media screen and (max-width: 643px) {
  .dropdown-btn {
    display: block;
    margin-left: 5px;
  }

  .navbar-menu li {
    display: none;
  }

  .bottom-section {
    justify-content: center;
    align-items: center;
  }

  .contact-section,
  .socialmedia-section,
  .links-section {
    flex-basis: 100%;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

.ads-container {
    display: flex;
    justify-content: center;
  }
  
  .ad {
    position: relative;
    width: 120px;
    height: 120px;
    margin-right: 23px;
    background-color: #ffffff00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .ad:hover {
    transform: rotate(360deg);
  }
  
  .ad-icon {
    position: absolute;
    font-size: 48px;
    color: #333;
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  
  .ad:hover .ad-icon {
    opacity: 0;
  }
  
  .ad-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .ad:hover .ad-text {
    opacity: 1;
  }  

  @media screen and (max-width: 1024px) {
    .ad {
      width: 100px;
      height: 100px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .ad {
      width: 80px;
      height: 80px;
    }
  }