@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #444;
    font-family: "Vazirmatn", serif;
}
a{
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover{
    color: green;
}
.container{
    display: flex;
    overflow: hidden;
    position: relative;
    flex-direction: column;
    align-items: center;
    padding: 64px;
    width: 900px;
    height: 471px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 0 32px 0 rgba(0,0,0, 0.16);
}
.tag{
    top: 30px;
    transform: rotate(-33deg);
    left: -70px;
    padding: 13px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    width: 300px;
    text-align: center;
    background: #ff6464;
}
.logo{
    margin-bottom: 32px;
}
.heading-title{
    font-size: 24px;
    margin-bottom: 8px;

}
.heading-description{
    color: #888;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 48px;
}
.address-box,
.phone-box{
    gap: 24px;
    display: flex;
    align-items: center;
}
.address-box{
    margin-bottom: 16px;
}

@media only screen and (max-width: 960px) {

    .container{
        width: 100%;
        height: 100vh;
        display: flex;
        overflow: hidden;
        border-radius: 0;
        position: static;
        box-shadow: none;
        background: #fff;
        align-items: center;
        padding: 48px 0 64px 0;
        flex-direction: column;
        justify-content: start;
    }
    .tag{
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        padding: 20px 0;
        width: 100%;
        transform: rotate(0);
        

    }
    .heading-title{
        font-size: 18px;

    }

    .heading-description{
        font-size: 14px;
    }
    .address-box,
    .phone-box{
        padding: 0 32px 16px 32px;
        flex-direction: column;
        text-align: center;
    }
  }