/* font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,900;1,300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
}

:root {

    --niebieski: #0577f8;
    --ciemnyNiebieski: #0855fd;
    --szary: #b9babb;
    --czerwony: #14f527;
    --elementyText: #CECECE;
    --bialy: #ffffff;
} 

main {
    width: 100vw;
    min-height: 100vh;
    background-color: var(--niebieski);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.niebieskieKolo, .szareKolo, .zieloneKolo {
    position: absolute;
    border-radius: 50%;
}

.niebieskieKolo {
    height: 70%;
    width: 30%;
    background: var(--ciemnyNiebieski);
    bottom: -10%;
    left: -15%;
}

.szareKolo {
    height: 110%;
    width: 60%;
    background-color: var(--szary);
    right: -20%;
    bottom: -10%;
}

.zieloneKolo {
    height: 90%;
    width: 50%;
    background-color: var(--czerwony);
    right: -20%;
    bottom: -10%;
}

.zawartosc {
    z-index: 1;
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.lewo { 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}


.lewo h1 {
    color: var(--bialy);
    font-size: 8rem;
    position: relative;
    margin-top: 1em;
}

.lewo span {
    display: block;
}

.ikony {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    margin-top: 5em;
}

.ikony img {
    margin-right: 2.5em;
    border-radius: 10px;
}

.lewo h1::after {
    position: absolute;
    content: '';
    width: 1em;
    height: 5%;
    background: var(--bialy);
    left: 0;
    bottom: -.3em;
    border-radius: 8px;
}

.formularz {
    display: flex;
    flex-direction: column;
background-color: var(--bialy);
padding: 4em 6em;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

input {
    border: none;
    border-bottom: 2px solid var(--elementyText);
}

input, textarea {
    font-size: 2rem;
    margin: 1em;
    padding: .5em;
    color: var(--ciemnyNiebieski);
    outline: var(--ciemnyNiebieski);
}

input:focus {
    border-bottom: 2px solid var(--niebieski);
}

input:focus::placeholder {
    color: var(--niebieski);
}

input::placeholder, textarea::placeholder
{
    color: var(--elementyText);
}

textarea {
    border: 2px solid var(--elementyText);
}

textarea:focus {
    border: 2px solid var(--niebieski);
}

button {
    font-size: 2rem;
    color: var(--bialy);
    background: var(--ciemnyNiebieski);
    border: none;
    width: 9em;
    margin: 0 auto;
    padding: .5em;
    border-radius: 20px;
    transition: all .3s ease-in-out;
    cursor: pointer;
    outline: none;
}

button:hover, button:focus {
    background-color: var(--niebieski);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}



/* MEDIA QUERIES --------------------- */


/* 1200px */


@media only screen and (max-width: 1200px) {

    .lewo h1 {
        font-size: 6rem;
    }

    input,textarea {
        font-size: 1.7rem;
    }

}

/* 1000px */


@media only screen and (max-width: 1000px) {


    .bigGreyCircle {
        display: none;
    }
    .contactSections {
        flex-direction: column;
    }

    .contactIcons {
        align-self: center;
    }

    .rightSection {
        width: 70%;
        margin: 3em auto;
    }

}



/* 800px */ 

@media only screen and (max-width: 800px) { 
    .smallRedCircle {
        height: 60%;
    }

    .lewo h1 {
        font-size: 5.2rem;
    }

    .ikony img {
        width: 4.5em
    }

    .rightSection {
        padding: 2em 5em;
    }

    input, textarea {
        font-size: 1.5rem;
    }

}


/* 600 px */


@media only screen and (max-width: 600px) {
    .rightSection {
        width: 85%;
    }


    button {
        margin: .5em auto;
    }
}


/* 400px */

@media only screen and (max-width: 400px) {
.lewo h1 {
    font-size: 4.4rem;
}

.rightSection {
    padding: 1em 2.5em;
}

}

/* 330 px */


@media only screen and (max-width: 330px){

    .lewo h1 {
        font-size: 4.3rem;
    }

    .rightSection {
        padding: 1em 1.8em;
    }

    button {
        width: 7em;
    }
}