@import url(https://fonts.bunny.net/css?family=poppins:300,400,500,600,700,800,900);
@import url(https://fonts.bunny.net/css?family=source-code-pro:200,300,400,500,600,700,800,900);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #1f242d;
}


a {
    color: #fff;
    text-decoration: none;
}

.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.navbar .logo {
    font-size: 30px;
    font-weight: 700;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    list-style: none;
    margin-left: 35px;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
}

.navbar ul li:hover a, 
.navbar ul li.active a  {
    color: #5ca5ee
}

.home {
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 60px 9% 0;
    color: white
}

.home-info h1 {
    font-family: 'Source Code Pro', monospace;;
    font-size: 55px;
}

.home-info h2 {
    font-size: 32px;
    margin-top: -10px;
    color: #5ca5ee;
}

.home-info p {
    font-size: 16px;
    margin: 10px 0 25px;
    text-align: justify;
    padding-right: 30px;
}

.home-info .btn-soc {
    display: flex;
    align-items: center;
}

/* https://uiverse.io/mrhyddenn/stale-cheetah-42 */
.btn {
  position: relative;
  padding: 10px 20px;
  border-radius: 7px;
  border: 1px solid #5ca5ee;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  background: transparent;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.btn:hover {
  background: #5ca5ee;
  box-shadow: 0 0 30px 5px rgba(92, 165, 238, 0.815);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.btn:hover::before {
  -webkit-animation: sh02 0.5s 0s linear;
  -moz-animation: sh02 0.5s 0s linear;
  animation: sh02 0.5s 0s linear;
}

.btn::before {
  content: '';
  display: block;
  width: 0px;
  height: 86%;
  position: absolute;
  top: 7%;
  left: 0%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 50px 30px #fff;
  -webkit-transform: skewX(-20deg);
  -moz-transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
  -o-transform: skewX(-20deg);
  transform: skewX(-20deg);
}

@keyframes sh02 {
  from {
    opacity: 0;
    left: 0%;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
    left: 100%;
  }
}

.btn:active {
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: box-shadow 0.2s ease-in;
  -moz-transition: box-shadow 0.2s ease-in;
  transition: box-shadow 0.2s ease-in;
}

.home-info .btn-soc .soc {
    margin-left: 20px;

}

.home-info .btn-soc .soc a {
    display: inline-flex;
    padding: 8px;
    border: 2px solid #5ca5ee;
    border-radius: 50%;
    font-size: 20px;
    color: #5ca5ee;
    margin: 0 8px;
    transition: .5s;
}

.home-info .btn-soc .soc a:hover {
    background: #5ca5ee;
    color: #1f242d;
    box-shadow: 0 0 10px #5ca5ee;
}

.home-img .img-box {
    position: relative;
    width: 32vw;
    height: 32vw;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

}

.home-img .img-box::before,
.home-img .img-box::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: conic-gradient(transparent, transparent, transparent, #5ca5ee);
}

.home-img .img-box .img-item {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1f242d;
    border: 1px solid #1f242d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;

}

.home-img .img-box .img-item img {
    position: absolute;
    display: block;
    width: 85%;
    object-fit: cover;
    mix-blend-mode: lighten;

}



.home-info h1 {
    font-family: 'Source Code Pro', monospace;
    font-size: 42px; 
}


.heading {
    font-family: 'Source Code Pro', monospace;
    font-size: 32px; 
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;
    letter-spacing: 1px;
}

.heading span {
    color: #5ca5ee;
}

/* Globális Reszponzivitás */
@media (max-width: 991px) {
    .navbar {
        padding: 20px 5%;
    }
    .home, .about, .portfolio, .contact {
        padding: 100px 5% 50px;
    }
}

@media (max-width: 768px) {
    /* Menü egyszerűsítése mobilra */
    .navbar ul li {
        margin-left: 20px;
    }
    .navbar ul li a {
        font-size: 16px;
    }
    .navbar .logo {
        font-size: 24px;
    }
}

@media (max-width: 850px) {
    .home {
        flex-direction: column-reverse; /* A kép kerüljön felülre mobil híváskor */
        justify-content: center;
        text-align: center;
        height: auto;
        padding-top: 120px;
    }

    .home-info h1 {
        font-size: 35px;
    }

    .home-info .btn-soc {
        flex-direction: column;
        gap: 20px;
    }

    .home-info .btn-soc .soc {
        margin-left: 0;
    }

    .home-img .img-box {
        width: 250px; /* Fix méret mobilra a vw helyett */
        height: 250px;
        margin-bottom: 30px;
    }
}