@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400&family=Rubik:wght@300;400;500;600;700;800&display=swap');


* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: 'Rubik', 'Poppins', sans-serif;
}


.header {
    background: url(../assets/background.webp);
    background-size: cover;
    background-color: #333;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
    padding: 10% 6%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    color: #fff;

}

#name {
    font-weight: bold;
}


.header .title {
    font-size: 66px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.header .title .typewrite {
    display: block;
    font-size: 66px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 8px;
    width: 0;
    overflow: hidden;
    animation: typing 5s infinite alternate;
}

@keyframes typing {
    0% {
        width: 0;
    }

    90% {
        width: 80vw;
    }

    100% {
        width: 0;
    }
}

.header .subtitle {
    font-size: 20px;
    font-weight: 300;
    color: #e3d000;
    text-transform: uppercase;
    letter-spacing: 3px;
}


.social {
    display: flex;
    gap: 1rem;
    padding: 2rem 0rem;
}

.social .social-link {
    width: 50px;
    height: 50px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: #777;
    background-color: #f1f1f1;
    cursor: pointer;
    transition: all 1s;
}

.social .social-link:hover {
    color: #000;
    background-color: #e3d000;
    border-radius: 50%;
}


section {
    width: 100%;
    max-width: 1600px;
    min-height: 100vh;
}

section .heading .title {
    font-size: 24px;
    font-weight: 400;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 5px;
}

section .heading .subtitle {
    position: relative;
    font-size: 36px;
    font-weight: 500;
    color: #e3d000;
    text-transform: uppercase;
    letter-spacing: -1px;
    padding-left: 1rem;
}

section .heading .subtitle::after {
    position: absolute;
    content: '';
    top: 0;
    left: 1rem;
    width: 33%;
    height: 3px;
    background-color: #333;
}

section .container {
    padding: 2rem 6%;
}


.about .items {
    padding: 2rem 0rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about .items .item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.about .items .item .content p {
    font-size: 16px;
    line-height: 25px;
    padding: 1rem 0rem;
}

.about .items .item .content img {
    height: 70px;
    width: fit-content;
    object-fit: contain;
    max-width: 280px;
    margin: 2rem 0.5rem;
}

.about .items .item .image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.about .items .item .image.image::after {
    content: '';
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 100%;
    height: 450px;
    background-color: #777;
    z-index: 0;
    width: calc(100% - 1rem);


}

.about .items .item .image img {
    position: relative;
    width: calc(100% - 2rem);
    margin: 1rem;
    height: fit-content;
    object-fit: cover;
    z-index: 1;
}


.services {
    background-color: #000;
}

.services .subtitle {
    color: #fff !important;
}

.services .items {
    padding: 4rem 0rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 4rem;
}

.services .items .item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    height: 200px;
    cursor: pointer;
}

.services .items .item img {
    width: fit-content;
    height: 60px;
    object-fit: cover;
}

.services .items .item::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    width: 70%;
    height: 1px;
    background-color: #555;
    transform: translateX(-50%);
    transition: all 1s;
}

.services .items .item:hover::after {
    width: 100%;

}

.services .items .item h3 {
    font-size: 24px;
    font-weight: 300;
    line-height: 23px;
    padding: 0rem 0rem;
    color: #fff;
    text-align: center;
    width: fit-content;
    padding-top: 1.6rem;
}

.services .items .item p {
    font-size: 14px;
    line-height: 23px;
    padding: 1rem 0rem;
    color: #f1f1f1;
    text-align: center;

}




.work .items .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-out;
    cursor: pointer;
}

.work .items .item img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.contact {
    background-color: #000;
}

.contact .items {
    padding: 2rem 0rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}


.contact .items .item .image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: visible;
}

.contact .items .item .image::after {
    content: '';
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 100%;
    height: 450px;
    background-color: #777;
    z-index: 0;
    width: calc(100% - 1rem);


}

.contact .items .item .image img {
    position: relative;
    width: calc(100% - 2rem);
    margin: 1rem;
    height: fit-content;
    object-fit: cover;
    z-index: 1;
}

.contact .form {
    width: 100%;
    border-left: 2px solid #eee;
    padding: 2rem;
}

.contact .form form {
    border-left: 2px solid #eee;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact .form form .input {
    padding: 0.6rem 0.25rem;
    font-size: 16px;
    color: #fff;
    background-color: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid #777;
    text-transform: capitalize;

}

.contact .form form .area {
    padding: 0.6rem 0.25rem;
    font-size: 16px;
    color: #fff;
    background-color: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid #777;
    text-transform: capitalize;

}

.contact .form form .btn-contact {
    padding: 0.6rem 0.25rem;
    font-size: 16px;
    background-color: #EEE;
    color: #111;
    border: none;
    outline: none;
    text-transform: capitalize;
    cursor: pointer;

}

.contact .form form .btn-contact:hover {
    background-color: rgb(255, 255, 255);
    color: #000;
}

.contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    list-style: none;
    padding: 2rem 0rem;
    justify-content: center;
    width: 100%;
}

.contacts li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    font-weight: 300;
    color: #eee;
    cursor: pointer;
}

.contacts li i {
    font-size: 22px;
}

.contacts li:hover {
    color: #fff;
    font-weight: 500;
}

footer {
    background-color: #eee;
    border-top: 4px solid #fff;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 9%;
}

footer .rights {
    font-size: 14px;
    color: #111;
}

footer .social {
    font-size: 14px;
    color: #111;
}

footer .social .s-link {
    width: 30px;
    height: 30px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #111;
}

footer .social .s-link:hover {
    color: #fff;
    background-color: #111;
    border-radius: 50%;
}

@media (max-width:750px) {
    .header .title .typewrite {
        font-size: 28px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .image {
        position: relative;
        min-height: 1px;
        background-size: cover;
    }
}

/*own nav bar*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: right;
    background: #333;
    padding: 15px 20px;
    color: white;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}

/*own gallery*/

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 8px;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 8px;
}

.column img {
    margin-top: 16px;
    vertical-align: middle;
    width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {

    .topnav a:not(:first-child),
    .dropbtn {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .topnav.responsive .dropdown {
        float: none;
    }

    .topnav.responsive .dropdown-content {
        position: relative;
    }

    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }

    .column {
        flex: 100%;
        max-width: 100%;
    }
}

.topnav {
    overflow: hidden;
    background-color: #333;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.active {
    color: #e3d000;
    color: white;
}

.topnav .icon {
    display: none;
}

.internal-link {
    color: black;
    text-decoration: underline;
}