body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    height: 100vh;
    background-color: #122e43;
}

h1 {
    font-size: 2em;
    margin: 0;
}

ul {
    display: flex;
    list-style: none;
}

header {
    background-color: #081b29;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul li {
    display: inline-block;
    padding-right: 15px;
}

nav a {
    color: rgba(255,255,255,.5);
    text-decoration: none; 
    transition: color 0.3s ease;
}

  

nav a:hover,
.active {
    color: #fff;
}

  
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.4s;
}

@media screen and (max-width: 1024px) {
    nav {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      background-color: #333;
      text-align: right;
      z-index: 2;
    }

    nav a {
      margin: 0;
      padding: 15px 0;
      display: block;
    }

    nav ul{
      width: 100%;
      margin: 0;
      padding-inline-start: 0;
      display: block;
    }

    nav ul li{
      display: block;
      
    }

    .hamburger-menu {
      display: flex;
      z-index: 2;
    }
}

@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
footer {
    background-color:#081b29 ; 
    justify-content: center; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin-top: auto;
}

footer p {
    margin: 0;
    margin-bottom: 10px;
    color: white;
}

footer ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    padding: 0;
}
  
.item a {
    text-decoration: none;
    width: 3rem;
    height: 3rem;
    background-color: #f0f9fe;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    border: 3px solid #f0f9fe;
    overflow: hidden;
}
  
.item a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 0;
    scale: 1 0;
    transform-origin: bottom;
    transition: scale 0.5s ease;
}
  
.item:hover a::before {
    scale: 1 1;
}
  
.icon {
    font-size: 2rem;
    color: hsl(203, 92%, 8%);
    transition: 0.5s ease;
    z-index: 2;
}
  
.item a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
}
  
.item:nth-child(1) {
    --bg-color: linear-gradient(to bottom right, #f9ce34, #ee2a7b, #6228d7);
}
.item:nth-child(2) {
    --bg-color: #0077b5;
}
.item:nth-child(3) {
    --bg-color: #000;
}
.item:nth-child(4) {
    --bg-color: #1877f2;
}

@media screen and (min-width:650px){
    nav ul li a{
        padding-right: 15px;
    }
    .hamburger-menu{
        padding-right: 15px;
    }
    h1{
        padding-left: 15px;
    }
}

@media screen and (min-width: 1024px){

    .link {
        text-decoration: none;
        color: rgba(255,255,255,.5);
        padding: 1rem 1rem;
        position: relative;
    }
      
    .link::before,
    .link::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background: #fff;
        transform: scaleX(0);
        transition: all 0.6s ease;
    }
      
    .link::before {
        top: 0;
        left: 0;
        transform-origin: left;
    }
    
    .link::after {
        bottom: 0;
        left: 0;
        transform-origin: right;
    }
      
    .link:hover::before,
    .link:hover::after,
    .link.active::before,
    .link.active::after {
        transform: scaleX(1);
    }

}

@media screen and (min-width: 1440px){
    header h1{
        padding-left: 200px;
    }
    nav{
        padding-right: 200px;
    }

    nav a:hover,
    .active {
        color: #fff;
    }      
}