@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body
{
    font-family: 'Roboto', sans-serif;

    margin: 0;
    background-image: url(/image/bg/bg-1.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/*# NAVBAR */

.navbar
{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 40px;
}

.nav-left,
.nav-right
{
    display: flex;
    gap: 30px;
    width: 110%;
}

.nav-left
{
    justify-content: flex-end;
}

.nav-right
{
    justify-content: flex-start;
}

.logo
{
    width: 20%;
    display: flex;
    justify-content: center;
}

.navbar a
{
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;

    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgb(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    padding: 5px;

    font-weight: 900;
    font-size: 20px;
    text-decoration: none;


    transition: 0.3s;
}

.navbar a:hover
{
    scale: 1.1;
}

.logo a
{
    height: 50px;
    transition: 0.3s;
    color: white;
    text-decoration: none;
    font-size: 40px;
    border-radius: 15px;
}

.logo a:hover
{
    scale: 1.2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


/*# СЕКЦИИ */

.hero
{
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: -80px;
}

.hero-text
{   
    width: 800px;

}

.hero-text h1
{
    font-size: 100px;
    margin: 0;
    margin-bottom: -35px;
}

.hero-text h2
{
    font-size: 50px;
    margin: 10px 0;
    opacity: 0.8;
    margin-bottom: -35px;
}

.hero-text p
{
    font-size: 25px;
    opacity: 0.7;
}

.hero-image img
{
    width: 300px;

    height: auto;
    border-radius: 12px;
    animation: float 3.5s ease-in-out infinite;
    transform-origin: center;
    z-index: 2;
}

.hero-image
{
    position: relative;
}

.hero-image:hover
{
    .glass-panel
    {
        scale: 1.1;
        rotate: 10deg;
    }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.panel-1 
{
  top: 0px;
  left: -100px;
}

.panel-2 
{
  top: 120px;
  right: -115px;
}

.panel-3 
{
  bottom: 150px;
  left: 20px;
}



.glass-panel {
  position: absolute;
  padding: 12px 18px;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 14px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);

  transition: 0.3s;
}

