/*!
Theme Name: Buzlea Raul
Theme URI: https://www.wifi.at/
Description: Portfolio
Tags: Portfolio, Gutenberg
Version: 1.0.0
Tested up to: 6.4
Requires at least: 6.0
Requires PHP: 8.0
*/

* {
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Menu */

nav {
    z-index: 9999;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    background-color: var(--secondary-color);
    padding: 0 40px 0 40px;
    width: 100%;
    top: 0;
    box-shadow: rgba(0, 0, 0, 0.52) 1px 1px 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-left: 100px;
    padding: 10px;

    li {
        list-style: none;
    }

    a {
        color: white;
        text-decoration: none;
        letter-spacing: 3px;
        font-weight: bold;
        font-size: 18px;


        &:hover {
            color: rgba(138, 177, 204, 0.89);
        }
    }
}

.sub-menu {
    overflow: hidden;
    padding: 0;
    background: var(--secondary-color);
    position: absolute;
    display: none;
    border-radius: 0 0 10px 10px;

    li {
        display: block;
        width: 100%;
        font-size: 13px;
        padding: 30px 15px 15px;
    }

    a {
        font-size: 16px;
    }
}

li:hover ul.sub-menu {
    display: block;
}

/* Hamburger Menu */

.burger {
    div {
        width: 27px;
        height: 4px;
        background-color: white;
        margin: 5px;
        transition: all 0.3s ease;
        border-radius: 10px;
    }
}

/* Burger Menu Functions */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 8px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -8px);
}

/* Social Media Icons */

.social-icons {
    position: fixed;
    display: grid;
    grid-template-columns: 3fr;
    top: 50%;
    right: 7px;
    gap: 15px;
    z-index: 1000;

    a {
        font-size: 20px;
        text-decoration: none;
    }
}

.icon-linkedin,
.icon-facebook,
.icon-github {
    color: var(--black-color);
    background-color: rgba(100, 155, 186, 0.31);
    border-radius: 20%;
    padding: 4px;
    box-shadow: #505050 1px 1px 7px;

    &:hover {
        background-color: var(--primary-color);
        transition: 400ms;
    }
}

/* Arrow to top */

#to-top {
    position: fixed;
    width: 34px;
    height: 33px;
    right: 23px;
    bottom: 10px;
    z-index: 10;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-right: 0;
    box-shadow: 2px 1px 10px 3px rgba(255, 255, 255, 0.56);
    margin-bottom: 30px;
}

/* pagination */

.pagination {
    text-align: center;
    font-size: 20px;
    padding-bottom: 30px;

    a {
        text-decoration: none;
        color: var(--primary-color);
        padding: 20px;
    }
}

/* FOOTER */

.footer {
    background: var(--black-color);
    color: var(--white-color);
    text-align: center;
    padding: 10px 0;
    width: 100%;

    .copyright {
        padding: 10px;
    }

    .footer-1 {
        #footer-menu {
            position: relative;
            display: grid;
            grid-template-columns: .1fr .7fr;
            padding: 10px 40px;
            gap: 15px;
        }

        li {
            list-style: none;
            text-align: left;

        }

        a {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 17px;

            &:hover {
                color: var(--white-color);
            }
        }

    }

}

/* All titles H1 with shadow */

.is-style-title {
    text-shadow: rgba(255, 255, 255, 0.6) 2px 1px 15px;
}

.is-style-title-black {
    text-shadow: rgba(0, 0, 0, 0.6) 2px 1px 15px;
}


/* HOME */

.container {
    padding: 0 30px 0 30px;
    background: var(--white-color);

    .alignwide {
        margin-left: calc(25% - 50vw);
        margin-right: calc(25% - 50vw);
    }

    .alignfull {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        max-width: 100vw;
        width: 100vw;
    }


    .has-inline-color {
        text-shadow: .05rem .05rem var(--secondary-color);
        color: var(--primary-color);
    }

    /* Buttons */

    .wp-block-button {
        padding: 20px 20px;


        .wp-block-button__link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.7rem 2rem;
            font-weight: 700;
            font-size: 18px;
            text-align: center;
            text-decoration: none;
            background-color: var(--white-color);
            color: var(--black-color);
            backface-visibility: hidden;
            border: 0.3rem solid var(--secondary-color);
            border-radius: 1rem;
            box-shadow: .15em .15em var(--fourth-color);
            transition: 400ms;

            .bn1 {
                border-color: transparent;
                transition: background-color 0.3s ease-in-out;
            }

            &:hover {
                background-color: rgb(23, 112, 174);
                color: var(--white-color);
            }
        }
    }


    .is-style-line::after {
        content: " --";
        color: var(--secondary-color);
    }


    /* Parallax */

    .is-style-parallax {
        box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.61);

    }

    .is-style-services {
        padding: 20px 20px 20px;
        border-style: none;
        border-radius: 30px;
        margin-top: 40px;
        box-shadow: 0.1em 0.1em 0.2em 0.3em rgba(13, 72, 113, 0.73);
        transition: 500ms;

        &:hover {
            background-color: var(--primary-color);
            color: var(--white-color);
        }

        h2 {
            text-align: center;
            font-size: 23px;
            color: var(--secondary-color);
            margin-top: 0;

            &:hover {
                color: var(--white-color);
            }
        }

        a {
            text-decoration: none;
            float: right;
            color: var(--secondary-color);
        }
    }

    .is-style-icon {
        font-size: 30px;
    }
}

