@font-face {
    font-family: Cyberjunkies;
    src: url("fonts/Cyberjunkies.ttf");
}


@font-face {
    font-family: RadioCanada;
    src: url("fonts/RadioCanadaBig-Regular.ttf");
}

@font-face {
    font-family: BlackCraft;
    src: url("fonts/MinecraftRegular-Bmg3.otf");
}

body{
    margin: 0px;
    font-family: RadioCanada;
    background-image: linear-gradient(rgb(17, 17, 17), rgb(10, 10, 10));
    box-sizing: border-box;
}

header {
    background-image: linear-gradient(rgb(18, 18, 18), rgb(10, 10, 10));
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    padding-bottom: 2px;
    box-shadow: 1px 1px 10px whitesmoke;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}

#logo{
    width: 5%;
    display: inline-block;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar ul {
    list-style-type: none;
    background-color: transparent;
    overflow: hidden;
    padding: 0px;
    margin: 0px;
    display: flex;
}

.navbar li {
    float: left;
}

.navbar a {
    color: rgb(0, 137, 182);
    text-decoration: none;
    padding: 15px;
    display: block;
    text-align: center;
    font-family: Cyberjunkies;
    transition: font-size 0.3s;
}

.navbar a:hover{
    color: whitesmoke;
    font-size: 1.1em;
}

.navbar a:hover:not(:hover){
    font-size: 1em;
}

footer{
    padding-top: 2px;
    box-shadow: 1px 1px 10px whitesmoke;
    background-image linear-gradient(rgb(10, 10, 10), black);
}

.footerContainer{
    width: 100%;
    padding-top: 30px;
}

.socialIcons{
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    display: flex;
    padding: 0px;
}


.socialIcons a{
    background-color: whitesmoke;
    text-decoration: none;
    padding: 10px;
    margin: 10px;
    border-radius: 50%;
    height: 25px;
}

.socialIcons a i{
    font-size: 1.5em;
    color: black;
    opacity: 1;
}

.socialIcons a:hover{
    background-color: rgb(0, 137, 182);
    transition: 0.3s;
}

.socialIcons a:hover i{
    color: whitesmoke;
    opacity: 0.9;
    transition: 0.3s;
}

.footerNav{
    margin: 0px;
    height: 50px;
}

.footerNav ul{
    justify-content: center;
    display: flex;
    list-style-type: none;
    padding: 0px;
}

.footerNav ul li a{
    color: rgb(0, 137, 182);
    margin: 20px;
    font-family: Cyberjunkies;
    text-decoration: none;
    font-size: 1.1em;
    transition: 0.3s;
}

.footerNav ul li a:hover{
    color: whitesmoke;
    font-size: 1.2em;
}

.footerNav ul li a:not(:hover){
    color: rgb(0, 137, 182);
    font-size: 1.1em;
}

.footerBottom{
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

.footerBottom p{
    color: whitesmoke;
    font-weight: 400;
}

@media only screen and (max-width: 780px) {
    #logo {
        width: 20%;
    }

    header {
        background-color: black;
        width: 100%;
        padding: 10px;
    }

    .navbar {
        display: none;
    }

    .navbarmobile {
        justify-content: space-between;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    section {
        width: 85% !important;
        padding: 6px !important;
    }

    section h1 {
        font-size: 1.7em !important;
    }

    section p {
        font-size: 1em !important;
        text-wrap: wrap !important;
        width: 100% !important;
    }

    #python-img{
        width: 100% !important;
    }

    .logos{
        width: 90% !important;
    }

    .logo img{
        width: 70% !important;
    }

    .download-box {
        width: 100% !important;
        height: 86% !important;
        margin: 20px 0;
        border-radius: 15px;
    }

    .download-box-h2 {
        font-size: 1.2em !important;
    }

    .download-box-h3 {
        font-size: 0.6em !important;
    }

    .download-box-img {
        width: 60% !important;
    }

    .buttons-container {
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin-top: 5px !important;
    }

    .download-button {
        margin-top: 5px !important;
        width: 65% !important;
        height: 20% !important;
        height: 30px !important;
        font-size: 1em !important;
        border-radius: 15px !important;
    }

    .download-box-h3-read {
        font-size: 0.75em !important;
        padding-bottom: 15px !important;
        padding-top: 60px !important;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    }

    .right-half {
        height: 35vh !important;
    }

    .magmachat-widget{
        width: 100% !important;
        height: 90% !important;
    }

    .magmachat-containers {
        width: 100% !important;
    }
    
    #magmachat{
        width: 90% !important;
    }
    
    #magmachat-input{
        font-size: 1em !important;
        height: 100% !important;
        width: 80% !important;
    }
    
    #magmachat-clear, #magmachat-send{
        font-size: 1em !important;
        padding: 5px 10px !important;
        width: 20% !important;
        height: 100% !important;
    }

    .limit-message {
        font-size: 0.9em !important;
    }
}

