* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a;
    color: white;
    overflow-x: hidden;

}

::-webkit-scrollbar {
    display: none;
}

.hero-content a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    transition-duration: 0.3s;
    background-color: #818cf8;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 5px 5px 15px black;
    margin-right: 50px;
}

.hero-content a:hover{
    transform: scale(1.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #1e293b;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span { color: #38bdf8; }

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s;
}

.navbar ul li a:hover { color: #38bdf8; }

#click, .menu-btn { display: none; }

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.623);
}

.hero-content h1 {
    font-size: 4rem;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #38bdf8, #818cf8);
    border-radius: 20px;
    transform: perspective(1000px) rotateX(20deg) rotateY(-20deg);
    transition: 0.5s;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
}

.hero-shape:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1.1);
}

.skills { 
     padding: 80px 8%;
     text-align: center;
     margin-bottom: 0px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease; 
    border-bottom: 4px solid transparent;
    margin-bottom: 0px;
}

.card:hover {
    transform: translateY(-10px); 
    border-color: #38bdf8;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.4s;
}

.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1e293b;
    height: 100px;
    color:#38bdf8;
    text-shadow: 5px 5px 15px black;
}

.omeni{
    justify-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 75%;
    margin-bottom: 75px;
    margin-top: 0px;
}

.omeni h2{
    margin: 0px;
    margin-bottom: 35px;
}

.kontakt-container {
  justify-self: center;
text-align: center;
  width: 50%;
  padding: 30px;
  background-color:#1e293b;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 12px;
  margin-bottom: 135px;
  margin-top: 135px;
}

.kontakt-container h1 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
}

.kontakt-form label {
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #ffffff;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  resize: vertical;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  border-color:#38bdf8;
}

.kontakt-form button {
  margin-top: 20px;
  padding: 12px;
  font-size: 16px;
  background-color:#38bdf8;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.kontakt-form button:hover {
  background-color:#818cf8;
}


@media (max-width: 768px) {

    .hero-content a{
        margin-right: 0px;
    }

    .menu-btn { 
        display: block;
        cursor: pointer;
    }
    
    .navbar ul {
        position: absolute;
        top: 80px;
        left: -100%;
        background: #1e293b;
        width: 100%;
        height: 100vh;
        display: block;
        text-align: center;
        transition: 0.5s;
    }

    #click:checked ~ ul {
        left: 0; 
    }

    .navbar ul li { 
        margin: 40px 0;
    }

    .hero { 
        flex-direction: column; 
        text-align: center; 
        justify-content: center; 
    }
    
    .hero-content h1 { 
        font-size: 2.5rem;
    }

    .hero-shape { 
        margin-top: 50px; 
        width: 200px; 
        height: 200px; 
    }
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #1e293b;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        justify-content: center;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 25px 0;
    }
}
