@media only screen and (min-width: 640px) and (max-width: 1023px) {
    #main-container {
        overflow-x: hidden;
        width: 100%;
        height: 100vh;
        background-color: #F0F5F7;
    }
    #section-1 > .menu-bar {
        /* position: sticky; */
        top: 0;
        z-index: 1000;
        background-color: #F0F5F7;
        height: 5vh;
        padding: 0.5vw;
        justify-content: center;
    }

    #section-1 > .menu-bar > #logo {
        margin-left: 8vw;
    }

    #section-1, #section-2, #section-3, #section-4, #section-5, #section-6, #section-7 {
        overflow-x: hidden;
        position: relative;
        margin: 0 auto;
    }

    .centered {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /*#region section-1 */
    #section-1 {
        height: 100%;
    }
    #section-1 > #climate-change-1-container {
        left: 50%;
        transform: translateX(-50%);
        position: relative;
        z-index: 1;
    }
    #section-1 > #climate-change-1-container > #climage-change-1 {
        width: 1023px;
        height: 1734px;
    }
    #section-1 > #climate-change-2-container {
        z-index: 2;
        top: 750px;
    }
    #section-1 > #climate-change-2-container > #climate-change-2{
        width: 1023px;
        height: 1316px;
    }

    #section-1 > #climate-change-k3-container {
        display: none;
    }

    #section-1 > #bg-1-container {
        z-index: 0;
        top: 2352px;
    }
    #section-1 > #bg-1-container > #bg-1 {
        width: 1023px;
        height: 2247px;
    }
    #section-1 > #bg-1-container::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40%; /* mennyi helyen legyen a gradient */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgba(255, 32, 32, 0) 100%);
        pointer-events: none; /* hogy ne zavarja az egérkattintást */
    }

    #section-1 > #climate-change-3-container {
        z-index: 1;
        top: 2224px;
    }
    #section-1 > #climate-change-3-container > #climate-change-3 {
        width: 1023px;
        height: 1219px;
    }

    #section-1 > #climate-change-4-container {
        top: 2701px;
        z-index: 2;
    }
    #section-1 > #climate-change-4-container > #climate-change-4 {
        width: 1023px;
        height: 1097px;
    }

    #section-1 > #climate-change-5-container {
        top: 4160px;
        z-index: 1;
    }
    #section-1 > #climate-change-5-container > #climate-change-5 {
        width: 1023px;
        height: 831px;
    }

    #section-1 > #climate-change-6-container {
        top: 4840px;
        z-index: 1;
    }
    #section-1 > #climate-change-6-container > #climate-change-6 {
        width: 1023px;
        height: 1055px;
    }

    #section-1 > #climate-change-7-container {
        top: 5919px;
        z-index: 1;
    }
    #section-1 > #climate-change-7-container > #climate-change-7 {
        width: 1023px;
        height: 1122px;
    }

    #section-1 > #climate-change-8-container {
        top: 6706px;
        z-index: 1;
    }
    #section-1 > #climate-change-8-container > #climate-change-8 {
        width: 1023px;
        height: 959px;
    }

    #section-1 > #bg-2-container {
        top: 6386px;
        z-index: 0;
    }
    #section-1 > #bg-2-container > #bg-2 {
        width: 1023px;
        height: 1283px;
    }

    #section-1 > .image-with-text-h1 {
        color: #F0F5F7;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 764px;
        width: 408px;
        z-index: 5;
        text-align: center;
        font-weight: 800; /* extra bold */
        text-transform: uppercase;
    }

    #section-1 > .image-with-text-h2 {
        color: #F0F5F7;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 1036px;
        width: 324px;
        z-index: 5;
        text-align: center;
        font-weight: 800; /* semi bold */
        font-size: 24px;
    }

    #section-1 > #statistics {
        color: #F0F5F7;
        width: 383px;
        position: absolute;
        top: 1725px;
        z-index: 3;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    #section-1 > #statistics > .small  {
        font-size: 14px;
        font-weight: 400;
    }

    #section-1 > #statistics > .small-2  {
        font-size: 14px;
        font-weight: 800;
    }

    #section-1 > #statistics > .big-number  {
        font-weight: 800;
        font-size: 56px;
        line-height: 24px;
    }

    #section-1 > .temperature-section {
        width: 408px;
        position: absolute;
        top: 1992px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        color: #121314;
    }

    #section-1 > .temperature-section > .temperature-section-h2 {
        font-size: 40px;
        font-weight: 800;
    }
    #section-1 > .temperature-section > .small  {
        font-size: 14px;
        font-weight: 400;
        margin: auto;
        margin-top: 24px;
        width: 324px;
    }

    #section-1 > #daily-temperature-section {
        width: 324px;
        top: 2822px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        color: #F0F5F7;
        z-index: 3;
        text-align: center;
        font-weight: 400;
        font-size: 14px;
    }
    #section-1 > #daily-temperature-section > .big-number {
        font-weight: 800;
        font-size: 24px;
    }

    #section-1 > #dryness-text {
        color: #F0F5F7;
        width: 408px;
        top: 3904px;
        z-index: 3;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
        text-align: center;
    }
    #section-1 > #dryness-text > #important {
        font-weight: 800;
        font-size: 40px;
    }
    #section-1 > #dryness-text > .small {
        margin: auto;
        margin-top: 18px;
        font-size: 14px;
        font-weight: 400;
        width: 324px;
        text-align: center;
    }

    #section-1 > #dryness-text-2 {
        color: #F0F5F7;
        width: 324px;
        position: absolute;
        top: 4558px;
        z-index: 3;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
        font-weight: 800;
        text-align: center;
    }

    #section-1 > #call-to-action-section {
        color: #121314;
        position: absolute;
        top: 4860px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 5;
    }
    #section-1 > #call-to-action-section > #call-to-action-h2 {
        font-weight: 800;
        font-size: 40px;
        width: 408px;
    }
    #section-1 > #call-to-action-section > #call-to-action-small {
        font-weight: 400;
        font-size: 14px;
        width: 324px;
        margin: auto;
        margin-top: 28px;
    }

    #section-1 > #what-to-do {
        color: #F0F5F7;
        position: absolute;
        top: 5593px;
        width: 324px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 5;
    }
    #section-1 > #what-to-do > #what-to-do-h2 {
        font-weight: 800;
        font-size: 40px;
    }
    #section-1 > #what-to-do > #what-to-do-small {
        font-weight: 400;
        font-size: 14px;
        width: 324px;
        margin: auto;
        margin-bottom: 28px;
    }

    #section-1 > #more-green {
        width: 408px;
        color: #121314;
        position: absolute;
        top: 5904px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 5;
    }
    #section-1 > #more-green > #more-green-h2 {
        font-weight: 800;
        font-size: 40px;
    }
    #section-1 > #more-green > #more-green-small {
        font-weight: 400;
        font-size: 14px;
        width: 324px;
        margin: auto;
        margin-top: 28px;
    }

    #section-1 > #new-plants {
        width: 324px;
        color: #F0F5F7;
        position: absolute;
        top: 6453px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 5;
    }
    #section-1 > #new-plants > #new-plants-h2 {
        font-weight: 800;
        font-size: 24px;
    }
    #section-1 > #new-plants > #new-plants-small {
        font-weight: 400;
        font-size: 14px;
        width: 324px;
        margin: auto;
        margin-top: 28px;
    }

    #section-1 > #signup-form {
        width: 420px;
        color: #F0F5F7;
        position: absolute;
        top: 6772px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 5;
        font-weight: 800;
        font-size: 14px;
    }
    #section-1 > #signup-form > #join-us{
        font-weight: 800;
        font-size: 40px;
        width: 420px;
        margin-bottom: 66px;
    }

    #section-1 > #signup-form > .icons{
        width: 375px;
        margin: auto;
        margin-top: 24px;
    }

    #section-1 > #signup-form > #email-input {
        margin: auto;
        background-color: transparent;
        height: 3rem;
        margin-bottom: 0.5rem;
        margin-top: 1rem;
        width: 323px;
        border-radius: 0.3rem;
        color: #F0F5F7;
    }

    #section-1 > #signup-form > #email-input::placeholder {
        color: #F0F5F7;
    }

    #section-1 > #signup-form > #submit-btn {
        background-color: #A6BC36;
        color: #121314;
        border: none;
        width: 323px;
        height: 4rem;
        font-weight: bolder;
        position: relative;
    }

    #section-1 > #signup-form > #data-handling-container {
        width: 80%;
        font-weight: 400;
        font-size: 12px;
        color: #F0F5F7;
        display: inline-grid;
        grid-template-columns: auto auto auto;
        margin-top: 1rem;
        position: relative;
    }
    #section-1 > #signup-form > #data-handling-container > #data-handling-label > a {
        color: #C5D046;
        margin-left: 0.2rem;
    }
    #section-1 > #signup-form > #data-handling-container > #data-handling-label {
        text-align: left;
        font-size: 0.7rem;
        display: inline-flex;
        align-items: center;
    }
    #section-1 > #signup-form > #data-handling-container > #data-handling {
        appearance: none;
        -webkit-appearance: none;
        width: 2rem;
        height: 2rem;
        border: 1px solid white;
        border-radius: 25%;
        background-color: transparent;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
    }
    #section-1 > #signup-form > #data-handling-container > #data-handling:checked {
        background-color: #A6BC36;
        border-color: yellow;
    }
    #section-1 > #signup-form > #success-container {
        display: none;
    }
    #section-1 > .socials {
        position: absolute;
        top: 7500px;
        left: 50%;
        transform: translateX(-50%);
        color: #F0F5F7;
        font-weight: 800;
        font-size: 14px;
        z-index: 5;
    }
    #section-1 > .socials > .folow-us {
        width: fit-content;
        margin: auto;
        margin-bottom: 12px;
        position: relative;
    }

    #section-1 > .socials > .icons {
        width: 259px;
        margin: auto;
    }

    #section-1 > #section-5 {
        height: 200px;
        width: 100%;
        background-color: #A6BC36;
        position: absolute;
        z-index: 1;
        top: 7648px;
    }
    #section-1 > #section-6 {
        height: 475px;
        width: 100%;
        background-color: #121314;
        position: absolute;
        z-index: 1;
        top: 7848px;
    }
    #section-1 > #section-6 > #footer-logo-container {
        position: absolute;
        z-index: 5;
        top: 72px;
    }
    #section-1 > #section-6 > #footer-logo-container > #footer-logo {
        width: 242.1px;
        height: 47px;
    }
    
    #section-1 > #section-6 > hr {
        width: 406px;
        position: absolute;
        top: 151px;
        z-index: 5;
        background: #F0F5F7;
    }

    #section-1 > #section-6 > #eu-urban-container {
        top: 191px
    }

    #section-1 > #section-6 > #eu-urban-container > #eu-urban {
        width: 88.09px;
        height: 45px;
    }

    #section-1 > #section-6 > #footer-text {
        font-weight: 400;
        font-size: 12px;
        width: 408px;
        top: 252px;
        color: #F0F5F7;
        position: absolute;
        text-align: center;
        font-family: 'Inter';
    }

    #section-1 > #section-6 > #co-funded-container {
        top: 358px;
    }

    #section-1 > #section-6 > #co-funded-container > #co-founded {
        width: 206.8px;
        height: 45px;
        margin-top: 24px;
    }
}