.hamburger{
    position: relative;
    display: inline-block;
    width: 7%;
    height: 7%;
    margin-right: 25px;
    cursor: pointer;
    appearance: none;
    background: none;
    outline: none;
    border: none;
}

.hamburger .bar, .hamburger:after, .hamburger:before{
    content: '';
    display: block;
    width: 125%;
    height: 5px;
    background-color: whitesmoke;
    margin: 6px 0px;
    transition: 0.4s;
}

.hamburger.is-active:before{
    transform: rotate(-45deg) translate(-8px, 6px);
}

.hamburger.is-active:after{
    transform: rotate(45deg) translate(-9px, -8px);
}

.hamburger.is-active .bar{
    opacity: 0;
}

.navbarmobile{
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    min-height: 100vh;
    display: block;
    z-index: 98;
    background-image: linear-gradient(black, rgb(55, 55, 55));
    padding-top: 100px;
    transition: 0.4s;
}

.navbarmobile.is-active{
    left: 0;
}

.navbarmobile a{
    display: block;
    text-align: center;
    margin-bottom: 16px;
    padding: 16px;
    text-decoration: none;
    font-family: Cyberjunkies;
    color: rgb(0, 137, 182);
    width: 110px;
    max-width: 200px;
    margin: 0 auto 16px;
}

.navbarmobile a:hover{
    color: whitesmoke;
    font-size: 1.1em;
}

.socials{
    justify-content: center;
    display: flex;
}

.socials a{
    background-color: whitesmoke;
    text-decoration: none;
    margin: 5%;
    border-radius: 50%;
    opacity: 1;
}

.socials a i{
    font-size: 1.5em;
    color: black;
    opacity: 1;
}

.socials a:hover{
    background-color: rgb(0, 137, 182);
    transition: 0.3s;
}

.socials a:hover i{
    color: whitesmoke;
    transition: 0.3s;
}

.copyright{
    color: whitesmoke;
    text-align: center;
    margin-top: 0;
}

section{
    align-content: center;
    display: grid;
    place-items: left;
    min-height: 70vh;
    width: 100vh;
    margin-left: auto;
    margin-right: auto;
    font-family: RadioCanada;
}

section h1{
    font-size: 2.5em;
    color: whitesmoke;
    margin-right: auto;
}

section p{
    font-size: 1.5em;
    color: gray;
}

#python-img{
    position: sticky;
    width: 100vh;
    border-radius: 25px;
    padding: 5px;
    will-change: transform;
    transform: scale(0.5);
}

.apps h1{
    color: whitesmoke;
    font-size: 2.5em;
}

.logos{
    display: flex;
}

.logo img{
    width: 20vh;
    padding: 10px;
}

.logo:nth-child(2){
    transition-delay: 200ms;
}

.logo:nth-child(3){
    transition-delay: 400ms;
}

.logo:nth-child(4){
    transition-delay: 600ms;
}

.hidden-headers{
    opacity: 0;
    transition: all 1.5s;
}

.show-headers{
    opacity: 1;
}

.hidden-paragraphs{
    opacity: 0;
    transform: translateY(+20px);
    transition: all 1s;
}

.show-paragraphs{
    opacity: 1;
    transform: translateY(0);
    transition-delay: 200ms;
}

.hidden-images{
    opacity: 0;
    scale: 0.7, 0.7;
    transition: all 2s;
}

.show-images{
    opacity: 1;
    scale: 1, 1
}

.hidden-switch-images{
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s;
}

.show-switch-images{
    opacity: 1;
    transform: translateX(0);
}

