@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@100;300;400;500;600;700;800;900&display=swap');

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

body {
    color: white;
    font-family: "Noto sans hebrew";
    text-align: right;
    background-color: black;
    background-image: url('/src/assets/aboutPage/shapes.svg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 3% 5%;
}

#back-arrow {
    float: left;
}

#main-content {
    padding: 3% 5%;
    display: flex;
    flex-direction: row-reverse;
    gap: 25vw;
}

#opening {
    text-align: right;
}

h1 {
    font-size: 90px;
}

h3 {
    float: right;
    font-size: 20px;
    width: 30vw;
    direction: rtl;
}

#versions {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.version {
    background-color: rgb(47, 47, 47);
    border-radius: 20px;
    padding: 0% 1%;
    height: fit-content;
}

.version p {
    float: right;
    direction: rtl;
    margin-bottom: 40px;
}

.version h4 {
    font-size: 35px;
    margin-bottom: 10px;
    color: #12ffd4;
}

.text-content {
    padding: 30px;
}

@media screen and (max-width: 1080px) {
    #main-content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10vh;
    }

    #opening {
        float: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%; 
        text-align: center;
    }

    h1 {
        font-size: 60px;
    }

    #opening h3 {
        width: 100%; 
    }

    .version {
        width: 100%;
    }

    #back-arrow {
        padding: 3% 3%;
        float: left;
    }

    #back-arrow {
        position: absolute;
        left: 5vw;
        width: 10vw;
    }
}

