@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;500&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins";
    border: none;
}

:root {
    font-size: 16px;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: rgb(32, 32, 32);
    padding: 5%;
}


/* anket page */

.anket-Page {
    max-width: 650px;
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: fit-content;
    justify-content: space-between;
    animation: open .7s linear;
}

.anket-Page>.anket-header {
    width: 100%;
    display: flex;
    align-items: center;
    height: fit-content;
    justify-content: center;
}

.anket-Page>.anket-header>img {
    width: 80px;
    height: 80px;
}

.anket-Page>.anket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.anket-Page>.anket-footer>h3 {
    font-size: .9rem;
    color: gray;
    font-weight: 400;
}

.anket-Page>.anket-footer>ul {
    display: flex;
    align-items: center;
    gap: 20px;
    width: fit-content;
    height: fit-content;
}

.anket-Page>.anket-footer>ul>li {
    list-style: none;
}

.anket-Page>.anket-footer>ul>li>a>img {
    width: 30px;
    height: 30px;
}

.anket-Page>.anket {
    width: 100%;
    display: flex;
    flex-grow: 1;
    background-color: rgb(41, 41, 41);
    margin-block: 50px;
    height: fit-content;
    border-block: 1px solid rgba(128, 128, 128, 0.582);
    border-radius: 3px;
    gap: 30px;
    padding: 20px;
    flex-direction: column;
}

.anket-Page>.anket>span {
    margin-block: 50px;
}

.anket-Page>.anket>div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.anket-Page>.anket>span, .anket-Page>.anket>div>span {
    display: flex;
    border: 1px solid rgba(128, 128, 128, 0.623);
    width: 100%;
    height: fit-content;
    box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.308);
    background-color: rgb(32, 32, 32);
    padding-inline: 15px;
    padding-block: 20px;
    border-radius: 10px;
    flex-direction: column;
    gap: 20px;
}

.anket-Page>.anket>span>h3, .anket-Page>.anket>div>span>h3 {
    font-weight: 400;
    color: white;
    font-size: 1rem;
}

.anket-Page>.anket>span>input, .anket-Page>.anket>span>select, .anket-Page>.anket>div>span>input, .anket-Page>.anket>div>span>select {
    padding-inline: 20px;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    outline: 1px solid rgba(255, 255, 255, 0.247);
    height: 50px;
    background-color: rgb(41, 41, 41);
    transition: border-color;
    transition-duration: 300ms;
}

.anket-Page input:valid, .anket-Page select:valid {
    border: 1px solid rgb(97, 179, 255);
}

.anket-Page>.anket>button {
    height: 45px;
    transition: all 100ms;
    width: 100%;
    align-self: center;
    border-radius: 5px;
    font-size: 1rem;
    background-color: rgb(97, 179, 255);
    color: white;
    cursor: pointer;
}

.anket-Page>.anket>button:active {
    transform: scale(.95)
}

.anket-Page>.anket:invalid>button {
    opacity: .5;
    pointer-events: none;
}

/* anket page */



/* home page */

.home {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: fit-content;
    justify-content: space-between;
    animation: open .3s linear;
}

.home>.home-header {
    width: 100%;
    display: flex;
    align-items: center;
    height: fit-content;
    justify-content: center;
}

