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

body {
    background-color: rgb(248, 246, 242);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    direction: rtl;
    text-align: right;
}

@font-face {
    font-family: Aldhabi;
    src: url("fonts/alfont_com_AlFont_com_4_30.ttf");
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    height: 120px;
    width: 100%;
    background-color: white;
}

.logo {
    margin-right: 5px;
}

.logo img {
    width: 280px;
    height: auto;
    display: block;
    height: 120px;
}

.navlinks {
    size: 30px;
    display: flex;
    flex: 1;
    justify-content: center;
    margin-left: 90px;
}

.navlinks ul {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    font-size: 25px;
}

.navlinks a {
    text-decoration: none;
    color: rgb(18, 45, 82);
    white-space: nowrap;
}

.navlinks a:hover {
    color: rgb(45, 90, 140);
}

.icons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    font-size: 30px;
    margin-right: 1100px;
}

.icons a {
    color: rgb(18, 45, 82);
}

.sign {
    background-color: rgb(18, 45, 82);
    width: 30%;
    border-radius: 20px;
    margin: 150px auto 80px;
    padding: 30px;
    min-height: 400px;
}

.sign .title {
    font-style: oblique;
    font-family: Aldhabi;
    color: white;
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sign label {
    color: rgb(245, 245, 245);
    font-size: 20px;
}

.sign input {
    width: 100%;
    border-radius: 20px;
    height: 30px;
}

.sign button {
    border-radius: 20px;
    font-size: large;
    color: rgb(17, 50, 25);
    margin-top: 20px;
    margin-right: 300px;
    height: 30px;
    width: 100px;
    margin-bottom: 30px;
    display: block;
    margin: 20px auto 30px;
}

footer {
    background-color: white;
    color: rgb(18, 45, 82);
    padding: 40px 60px;
}

footer {
    clear: both;
}

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

.footer-section {
    width: 40%;
}

.footer-section h2,
.footer-section h3 {
    margin-bottom: 15px;
    color: rgb(18, 45, 82);
}

.footer-section p {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgb(18, 45, 82);
    text-decoration: none;
}

.footer-section a:hover {
    color: rgb(45, 90, 140);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    color: rgb(18, 45, 82);
    font-size: 24px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: rgb(45, 90, 140);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgb(220, 220, 220);
    font-size: 14px;
    color: rgb(18, 45, 82);
}

@media (max-width: 768px) {
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .sign {
        flex: 1;
    }

    nav {
        flex-direction: column;
        height: auto;

    }

    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .logo img {
        width: 150px;
        height: auto;

    }

    .icons {
        display: flex;
        justify-content: center;
        margin: 15px auto;
    }

    .sign {
        width: 60%;
    }

    .footer-contanier {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-section {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .copyright {
        margin-top: 20px;
        font-size: 13px;
    }

    footer {
        padding: 30px 20px;
    }



}