/*
Theme Name: Golem Systems New Theme
Theme URI: 
Description: Theme designed for Golem Systems 
Version: 1.1
Author: @lubiku35
Author URI: https://github.com/lubiku35
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* OTHER STYLESHEETS */

@import url('https://www.golemsystems.sk/wp-content/themes/GOLEM/styles/landing.css');
@import url('https://www.golemsystems.sk/wp-content/themes/GOLEM/styles/about-us.css');
@import url('https://www.golemsystems.sk/wp-content/themes/GOLEM/styles/projects.css');
@import url('https://www.golemsystems.sk/wp-content/themes/GOLEM/styles/services.css');
@import url('https://www.golemsystems.sk/wp-content/themes/GOLEM/styles/offer.css');
@import url('https://www.golemsystems.sk/wp-content/themes/GOLEM/styles/contact.css');
@import url('https://www.golemsystems.sk/wp-content/themes/GOLEM/styles/web-footer.css');



/* GLOBAL STYLING */

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

html {
    scroll-behavior: smooth;
}


input, textarea {
    outline: none;
    border: none;
    font-family: 'Poppins', monospace;
}

button {
    outline: none;
    border: none;
    font-family: 'Poppins', monospace;
}

textarea {
    max-width: 100%;
    min-height: 10vh;
    min-width: 70%;
}

a {
    text-decoration: none;
    color: white;
}

ul,ol,li {
    list-style-type: none;
    text-transform: uppercase;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    background-color: black;
    background: radial-gradient(circle, rgba(0,0,0,1) 86%, rgb(22, 22, 22) 100%, rgb(26, 26, 26) 100%);
    background-size: cover;
    background-attachment: fixed;
    
    color: white;
    
    font-family: 'Poppins', monospace;
}


/* GLOBAL CLASSES */

.yellow-rounded {
    padding: 7px 17px;
    border-radius: 25px;
    border: 1px solid #fbc127ff;
    transition: all 0.4s ease-in-out;
}

.yellow-rounded:hover, .yellow-rounded:focus {
    border: 1px solid #FFFFFF;
    background-color: #fbc127ff;
    color: #FFFFFF;
} 

.container {
    width: 100%;
    height: 100vh;
}

.half-container {
    width: 100%;
    height: 50vh;
}

.content-wrapper {
    margin: 0 auto;
    max-width: 1440px;
}

.button-wrapper {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.form-input-element {
    margin-bottom: 35px;
    padding: 5px 10px;

    display: block;
    
    width: 400px;
    max-width: 500px;

    border-radius: 50px;
    border: 1px solid black;
    background-color: #fbc127ff;

    font-size: 1.2em;
}

.label-heading {
    font-size: 1.3em;
    font-weight: 700;
    margin: 10px 0;
}


.form-box {
    margin: 10px 0;
}

.hidden {
    display: none;
    transition: all 0.4s ease-in-out;
}

/* ANIMATIONS */

.fade-in-element {
    opacity: 0;
    transition: opacity 0.7s ease;
}


.fade-in-element.fade-in {
    opacity: 1;
}

.slide-in-top {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-top.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-right {
	-webkit-animation: slide-right 1.2s ease-out both;
	        animation: slide-right 1.2s ease-out both;
}

.slide-top {
	-webkit-animation: slide-top 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-top 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.fade-in {
	-webkit-animation: fade-in 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.animate-fade-header {
    opacity: 0; /* Start with opacity 0 */
    transition: opacity 0.3s ease; /* Add a transition for the opacity property */
}

.animate-fade-header:not(#website-header) {
    opacity: 1;
}


@-webkit-keyframes slide-right {
    0% {
      -webkit-transform: translateX(-100px);
              transform: translateX(-100px);
    }
    100% {
      -webkit-transform: translateX(0px);
              transform: translateX(0px);
    }
}

@keyframes slide-right {
    0% {
        -webkit-transform: translateX(-100px);
                transform: translateX(-100px);
    }
    100% {
        -webkit-transform: translateX(0px);
                transform: translateX(0px);
    }
}

@-webkit-keyframes slide-top {
    0% {
      -webkit-transform: translateY(-100px);
              transform: translateY(-100px);
    }
    100% {
      -webkit-transform: translateY(0px);
              transform: translateY(0px);
    }
}

@keyframes slide-top {
    0% {
        -webkit-transform: translateY(-100px);
                transform: translateY(-100px);
    }
    100% {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
    }
}

@-webkit-keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}

@keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}

.contact-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #FFF;
    color: #000;
    padding: 15px 15px;
    cursor: pointer;
    border: 15px solid #fbc127ff;
    border-radius: 150px;
    transition: opacity 0.5s; 
    animation: infinite-scale 3s infinite;
}

@keyframes infinite-scale {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.05);
    }
    40% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    60% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.contact-button i {
    font-size: 1.7em;
}

.contact-popup {
    display: none;
    position: fixed;

    bottom: 140px;
    right: 18px;
    background-color: #00000096;
    border-radius: 20px;
    border: 1px solid #fbc127ff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s; 
}

.contact-content {
    width: 100%;
}

.contact-popup.show {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 300px;

    opacity: 1;
}

.contact-popup.show button {
    margin: 0;
    padding: 15px 0px 0px 15px;
}

.contact-popup.show button i {
    color: #fbc127ff;
    font-size: 1.5em;
}

.contact-popup.show p {
    padding: 12px 25px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    transition: all 0.2s ease-in-out;
}

.contact-popup.show #mail-popup {
    border-top-right-radius: 19px;
    border-top-left-radius: 19px;
}

.contact-popup.show #phone-popup {
    border-bottom-right-radius: 19px;
    border-bottom-left-radius: 19px;
}

.contact-popup.show p a  {
    width: 100%;
}

.contact-popup.show p:hover, .contact-popup.show p:focus {
    background-color: rgba(251, 194, 39, 0.857);
} 

.contact-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #FFF;
    color: #000;
    padding: 15px 15px;
    cursor: pointer;
    border: 15px solid #fbc127ff;
    border-radius: 150px;
    transition: all 0.5s; /* added transition property */
    animation: infinite-scale 3s infinite;
}

.contact-button:hover { /* added hover pseudo-class */
    background-color: #fbc127ff;
    border-color: #FFF;
}

.contact-button:focus { /* added focus pseudo-class */
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 193, 39, 0.4);
}

.contact-popup.show p i {
    margin-top: 3px;
    margin-right: 25px;
    font-size: 1.8em;
}

#close-button {
    background: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@media screen and (max-width: 768px) { 
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }
}