.download-box {
    width: 100vh;
    height: 50vh;
    border-radius: 100px;
    box-shadow: 1px 1px 50px whitesmoke;
    background-image: linear-gradient(rgb(50, 50, 50), rgb(0, 0, 0));
    display: flex;
}

.left-half, .right-half {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
}

.download-box-two-bc {
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-image: url('images/foo_new\ 1.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.download-box-two-mc {
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-image: url('images/magmachat_wpp.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.download-box-two-sw {
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-image: linear-gradient(rgb(34, 146, 188), rgb(221, 76, 54));
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.download-box-two-ds {
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-image: linear-gradient(rgb(114, 167, 207), rgb(74, 109, 135));
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.download-box-h2, .download-box-h3, .download-box-img {
    margin: 0;
    padding: 5px;
    text-align: center;
    font-family: BlackCraft;
}

.download-box-h2 {
    color: whitesmoke;
    font-size: 2em;
}

.download-box-h3 {
    color: whitesmoke;
    font-size: 0.8em;
}

.download-box-img {
    width: 25vh;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.download-box-h3-read {
    color: whitesmoke;
    font-size: 0.9em;
    padding-top: 95px;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-family: BlackCraft;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* odstęp między przyciskami */
    margin-top: 50px;
}

.read-more-button, .download-button{
    display: inline-block;
    color: rgb(0, 137, 182);
    font-family: Cyberjunkies, sans-serif;
    background-image: linear-gradient(rgb(17, 17, 17), rgb(0, 0, 0));
    width: 150px;
    height: 50px;
    font-size: 1.2em;
    border-radius: 25px;
    border: none;
    transition: font-size 0.3s;
}

.download-button a{
    text-decoration: none;
    color: rgb(0, 137, 182);
    transition: font-size 0.3s;
}

.download-button a:hover {
    font-size: 1.1em;
    color: whitesmoke;
}

.read-more-button:hover{
    font-size: 1.3em;
    color: whitesmoke;
}

.underline{
    background-image: linear-gradient(whitesmoke, whitesmoke);
    background-size: 0 5px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    font-family: BlackCraft;
    transition: background-size 0.2s;
}

.underline:hover{
    background-size: 100% 5px;
}

.magmachat-widget{
    width: 100vh;
    height: 90vh;
    background-image: url("images/magmachat_wpp_grayscale.png");
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 25px;
    box-shadow: 1px 1px 50px whitesmoke;
    align-items: center;
}

.magmachat-containers{
    color: red;
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
}

#magmachat{
    width: 85vh;
    height: 85vh;
    background-image: linear-gradient(rgb(50, 50, 50), rgb(0, 0, 0));
    border-radius: 10px;
    color: whitesmoke;
    text-align: left;
    font-family: BlackCraft;
    padding-left: 5px;
}

#magmachat-input{
    width: 50vh;
    border-radius: 25px;
    border: none;
    background-image: linear-gradient(rgb(50, 50, 50), rgb(0, 0, 0));
    color: whitesmoke;
    font-size: 1.3em;
    font-family: BlackCraft;
    cursor: pointer;
    height: 50px;
    padding-left: 10px;
    padding-right: 10px;
}

#magmachat-input:focus{
    outline: none;
}

#magmachat-clear, #magmachat-send{
    display: inline-block;
    color: rgb(0, 137, 182);
    font-family: Cyberjunkies, sans-serif;
    background-image: linear-gradient(rgb(17, 17, 17), rgb(0, 0, 0));
    width: 150px;
    height: 50px;
    font-size: 1.2em;
    border-radius: 25px;
    border: none;
    margin: 5px;
    cursor: pointer;
    transition: font-size 0.3s
}

#magmachat-clear:hover{
    font-size: 1.3em;
    color: whitesmoke;
}

#magmachat-send:hover{
    font-size: 1.3em;
    color: whitesmoke;
}

.limit-message {
    display: none;
    color: red;
    font-size: 1.5em;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: white;
    border: 2px solid red;
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    animation: none;
    font-family: BlackCraft;
}

@keyframes popup {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.show-popup {
    display: block;
    animation: popup 3s forwards;
}






@media (min-width: 782px) {
    .navbarmobile{
        display: none;
    }

    .hamburger{
        display: none;
    }
}