/* WEB DEVELOPER */

.is-style-container {
    padding-bottom: 80px;
}

.is-style-image {
    align-items: center;
}

.is-style-paragraph-dev {
    text-align: center;
    background-color: rgba(0, 95, 156, 0.39);
    border-radius: 25px;
    padding: 20px;
}

.is-style-paragraph-dev1 {
    text-align: center;
    background-color: rgba(61, 131, 175, 0.39);
    border-radius: 10px;
    padding: 20px;
}


/* PROJECTS */

.projects {
    padding: 150px 30px;
    text-align: center;
    .project-title {
        padding-bottom: 30px;
        a {
            text-decoration: none;
            color: var(--secondary-color);
        }


    }
}

/* BLOG */

.post {
    margin-top: 150px;
    margin-bottom: 100px;
    padding: 20px 10px 20px 10px;
    border-radius: 20px;
    width: 100%;
    background-color: var(--fourth-color);


    .post-title {
        text-align: center;
        letter-spacing: .7rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.61);

        &:hover {
            text-decoration: underline var(--white-color);
            transition: 200ms;
        }

        a {
            text-decoration: none;
            color: var(--black-color);
        }
    }

    .meta {
        text-align: center;

        a {
            text-decoration: none;
            color: var(--secondary-color);
        }
    }
}

/* single post */

.other-posts {
    padding: 20px;
    text-align: center;

    .post {
        background-color: var(--fourth-color);
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
        align-items: center;
        border-radius: 20px;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 20px;

        a {
            text-decoration: none;
            color: var(--black-color);
        }

        .single-post-title h3 {
            color: var(--secondary-color);
        }
    }
}

.is-style-headline {
    padding-top: 100px;
}

/* new-york page (Blog)*/

.is-style-image-container-travel {
    position: relative;
    width: 50%;
}

.is-style-title-travel {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.61);
}

.is-style-image-travel {
    display: block;
    width: 100%;
    height: auto;
}

.is-style-text-travel {
    position: absolute;
    bottom: 0;
    background: rgba(83, 151, 196, 0.73);
    height: 20%;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: var(--white-color);
    font-size: 25px;
    align-content: center;
    text-align: center;
}

.is-style-travel-days:hover .is-style-text-travel {
    opacity: 1;
}

.is-style-category-travel {

    a {
        text-decoration: none;
        color: var(--secondary-color);
    }

    p {
        color: var(--secondary-color);
    }
}

/* keep-going page (Blog)*/

.is-style-paragraph-story {
    border-radius: 20px;
    padding: 20px;
}

/* About */

.is-style-profile-gray-img {
    padding: 0;

    &:hover .is-style-profile-contact-img {
        opacity: 1;
    }
}

.is-style-profile-contact-img {
    margin: 0;
    opacity: 0;
    transition: 100ms ease-in-out;

}

/* Contact */

.is-style-contact_me {

    .is-style-get_in_touch {
        height: 100%;
        position: relative;
        background-color: var(--primary-color);
        border-radius: 20px;
        box-shadow: 1px 1px 25px var(--secondary-color);

        .map {
            box-shadow: 1px 1px 10px var(--secondary-color);
            width: 100%;
            height: 40%;
            border-radius: 20px;
        }
    }

    #wpforms-398 {
        height: 100%;
        background-color: var(--fourth-color);
        padding: 120px 50px 50px 50px;
        border-radius: 20px;
        box-shadow: 1px 1px 15px var(--secondary-color);

        .wpforms-title {
            text-align: center;
        }

        .wpforms-submit {
            box-shadow: 1px 1px 15px var(--primary-color);
            padding: 0 50px;
        }
    }

    .is-style-contact-img {
        box-shadow: 1px 1px 15px var(--secondary-color);
        border-radius: 20px;
    }
}

/* current posts (Home) */

.post-loop {
    padding: 30px;
    box-shadow: 2px 2px 15px var(--white-color);
    border-radius: 30px;
}

.status-publish {
    margin: 0;

}

.is-style-line1::after {
    content: " --";
    color: var(--white-color);
}


/* imprint */