:root {
    --red: #5C1A1A;
    --blue: #1A3E5C;
    --red_f: #FE7C7C;
    --blue_f: #457FC0;
}

*{
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
html, body {
    display: grid;
    grid-template-columns: 100vw 100vw 100vw 100vw 100vw 100vw 100vw;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity; 
}

body {
    background-color: var(--red);

}
h5 {
    font-size: 4rem;
    letter-spacing: 0.5rem;
}
h2 {
    font-size: 2rem;
    font-weight: 700;
    text-wrap: nowrap;
}
h3 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    padding-bottom: 0.5rem;
}
button {
    background-color: #D93C3C;
    padding: 0.5rem;
    border: none;
    color: white;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}
input, textarea {
    background-color: var(--red);
    border: none;
    border-bottom: 1px solid #D93C3C;
    color: white;
}


textarea {
    height: 5rem;
}
.home {
    display: flex;
    justify-content: space-between;
    height: 100vh;
}
.contact_form {
    height: 60vh;
    width: 60vw;
    margin: 8vw auto;
}

.contact_form h2 {
    padding-bottom: 6rem;
    text-align: center;
}
.contact_info {
    display: flex;
    gap: 1rem;
}
.input, .input2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 30rem;
}
.input_info {
    padding-left: 10rem;
}
.contact {
    color: var(--red_f);
}
.response {
    display: block;
    text-align: center;
}


.contact, .about_design, .portfolio_design {
    background-color: var(--red);
    height: 100vh;
}

.portfolio_design h2:nth-child(1){
    margin-top: 5rem ;
}

.portfolio_design h2:nth-child(1) {
    letter-spacing: 0.5rem;
    font-size: 5rem;
    padding-bottom: 1rem;
}
.product, .about_dev, .contact_dev {
    background-color: var(--blue);
    height: 100vh;
}
.social {
    display: flex;
    justify-content: space-around;
    padding-top: 3rem;
}
.soc2 {
    display: flex;
}
.linkr, .behr {
    font-size: 1rem;
    color: white;
    padding: 1rem;
    background-color: #E83C3C;
    border-radius: 10rem;
    margin: 1rem;
}
.linkr2, .behr2 {
    font-size: 1rem;
    color: white;
    padding: 1rem;
    background-color: var(--blue_f);
    border-radius: 10rem;
    margin: 1rem;
}
.sub_button {
    padding-top: 1.5rem;
}

.pad {
    padding: 5vh;
}
.about_design {
    display: flex;
    justify-content: space-between;
    color: var(--red_f);
}
.about_design p{
    padding-top: 2vh;
    padding-left: 10vh;
    text-align: left;
    width: 50vw;
}

.designp {
    padding-top: 3vw;
}
.redb {
    background-color: var(--blue_f);
}
.about_d {
    padding-top: 50vh;
    padding-right: 20vh;
}
.bluec {
    color: var(--blue_f);
}
.about_d h2 {
    text-align: left;

}

.aboutop {
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 10%;
}
.aboutbot {
    line-height: 10rem;
    font-size: 96px;
    letter-spacing: 66%;
}
.aboutbot2 {
    line-height: 5rem;
    font-size: 96px;
    letter-spacing: 66%;
}

.portfolio_design {
    color: var(--red_f);

}



.portfolio_design h2 {
    padding: 5rem 2rem;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.5rem;
    line-height: 4rem
}

.design {
    color: var(--red_f);
    padding: 10rem;
    width: 50vw;
    background-color: var(--red);
    transition: transform 0.5s ease;
}

.develop {
    color: var(--blue_f);
    padding: 10rem;
    width: 50vw;
    background-color: var(--blue);
    padding-top: 60vh;
    transition: transform 0.5s ease;
}

.develop h5 {
    padding-left: 10vh;
}

.design h5 {
    padding-left: 10vh;
}
.designp h1 {
    padding: 2rem 4rem;
}

.product {
    color: var(--blue_f);
    display: flex;
    flex-direction: row-reverse;
}

.product h2 {
    padding: 10rem;
    font-size: 4rem;
}

.product a {
    padding: 1rem;
}

.about_dev {
    display: flex;
}

.about_dev p {
    padding: 10rem;
}
.about_dev h2 {
    padding: 10rem;
}

.input2 input{
    background-color: var(--blue);
    border: none;
    border-bottom: 1px solid var(--blue_f);
}

.input2 textarea {
    background-color: var(--blue);
    border: none;
    border-bottom: 1px solid var(--blue_f);
}

.input_info2 h3 {
    color: var(--blue_f);
}

.input_info2 {
    padding-left: 10rem;
}
.about_dev {
    display: flex;
    justify-content: space-between;

}
.about_dev p {
    width: 60vw;
    color: var(--blue_f);

}
.about_developments h2 {
    display: flex;
}
.about_developments {
    color: var(--blue_f);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    padding-top: 10rem;
}
.about_developments h2, .portfolio_design h2{
    padding: 0;
}
.about_dev p {
    padding-top: 25rem;
}

.about_developments h2:nth-child(1) {
    font-weight: 100;
    font-size: 4rem;
    letter-spacing: 0.5rem;
}

.about_developments h2:nth-child(2) {
    letter-spacing: 0.8rem;
    font-size: 2.5rem;
    padding-block: 1.5rem;
}

.about_developments h2:nth-child(3) {
    letter-spacing: 0.7rem;
    font-size: 2.5rem;
}

.movable {
    position: absolute;
    transition: all 3s ease;
    cursor: pointer;
  }

  .movable2 {
    position: absolute;
    transition: all 3s ease;
    cursor: pointer;
  }


@media only screen and (max-width: 800px) {
    .input_info, .input_info2 {
        padding-left: 0;
    }
    .contactForm, .contact_form {
        margin: 1rem;
    }

    .social {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .soc2 {
        text-align: center;
        margin: 0 15vw;
    }
    .linkr, .behr, .linkr2, .behr2{
        text-wrap: nowrap;
    }
    h1 {
        font-size: 1.5rem;
    }
    .aboutop, .aboutbot2, .aboutbot {
        font-size: 2rem;
        letter-spacing: 0;
        line-height: 5vh;
    }
    .aboutop {
        font-size: 0.8rem;
    }
    .about_d {
        padding-right: 1rem;
        padding-top: 8vh;
    }
    .about_design {
        display: flex;
    }
    .hidden {
        display: none;
    }
    .about_dev h2 {
        padding: 0;
    }

    .about_dev p{
        padding: 3rem 0rem;
        width: 100vw;
    }
    .about_dev {
        display: block;
    }
    .design{
        width: 100vw;
        padding: 5rem 1rem;
    }
    .develop {
        padding: 15rem 1rem;
    }
    h5 {
        font-size: 4.5vw;

    }
    .about_developments {
        padding: 1rem;
    }
    .about_dev .about_developments h2 {
        font-size: 1rem;
        line-height: 0.4rem;
    }
    .about_dev .about_developments h2:nth-child(1) {
        font-size: 2rem;
        word-spacing: 0.2rem;
        line-height: 0.6rem;
    }
    .about_dev .about_developments h2:nth-child(3) {
        word-spacing: 0.15rem;
    }
    .portfolio_design, .product {
        display: block;
    }
    .product h2 {
        padding: 14rem 5rem 6rem 5rem;
    }
}