* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    z-index: 1;
    pointer-events: none;
}

html, body {
    height: 100vh;
    width: 100vw;
    font-family: sans-serif;
    font-style:oblique;
    display: flex;
    flex-direction: column;
    background: url('../media/ybsdncnu/vahdat.jpg') no-repeat center center;
    background-size: cover;
    direction: rtl;
}

h1 {
    text-align: center;
    color: white;
    margin: 30px auto;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 10;
}
 
a {
    text-decoration: none;
}

.border-box {
    width: 80vw;
    height: 80vh;
    position: absolute;
    border: 5px solid white;
    border-radius: 0 0 1rem 1rem;
    border-top: none;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-self: center;
    overflow: visible;
    z-index:9;
}

.icons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    z-index: 10;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    text-align: center;
    transform: translateY(60%);
}

.icon {
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.icon-label {
    margin-top: 10px;
    color: white;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.container {
    z-index: 1000;
}
.notification {
    border: 1px solid white;
    border-radius: 10px;
    background-color: #ffffffcc;
    padding: 5% 5%;
    margin: 10% 20%;
    position: absolute;
}

svg {
    width: 50px;
    height: 50px;
}

@media (orientation: portrait) {

    body::before {
        background: linear-gradient(to right, transparent, rgba(0,0,0,0.7));
    }
    .icons-container {
        flex-direction: column;
        align-items: flex-start;
        margin: 0 0 20% 0;
        transform: translatex(6.5%);
    }
     .icon-item {
        flex-direction: row;
        align-items: center;
        width: auto;
        margin-left: 10px;
    }
    .icon-label {
        margin-top: 0;
        margin-right: 15px;
        font-size: 15px;
    }
}