* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, sans-serif;
}

.main {
    background-color: #1b1a17;
    background-position: center;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    position: relative;
}

.navbar {
    width: 90%;
    height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 10px 0;
}

.navbar .logo {
    width: 60px;
    cursor: pointer;
}

.navbar .menu {
    display: flex;
    justify-content: flex-end;
    width: 60%; 
}

.navbar .menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 10px;
}

.navbar .menu ul li {
    padding: 10px 15px;
}

.navbar a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: #e6d5b8;
    transition: 0.4s ease;
}

.navbar .menu .active a {
    color: #f0a500;
}

.navbar a:hover {
    color: #f0a500;
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar .menu {
        width: 100%;
        justify-content: center;
    }

    .navbar .menu ul {
        flex-direction: column;
        text-align: center;
    }

    .navbar .menu ul li {
        padding: 10px;
    }
}

.welcome-text {
    max-width: 50%;
    margin-left: 5%;
    margin-top: 6%;
}

.welcome-text p {
    font-size: 4rem;
    line-height: 1.1;
    color: #e6d5b8;
}

.welcome-text span {
    color: #f0a500;
}

.name {
    margin-top: 20px;
    margin-left: 5%;
    padding: 10px 15px;
    border: 1px solid #e6d5b8;
    border-radius: 25px;
    display: inline-block;
    color: #e6d5b8;
}

.icons {
    margin-top: 20px;
    margin-left: 5.5%;
    size: 20px;
}

.socials {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.socials li a {
    color: #e6d5b8;
    font-size: 1.5rem;
    transition: 0.3s;
}

.socials li a:hover {
    color: #f0a500;
}

.portfolioPhoto {
    width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f0a500;
}

.image {
    position: absolute;
    right: 200px;
    bottom: 5%;
}

@media (max-width: 1024px) {
    .main {
        flex-direction: column;
        text-align: center;
    }
    
    .portfolioPhoto {
        width: 280px;
        height: 350px;
        margin-top: 20px;
    }
}

.who {
    margin-left: 5%;
    margin-top: 6%;
}

.who .theodorh {
    font-size: 4rem;
    line-height: 1.1;
    color: #e6d5b8;
}

.description-container {
    position: relative;
    background-color: #333;
    padding: 20px;
    border-radius: 20px;
    max-width: 90%;
    margin-top: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    overflow: auto;
}


.who .description {
    text-align: justify;
    font-size: 2rem;
    line-height: 1.5;
    color: #e6d5b8;
}

.work-section {
    text-align: left;
    padding: 50px 10%;
}

.work-section .title {
    font-size: 4rem;
    line-height: 1.1;
    color: #e6d5b8;
    margin-left: 5%;
}

.work-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.work-card {
    background: #222;
    color: #e6d5b8;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.work-card:hover {
    transform: scale(1.05);
}

.work-card img {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

.work-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #e6d5b8;
    color: #f0a500;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.work-card a:hover {
    background: #e6d5b8;
}

.services-section {
    text-align: left;  
    padding: 50px 10%;
}

.services-section h6 {
    font-size: 4rem;
    color: #f0a500;
    margin-bottom: 20px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
}

.service-card {
    background: #222;
    color: #e6d5b8;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-card ion-icon {
    font-size: 50px;
    color: #e6d5b8;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background: #222;
    color: #e6d5b8;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-section h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 10px;
    font-size: 1.2rem;
    background: #f0a500;
    color: #222;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #e6d5b8;
}
