/* fonts */
@font-face {
    font-family: iransans;
    src: url(../fonts/IRANSansX-Thin.woff2);
    font-weight: 100;
}

@font-face {
    font-family: iransans;
    src: url(../fonts/IRANSansX-Light.woff2);
    font-weight: 200;
}

@font-face {
    font-family: iransans;
    src: url(../fonts/IRANSansX-Regular.woff2);
    font-weight: 300;
}

@font-face {
    font-family: iransans;
    src: url(../fonts/IRANSansX-Medium.woff2);
    font-weight: 400;
}

@font-face {
    font-family: iransans;
    src: url(../fonts/IRANSansX-Bold.woff2);
    font-weight: 500;
}

@font-face {
    font-family: iransans;
    src: url(../fonts/IRANSansX-ExtraBold.woff2);
    font-weight: 600;
}

/* general styles */
* {
    font-family: iransans;
}

body,
html {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin: 0;
    color: #363131;
}

h1 {
    font-size: 34px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

ul,
ol {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.container {
    width: 1350px;
    margin: auto;
}

.theme-color {
    color: #DE474D;
}

.white-color {
    color: #ffffff;
}

/* loading */
.loading-state {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
}

.loading {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid #ddd;
    border-top-color: #DE474D;
    animation: loading 1s linear infinite;
}

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}

/* motion */
.motion-container {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    transition: .3s;
}

.layer-1,
.layer-2,
.layer-3 {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.layer-1 {
    z-index: 1006;
    animation: 2s layer1 forwards 2s;
}

.layer-2 {
    z-index: 1005;
    animation: 2s layer2 forwards 4s;
}

.layer-3 {
    z-index: 1004;
}

@keyframes layer1 {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes layer2 {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.layer-1 img,
.layer-2 img,
.layer-3 img,
.layer-4 img {
    width: 100%;
}

.layer-4 {
    position: relative;
    background-color: #102c4c;
}

.layer-4 img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.layer-4 img:nth-child(1) {
    z-index: 1003;
}

.layer-4 img:nth-child(2) {
    z-index: 1002;
}

.layer-4 img:nth-child(2) {
    transform: translateY(1200px);
    animation: 2s layer4 forwards 6s;
}

@keyframes layer4 {
    100% {
        transform: translateY(0);
    }
}

.layer-5 img:nth-child(1) {
    width: 271px;
    position: absolute;
    top: 80px;
    left: 100px;
    z-index: 1007;
    animation: 4s layer6 forwards 10s;
    transform: translate(-1000px, -1000px);
}

.layer-5 img:nth-child(2) {
    width: 343px;
    position: absolute;
    top: 150px;
    right: 50px;
    z-index: 1008;
    animation: 4s layer5 forwards 8s;
    transform: translateX(1000px);
}

@keyframes layer5 {
    100% {
        transform: translateX(0);
    }
}

@keyframes layer6 {
    100% {
        transform: translate(0, 0);
    }
}

.layer-6 img {
    position: absolute;
    width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 1000px);
    animation: 4s layer7 forwards 13s;
    z-index: 1010;
}

@keyframes layer7 {
    80% {
        transform: translate(-50%, -53%);
    }

    90% {
        transform: translate(-50%, -47%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 0px 0px 0px #d6d6d6;
    z-index: 9999;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header-logo {
    width: 60px;
}

.main-menu ul {
    display: flex;
    gap: 2rem;
}

.main-menu ul li a {
    font-weight: 500;
    color: white;
    transition: .3s;
}

.main-menu ul li a:hover {
    color: gray !important;
}

.sign-container a {
    background-color: white;
    border: 1px solid white;
    color: #DE474D;
    border-radius: .8rem;
    padding: .6rem 1.5rem;
    font-size: 14px;
    transition: .3s;
}

.sign-container a:hover {
    background-color: white !important;
    border: 1px solid #DE474D !important;
    color: #DE474D !important;
}

/* main */
main {
    margin-top: 5rem;
}

.triple-container {
    position: relative;
}

.triple-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

.triple-inner-container {
    position: relative;
    z-index: 2;
}

.whatis-container,
.why-container,
.howto-container {
    display: flex;
}

.whatis-container img,
.why-container img,
.howto-container img {
    width: 550px;
}

.whatis-container h3,
.why-container h3,
.howto-container h3 {
    margin-top: 5rem;
}

.whatis-container p,
.why-container p,
.howto-container p {
    line-height: 30px;
    text-align: justify;
    margin-top: 1rem;
}

.why-inner-container {
    display: flex;
    align-items: center;
}

.why-inner-container img {
    width: 90px !important;
}

.main-information {
    position: relative;
    padding-top: 3rem;
    margin-bottom: 5rem;
}

.top-bg {
    position: absolute;
    top: 0;
    width: 100%;
}

.top-information-container {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 4rem
}

.top-information-container img {
    width: 151px;
}

.top-information-inner-container {
    margin-bottom: 3rem;
}

.floating-logo {
    position: absolute;
    width: 151px;
    transition: 1s;
    z-index: 6;
}

.stable-logo {
    opacity: 0;
    visibility: 0;
}

.top-heading {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.top-description {
    width: 600px;
    text-align: justify;
    color: #666666;
}

.modem-buttons-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.modem-request-button {
    background-color: #DE474D;
    border: 1px solid white;
    color: white;
    border-radius: .8rem;
    padding: .6rem 1.5rem;
    transition: .3s;
}

.modem-request-button:hover {
    background-color: white;
    border: 1px solid #DE474D;
    color: #DE474D;
}

.modem-receive-button {
    background-color: white;
    border: 1px solid #DE474D;
    border-radius: .8rem;
    padding: .6rem 1.5rem;
    transition: .3s;
}

.modem-receive-button:hover {
    background-color: #DE474D;
    border: 1px solid white;
    color: white;
}

.three-rects-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 3rem;
}

.three-rects-container {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
    padding: 0 10rem;
}

.three-rects-inner-container {
    position: relative;
    background-color: white;
    border-radius: 1rem;
    padding: 1rem 1rem 4rem 1rem;
    text-align: center;
    box-shadow: 0px 7px 25px 5px #efefef;
    transition: .3s;
}

.three-rects-inner-container:hover>div>h5 {
    transition: .3s;
}

.three-rects-inner-container:hover {
    background-color: #DE474D;
    color: white;
    cursor: pointer;
    transform: scale(1.1);
}

.three-rects-inner-container:hover>div>h5 {
    color: white;
}

.three-rects-inner-container img {
    width: 100%;
    margin-top: -2rem;
}

.three-rects-div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2rem;
    width: 100%;
}

.three-rects-div h5 {
    margin-bottom: 2rem
}

.three-rects-div p {
    padding: 0 1rem;
    font-size: 14px
}

.questions {
    width: 100%;
}

.questions-container {
    position: relative;
    margin-bottom: 5rem;
}

.questions-left h6 {
    position: absolute;
    top: 210px;
    left: 235px;
}

.questions-right h6 {
    position: absolute;
    top: 210px;
    right: 275px;
}

.questions-left p,
.questions-right p {
    position: absolute;
    top: 255px;
    width: 250px;
    text-align: justify;
    color: white;
    font-weight: 200;
    font-size: 14px;
}

.questions-left p {
    left: 265px;
}

.questions-right p {
    right: 300px;
}

.iotourist-container {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.iotourist-bg {
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1;
}

.iotourist-inner-container {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
}

.iotourist-inner-container img {
    width: 200px;
}

.iotourist-inner-container p {
    text-align: justify;
    line-height: 34px;
    margin-top: 1.5rem;
}

.iotourist-polygon-1 {
    position: absolute;
    left: 0;
    bottom: 100px;
    z-index: 2;
    width: 150px;
}

.iotourist-polygon-2 {
    position: absolute;
    left: 85px;
    bottom: 52px;
    z-index: 2;
    width: 150px;
}

.iotourist-polygon-3 {
    position: absolute;
    left: 20px;
    bottom: 37px;
    z-index: 2;
    width: 110px;
}

/* footer */
.footer-container {
    padding-top: 5.5rem;
    overflow: hidden;
}

footer {
    position: relative;
    height: 500px;
    background-image: linear-gradient(to right, #DE474D 40%, white 60%);
}

footer .container {
    height: 100%;
}

.footer-bg {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    height: 100%;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
}

.footer-left {
    display: flex;
    justify-content: end;
    gap: 6rem;
    width: 80%;
    height: 100%;
    padding-top: 4rem;
}

.footer-lists-header {
    margin-bottom: .5rem;
}

.footer-support {
    width: 30%;
}

.footer-lists h6 {
    font-size: 20px;
}

.footer-underline {
    width: 150px;
}

.footer-right {
    position: relative;
    width: 20%;
    height: 100%;
    margin-top: -100px;
}

.footer-logo {
    display: block;
    width: 165px;
    height: 165px;
}

.footer-logo img:nth-child(1),
.footer-logo img:nth-child(2) {
    position: absolute;
}

.footer-logo img:nth-child(1) {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 200px;
    z-index: 3;
}

.footer-logo img:nth-child(2) {
    left: 50%;
    top: 65px;
    transform: translateX(-50%);
    width: 93px;
    z-index: 4;
}

.footer-linkgroup {
    display: flex;
}

.footer-dashed-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 0px;
    height: 250px;
    border: 2px dashed #DE474D;
}

.footer-circle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 80px;
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 100%;
    background-color: #DE474D;
}

.trusts img {
    width: 98px;
}

.quick-access a {
    display: block;
    color: black;
    margin: 1rem 0;
}

.footer-address {
    display: block;
    margin-bottom: 1rem;
    line-height: 29.19px;
    text-align: justify;
}

.footer-contacts span {
    display: inherit;
}

.footer-contacts li:nth-child(1) {
    margin-bottom: 1rem;
}

.footer-contact-contents {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    color: black;
}

.footer-contact-contents.second span {
    display: block;
}

.footer-contact-contents a {
    color: black;
}

.back-to-top {
    position: absolute;
    left: 100px;
    top: -56px;
    z-index: 3;
    width: 150px;
    height: 158px;
}

.back-to-top img {
    width: 100%;
}

.back-to-top span,
.back-to-top a {
    display: block;
}

.back-to-top span {
    position: absolute;
    left: 50px;
    top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: #DE474D;
    color: white;
    width: 50px;
    height: 50px;
}

.copyright {
    position: absolute;
    bottom: 0;
    z-index: 3;
}

.copyright-line {
    width: 100%;
}

.copyright-rectangle {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
}

.copyright p {
    text-align: center;
    color: white;
    font-weight: 200;
    padding: 0 0 .6rem 0;
}

/* responsive */
@media only screen and (max-width: 1450px) {
    .container {
        width: 1280px;
    }

    .footer-left {
        gap: 4rem;
    }

    .whatis-container img,
    .why-container img,
    .howto-container img {
        width: 450px;
    }

    .questions-left h6 {
        top: 160px;
        left: 170px;
    }

    .questions-right h6 {
        top: 160px;
        right: 170px;
    }

    .questions-left p,
    .questions-right p {
        top: 210px;
        width: 250px;
    }

    .questions-left p {
        left: 200px;
    }

    .questions-right p {
        right: 200px;
    }
}

@media only screen and (max-width: 1330px) {
    .container {
        width: 1080px;
    }

    .footer-left {
        gap: 3rem;
    }

    .three-rects-inner-container {
        padding: 1rem 1rem 5rem 1rem;
    }

    .three-rects-container {
        padding: 0 5rem;
    }
}