html {
    scroll-behavior: smooth;
    scroll-padding: 10rem;
    font-family: 'Open Sans', sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    ;
}

body {}

hr {
    height: 3px;
    width: 60px;
    position: relative;
    background: #ddbf11;
    border: 0;
    margin-bottom: 30px;
}

header {
    position: sticky;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    top: 0;
    height: 100px;
    z-index: 1000;
    font-family: 'Open Sans', sans-serif;
    color: white;
}

header li {
    list-style: none;
    padding-right: 50px;
    color: white;
}

header a {
    text-decoration: none;
}

header img {
    width: 450px;
    height: auto;
    margin-right: 0px;
    margin-top: -5px;   
}

.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    word-break: break-all;
    white-space: nowrap;
    text-align: center;
}

.nav-menu {
    display: flex;
    justify-content: center;
    /* Centruj elementy w poziomie */
    align-items: center;
    font-size: auto;
}

.nav-item {
    margin: 0 15px;
    /* Przestrzeń między elementami li */
}

.page-scroll {
    color: white;
    position: relative;
    transition: color 0.3s, text-shadow 0.4s;
    padding: 8px 15px;
    border-radius: 15px;
    font-family: 'MedievalSharp', sans-serif;
}

.page-scroll:hover {
    color: #e7d530;
    text-shadow: 0 0 5px rgba(208, 231, 0, 0.8);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 100px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: rgb(255, 255, 255);

}

.nav-branding {

}

.nav-item {
   
    width:100%;
    height:25px;
    margin: 0;
}

.header-logo {
    width: 100%;
    max-height: 110px;
}

/* Header - end */


/* Main - Start */
#main-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 700px;
    background-image: url("../img/space1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-top: -100px;
    color:white;
    align-items: center;
}

.main-info-small {
    font-size: 1.1vw 1.7vw; /* Skalowanie tekstu */
  }
.main-info-logo {
    width: 50%;
    height: auto;
    font-size: 1.5vw;
}
.madeby {
    transform: scale(1.6); /* Skalowanie kontenera */
    font-size: 1.5vw;
  }

.play-here-button {
    margin-top: 80px;
    text-decoration: none;
    font-size: 2vw;
    background-color: rgba(255, 255, 255, 0.822);
    color: rgba(0, 0, 0, 0.822);
    border-radius: 25%;
    border: groove;
    width: 20%;
    height: auto;
}

.play-here-button:hover {
    margin-top: 80px;
    text-decoration: none;
    font-size: 2vw;
    background-color: rgba(85, 147, 175, 0.822);
    color: rgba(255, 255, 255, 0.822);;
    border-radius: 25%;
    border:groove;
    width: 20%;
    height: auto;
}

#main-about-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 600px;
    text-align: center;
    align-items: center;
    padding: 80px 0;
    color:white;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#032731+0,032e3a+20,032e3a+100,032731+100 */
    background: radial-gradient(circle at 10% 20%, 
                           rgb(0, 0, 0) 0%, 
                           rgb(15, 15, 16) 50%, 
                           rgb(35, 35, 36) 90.2%);
}

.main-about-us-column {
    display: flex;
    border: none;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #e0d421;
    width: 50%;
    height: auto;
}

#main-about-us .features {
    margin: 0 auto;
    width: 70%;
    height: auto;
    padding: 10px;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 10px;
    background-color: transparent;
    color: #032731;
    font-size: 1.5vw;
    font-weight: bold;
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.9s;
}

.features h4 {
    font-weight: 100;
}

#main-about-us li {
    content: "•";
    margin-bottom: 6px;
    list-style: none;
    padding: 0;
}

#main-about-us li:before {
    content: "•";
    padding-right: 5px;
}

#works-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 600px;
    text-align: center;
    align-items: center;
    padding: 80px 0;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#032731+0,032e3a+20,032e3a+100,032731+100 */
    background-image: url("../img/space2.png");
    background-repeat: no-repeat;
    background-size: cover;
    color:white;
}

#works-section h2 {
    font-size: 44px;
}

#works-section p {
    font-size: 18px;
    font-style:italic;
}

#main-about-us hr {
    margin: 0 auto;
    width: 340px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.works-section-container hr {
    margin: 0 auto;
    width: 340px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.small-image {
    width: 35%;
    height: auto;
}

.team {
    display:flex;
}

#team-section hr {
    margin: 0 auto;
    width: 340px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#team-section h2 {
    font-size:40px;
}
#team-section p {
    font-size:18px;
    font-style: italic;
}

#team-section h3 {
    font-size:20px;
    color:bisque;

}
#team-section  h4 {
    font-size:14px;
    font-style: italic;
    
}
#team-section .social-icons {
    font-size:px;
}