.home>.home-header>a {
    background-color: rgb(97, 179, 255);
    color: white;
    width: 120px;
    height: 45px;
    border-radius: 5px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.home>.home-header>img {
    width: 80px;
    height: 80px;
}

.home>.area {
    padding: 5%;
    display: flex;
    gap: 200px;
    flex-direction: column;
    flex-grow: 1;
    background-color: rgba(128, 128, 128, 0.082);
    border-radius: 10px;
    margin-block: 50px;
}

.home>.area>.s1 {
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 100%;
    height: fit-content;
}

.home>.area>.s1>span {
    display: flex;
    text-align: center;
    align-self: center;
    gap: 10px;
    color: white;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.home>.area>.s1>span>h3 {
    font-size: 2rem;
}

.home>.area>.s1>span>p {
    width: 50%;
}

.home>.area>.s1>div {
    display: flex;
    cursor: pointer;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
    height: fit-content;
}

.home>.area>.s1>div>div {
    display: flex;
    min-height: 560px;
    height: fit-content;
    gap: 20px;
    border-radius: 10px;
    box-shadow: 0 20px 20px -5px rgba(0, 0, 0, 0.178);
    padding: 30px;
    border: 1px solid rgba(98, 179, 255, 0.308);
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    flex: 1;
}

.home>.area>.s1>div>div:nth-child(2) {
    transform: translateY(-5%);
    border-color: rgb(98, 180, 255) !important;
}

.home>.area>.s1>div>div>div {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.home>.area>.s1>div>div>div>span:first-child {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
}

.home>.area>.s1>div>div>div>span:first-child>h3 {
    color: rgb(98, 180, 255) !important;
    font-size: .9rem;
    font-weight: 400;
}

.home>.area>.s1>div>div>div>span:first-child>h2 {
    color: white;
    font-weight: 400;
    font-size: 1.7rem;
}

.home>.area>.s1>div>div>div>span:first-child>h4 {
    font-weight: 400;
    width: fit-content;
    background-color: rgba(128, 128, 128, 0.247);
    border-radius: 10px;
    padding-inline: 10px;
    font-size: 1rem;
    padding-block: 5px;
}

.home>.area>.s1>div>div>div>span:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: rgb(155, 155, 155);
    font-size: .9rem;
}

.home>.area>.s1>div>div>a {
    width: 100%;
    height: 45px;
    border-radius: 10px;
    color: black;
    font-weight: 500;
    font-size: 1rem;
    background-color: rgb(98, 180, 255);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;
    text-decoration: none;
}

.home>.area>.s2 {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.home>.area>.s2>span {
    display: flex;
    text-align: center;
    align-self: center;
    gap: 10px;
    color: white;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.home>.area>.s2>span>h3 {
    font-size: 2rem;
}

.home>.area>.s2>span>p {
    width: 70%;
}

.home>.area>.s2>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.home>.area>.s2>div>div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    height: fit-content;
}

.home>.area>.s2>div>div>div {
    display: flex;
    gap: 25px;
    border: 1px solid rgba(97, 179, 255, 0.301);
    padding-inline: 50px;
    padding-block: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.26);
}

.home>.area>.s2>div>div>div>span:last-child {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
}

.home>.area>.s2>div>div>div>span:last-child>h3 {
    font-weight: 400;
    font-size: 1rem;
    flex-shrink: 0;
}

.home>.area>.s2>div>div>div>span:last-child>p {
    color: rgba(255, 255, 255, 0.507);
    font-size: .9rem;
    font-weight: 300;
    flex-shrink: 0;
}

.home>.area>.s2>div>div>div>span:first-child {
    width: 60px;
    height: 60px;
    border: 100px;
    background-color: rgba(155, 155, 155, 0.24);
    padding: 10px;
    cursor: pointer;
    display: flex;
    border-radius: 100%;
    box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.26);
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.home>.area>.s2>div>div>div>span>img {
    width: 80%;
    height: 80%;
}

.home>.area>.s2>div>a {
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(98, 180, 255);
    border-radius: 10px;
    font-size: 1rem;
    text-decoration: none;
    color: black;
}


.home>.home-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home>.home-footer>h3 {
    font-size: .9rem;
    color: gray;
    font-weight: 400;
}

.home>.home-footer>ul {
    display: flex;
    align-items: center;
    gap: 20px;
    width: fit-content;
    height: fit-content;
}

.home>.home-footer>ul>li {
    list-style: none;
}

.home>.home-footer>ul>li>a>img {
    width: 30px;
    height: 30px;
}

/* home page  */




@keyframes open {
    from {
        opacity: 0;
    }

    to {
        opacity: 100;
    }
}

@media screen and (max-width:1000px) {
    :root {
        font-size: 15px;
    }
}

@media screen and (max-width:800px) {

    .home>.area>.s1>span>h3 {
        font-size: 1.5rem;
    }
    .home>.area>.s1>span>p {
        width: 90%;
    }
    .home>.area>.s1>div {
        display: flex;
        cursor: pointer;
        gap: 40px;
        flex-shrink: 0;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        height: fit-content;
    }
    .home>.area>.s1>div>div:nth-child(2) {
        transform: none;
        border-color: rgb(98, 180, 255) !important;
    }
    .home>.area>.s1>div>div {
        display: flex;
        min-height: 0px;
        height: fit-content;
        gap: 50px;
        border-radius: 10px;
        box-shadow: 0 20px 20px -5px rgba(0, 0, 0, 0.178);
        padding-inline: 40px;
        padding-block: 50px;
        border: 1px solid rgba(98, 179, 255, 0.308);
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        flex: 1;
    }

    .home>.area>.s2>span>h3 {
        font-size: 1.5rem;
    }
    .home>.area>.s2>span>p {
        width: 100%;
        font-size: .9rem;
    }
    .home>.area>.s2>div>div {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 30px;
        width: 100%;
        height: fit-content;
    }
    .home>.area {
        padding: 5%;
        padding-top: 50px;
        display: flex;
        gap: 200px;
        flex-direction: column;
        flex-grow: 1;
        background-color: rgba(128, 128, 128, 0.082);
        border-radius: 10px;
        margin-block: 50px;
    }

}

@media screen and (max-width:600px){
    :root{
        font-size: 14px;
    }
    .home>.area>.s1>span>h3 {
        font-size: 1.3rem;
    }
    .home>.area>.s1>span>p {
        width: 100%;
        text-align:center;
        color: rgb(155, 155, 155);
    }
    .home>.area>.s2>span>h3 {
        font-size: 1.2rem;
    }
    .home>.area>.s2>span>p {
        width: 100%;
        color: rgb(155, 155, 155);
        font-size: .9rem;
    }
}

@media screen and (max-width:500px){
    .home>.area>.s1>div>div {
        display: flex;
        min-height: 0px;
        height: fit-content;
        gap: 50px;
        border-radius: 10px;
        box-shadow: 0 20px 20px -5px rgba(0, 0, 0, 0.178);
        padding-inline: 15px;
        padding-block: 30px;
        border: 1px solid rgba(98, 179, 255, 0.308);
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        flex: 1;
    }
    .home>.area>.s2>div>div>div {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 25px;
        border: 1px solid rgba(97, 179, 255, 0.301);
        padding-inline: 25px;
        padding-block: 30px;
        border-radius: 10px;
        box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.26);
    }
    .home>.area>.s2>span>p {
        width: 100%;
        color: rgb(155, 155, 155);
    }
    .home>.area {
        padding: 5%;
        display: flex;
        gap: 100px;
        flex-direction: column;
        flex-grow: 1;
        background-color: rgba(128, 128, 128, 0.082);
        border-radius: 10px;
        margin-block: 50px;
    }
    .home>.area>.s1 {
        display: flex;
        flex-direction: column;
        gap: 70px;
        width: 100%;
        padding-top: 10%;
        height: fit-content;
    }
    .home>.area>.s2 {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
    .home>.home-footer>ul {
        display: flex;
        align-items: center;
        gap: 10px;
        width: fit-content;
        height: fit-content;
    }
    .home>.home-footer>ul>li>a>img {
        width: 25px;
        height: 25px;
    }
    .anket-Page>.anket-footer>ul {
        gap: 10px;
    }
    .anket-Page>.anket-footer>ul>li>a>img {
        width: 25px;
        height: 25px;
    }
}