:root{
    --theme-primary-base: #0086fe;
    --darl-element-dark-mode:#292335;
    --theme-bg : #EAF2F4;
}
*{
    font-family: IRANRounded;
    font-size: 1rem;
    font-weight: 500;
    color:var(--darl-element-dark-mode);
}
number{
    font-family: IRANYekanXFaNum;
}
a{
    text-decoration: none;
    color:var(--darl-element-dark-mode);
    transition: color 0.3s ease;
}
a:hover{
    color:var(--theme-primary-base)
}
body{
    background: var(--theme-bg);
    color:var(--darl-element-dark-mode);
    direction: rtl;
}
.content{
    width: 1024px;
    margin: auto;
}
header{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    /* background: #fff; */
    border-radius: 8px;
    padding: 10px;
}
header logo{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
header logo img{
    width: 60px;
}
header logo text{
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
}
header logo text span{
    font-size: 1.1rem;
}
header logo text span:last-child{
    color: var(--theme-primary-base);
    font-size: .9rem;
}
.weather {
    font-size: 1.1em;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
}
.weather i {
    font-size: 3.2em;
    margin: 0;
    animation: spin 2s infinite linear;
}
.weather text{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.weather text span{}
.weather text span:last-child{
    font-size: .8rem;
}
.body-site{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 95%;
    height: 500px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
}
.body-site img{
    width: 100%;
}
.body-site .body-text{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}
.body-site .body-text h1{
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}
.body-site .body-text p{
    margin: 0;
}
.body-site .body-text items{
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
}
.body-site .body-text items item{display: flex;align-content: center;justify-content: center;align-items: center;}
.body-site .body-text items item a{}
.body-site .body-text items item a i{
    font-size: 1.7rem;
}
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 150%; /* Position the tooltip above the text */
    left: 50%;
    margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.container {
    width: 98%;
    margin: auto;
}

/* استایل‌ها برای دستگاه‌های بزرگتر از 600 پیکسل */
@media (min-width: 600px) {
    .container {
        width: 97%;
    margin: auto;
    }

    h1 {
        font-size: 2em;
    }
    .body-site img{
        width: 460px;
    }
}

/* استایل‌ها برای دستگاه‌های بزرگتر از 768 پیکسل */
@media (min-width: 768px) {
    .container {
        width: 85%;
    margin: auto;
    }
    .body-site img{
        width: 460px;
    }
    h1 {
        font-size: 2.5em;
    }
}

/* استایل‌ها برای دستگاه‌های بزرگتر از 992 پیکسل */
@media (min-width: 992px) {
    .container {
        width: 80%;
    margin: auto;
    }
    .body-site img{
        width: 460px;
    }
    h1 {
        font-size: 3em;
    }
}