#team-section {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at 10% 20%, 
                           rgb(0, 0, 0) 0%, 
                           rgb(15, 15, 16) 50%, 
                           rgb(35, 35, 36) 90.2%);
    padding-top:30px;
    color:white;
}

.container {
    width: 90%;
    height: 90%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-member {
    flex: 0 0 calc(25% - 20px);
    /* 25% dla 4 członków w jednym rzędzie i odjęcie wartości gap (20px) */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.social-icons {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    min-width: 15px;
    min-height: 15px;
    font-size: 15px;
    color: inherit;
}

/* Main - End */

/* Footer - start */
#footer {
    background-image: url("../img/space1.png");
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    font-family: Arial, sans-serif;
    position: relative;
    clear: both;
    height: auto;
    text-align: center;
}

.section-title {
    font-size: 30px;
}

#footer hr {
    border-color: goldenrod;
    width: 70%; 
    margin: 0 auto;
}

.socials {
    display: flex;
    flex-direction: row;
    /* Divs will be side by side */
    justify-content: center;
    /* Center the divs horizontally */
    align-items: center;
    /* Center the divs vertically */
    gap: 40px;
    /* Spacing between each social icon div */
    height: 200px;
}

.socialicons {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center the content vertically */
    justify-content: center;
    /* Center the content horizontally */
    font-weight: bold;
}

.socialicons p {
    font-size: 14px;
    /* Default font size */
    margin-top: 10px;
    text-align: center;
}

.fa-envelope-o {
    margin-bottom:50px;
}

.fa-phone
{
    margin-bottom:55px;
}


/* Custom font size for each icon text, if needed */
.socialicons:nth-child(1) p {
    font-size: 14px;
}

.socialicons:nth-child(2) p {
    font-size: 14px;
}

.socialicons:nth-child(3) p {
    font-size: 14px;
}

.social-icons:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.scroll-to-top {
    position: absolute;
    top: 20px;
    right: 50px;
    background-color: #354b61;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background-color: #669dd3;
    transform: scale(1.1);
}

#contactForm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contactForm .input-group {
    display: flex;
    justify-content: center;
    /* To center both input fields */
    gap: 10px;
    /* Space between the two input fields */
}

#contactForm input,
#contactForm textarea {
    text-align: center;
    padding: 5px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    width: 45%;
    max-width: 45%;
    font-family: 'MedievalSharp', sans-serif;
}

#contactForm textarea#message {
    width: 20%;
    /* lub dowolna inna wartość, którą chcesz ustawić */
    max-width: 20%;
    /* upewnij się, że textarea nie przekroczy tej szerokości */
}

#contactForm button {
    margin-top: 10px;
    margin: 25px;
    border: none;
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    cursor: pointer;
    width: 20%;
    height: 40px;
    font-family: 'MedievalSharp', sans-serif;
}

#contactForm button:hover {
    background-color: rgb(160, 160, 160);
    color: rgb(255, 255, 255);
}

/* Footer - END */


/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
  }
  
  ::-webkit-scrollbar-track {
    background:  linear-gradient(0deg, rgb(11, 12, 12) 0%, rgb(4, 48, 105) 15%, rgrgb(37, 17, 124)0%, rgb(19, 19, 20) 75%, rgb(8, 8, 14) 100%);
  } 
  
  ::-webkit-scrollbar-thumb {
    background: transparent;
    box-shadow: 0px 0px 0px 100000vh black;
  }
/* Scrollbar - end */

@media(max-width:1200px) {
    .hamburger {
        display: block;
        padding: 10px auto;
        margin-right: 10px;
        /* Przesunięcie na prawą stronę */
    }

    .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: -110%;
        top: 100px;
        gap: 0;
        flex-direction: column;

        width: 100%;
        text-align: center;
        transition: 0.3s;

    }

    .nav-item {
        margin: 16px 0;

    }

    .nav-menu.active {
        left: 0;
    }

.socials {
    display: flex;
    flex-direction: column;
    /* Divs will be side by side */
    justify-content: center;
    /* Center the divs horizontally */
    align-items: center;
    /* Center the divs vertically */
    gap: 40px;
    /* Spacing between each social icon div */
    height: 100px;
    margin-top: 170px;
}

.main-about-us-column {
    display: flex;
    border: none;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #e0d421;
    width: 50%;
    height: 30%;
}

#main-about-us .features {
    margin: 0 auto;
    width: 70%;
    height: 30;
    padding: 5px;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 10px;
    background-color: transparent;
    color: #032731;
    font-size: 12px;
    font-weight: bold;
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s;
}

#contactForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 160px;
}


}