@font-face {
    font-family: 'borna-medium';
    src: url('../../contents/fonts/borna-medium.ttf') format('truetype');
}

.text-font {
    font-family: 'borna-medium', sans-serif; /* Use borna-medium as the default font */
}

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container and sections */
.container {
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent scrolling */
    display: flex;
    flex-direction: column;
    background-color: #FFEFE4;
}

/* Enable scrolling on mobile and tablet screens only */
@media (max-width: 1024px) {
    .container {
        overflow-y: auto; /* Enable scrolling only for mobile and tablet */
        height: auto;
    }
}

/* Main section container */
#A {
    position: relative;
    background-color: #F15C40;
    min-height: 70vh; /* Adjusted to min-height to avoid fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: monospace;
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: center;
    padding: 3rem;
    flex-direction: column;
}

/* Sticker image positioning */
.sticker-image {
    position: relative;
    top: 7%;
    left: -24%;
    width: 350px;
    margin: 40px 0 33px;
    height: auto;
    z-index: 10;
}

/* Circle images container */
.circle-images {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Circle image styling */
.circle-image {
    width: 335px;
    height: 335px;
    border-radius: 50% 44% 49% 50% / 51% 55% 45% 46%;
    border: 8px solid #FFEFE4;
    margin: 2.8rem;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #A {
        font-size: 1rem;
        padding: 1.5rem;
    }

    #B {
        height: auto; /* Allow div to expand with content */
        min-height: 30vh; /* Ensure a base height */
    }

    .sticker-image {
        width: 200px;
    }

    .circle-image {
        width: 150px;
        height: 150px;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .circle-images {
        flex-direction: column;
        align-items: center;
    }

    .sticker-image {
        width: 250px;
        text-align: center;
        left: 0px;
    }

    .circle-image {
        width: 350px;
        height: 350px;
        margin: 0.5rem;
    }

    .instagram-sticker {
        width: 180px !important;
        position: absolute;
        left: 18px !important;
        top: calc(100% - 32px);
        z-index: 1;
    }

    .website-text {
        display: none;
    }

    .address-list {
        font-size: 21px !important;
    }

        .address-list li {
            margin-bottom: 25px !important;
        }
}

/* General styling */
#B {
    background-color: #FFEFE4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: center;
    padding: 3rem;
    color: #333;
    position: relative;
    overflow: hidden;
    height: 30vh; /* Default height for larger screens */
}

/* Wave SVG styling */
.wave-container {
    position: relative;
    height: 4rem; /* Divider height */
    width: 100%;
    top: calc(-4rem / 2); /* Adjust wave position */
    overflow: hidden;
}

/* Logo styling */
.logo {
    position: absolute;
    opacity: 0.3;
    width: 50px;
    height: auto;
}

.logo1 {
    top: 10%;
    left: 29%;
}

.logo2 {
    top: 70%;
    left: 75%;
}

.logo3 {
    top: 5%;
    left: 95%;
}

.logo4 {
    top: 75%;
    left: 34%;
}

.logo5 {
    top: 55%;
    left: 10%;
}

/* Wave SVG styling */
svg {
    width: 100%;
    height: 100%;
}

    svg path {
        fill: #F15C40;
    }

    svg rect {
        fill: #FFEFE4;
    }

/* Instagram sticker styling */
.instagram-sticker {
    width: 200px;
    position: absolute;
    left: 300px;
    top: calc(100% - 32px);
    z-index: 1;
}

/* Website text styling */
.website-text {
    position: relative;
    top: -62%;
    left: -30.5%;
    color: #17B3E1;
    font-size: 24px;
    font-weight: bold;
    width: 350px;
    margin-bottom: 33px;
    z-index: 10;
    text-align: center;
}

/* Address list styling */
.address-list {
    font-size: 25px;
    position: absolute;
    color: #f15c40;
    right: 6%;
    list-style-type: none;
    padding: 10px;
    text-align: right;
    direction: rtl;
}

    .address-list li {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

/* Address logo styling */
.address-logo {
    width: 25px;
    height: auto;
    margin-left: 10px; /* Space between logo and address text */
}

/* Address list styling for smaller screens */
@media (max-width: 320px) {
    .address-list {
        margin-top: 0px;
        font-size: 17px !important;
    }

        .address-list li {
            margin-bottom: 10px !important;
        }

    .instagram-sticker {
        width: 155px !important;
    }

    .circle-image {
        width: 300px !important;
        height: 300px !important;
    }
}

/* Styles specifically for iPhone SE */
@media screen and (width: 375px) and (height: 667px) {
    .address-list {
        margin-top: 0px;
        font-size: 17px !important;
    }

        .address-list li {
            margin-bottom: 10px !important;
        }
}

/* Hide website text on mobile and tablet screens */
@media (max-width: 1024px) {
    .website-text {
        display: none;
    }
}


/* Styles specifically for iPad Air and iPad Pro with width 820px and height 1180px */
@media screen and (width: 820px) and (height: 1180px) {
    .circle-image {
        width: 335px;
        height: 335px;
        border-radius: 50% 44% 49% 50% / 51% 55% 45% 46%;
        border: 8px solid #FFEFE4;
        margin: 0.5rem;
    }

    .instagram-sticker {
        width: 200px;
        position: absolute;
        left: 78px;
        top: calc(100% - 30px);
        z-index: 1;
    }

    .address-list {
        font-size: 29px;
        color: #f15c40;
        right: 6%;
        list-style-type: none;
        padding: 10px;
        text-align: right;
        direction: rtl;
    }

        .address-list li {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }
}

/* Styles specifically for iPad Mini with width 768px and height 1024px */
@media screen and (width: 768px) and (height: 1024px) {
    .circle-image {
        width: 300px;
        height: 300px;
        margin: 1rem;
    }

    .instagram-sticker {
        width: 200px;
        position: absolute;
        left: 75px;
        top: calc(100% - 32px);
        z-index: 1;
    }

    .address-list {
        font-size: 25px;
        position: sticky;
        color: #f15c40;
        right: 6%;
        list-style-type: none;
        padding: 10px;
        text-align: right;
        direction: rtl;
    }

        .address-list li {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }
}


/* Styles specifically for iPad Pro with width 1024px and height 1366px */
@media screen and (width: 1024px) and (height: 1366px) {
    .circle-image {
        width: 350px;
        height: 350px;
        margin: 1rem;
    }

    .instagram-sticker {
        width: 200px;
        position: absolute;
        left: 75px;
        top: calc(100% - 32px);
        z-index: 1;
    }

    .address-list {
        font-size: 35px;
        position: sticky;
        color: #f15c40;
        right: 6%;
        list-style-type: none;
        padding: 10px;
        text-align: right;
        direction: rtl;
    }

        .address-list li {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }

    .address-logo {
        width: 35px;
        height: auto;
        margin-left: 10px;
    }
}


/* Styles specifically for NestHub Max with width 1024px and height 1366px */
@media screen and (width: 1280px) and (height: 800px) {
    .circle-image {
        width: 250px;
        height: 250px;
        margin: 1rem;
    }

    .instagram-sticker {
        width: 200px;
        position: absolute;
        left: 165px;
        top: calc(100% - 42px);
        z-index: 1;
    }

    .sticker-image {
        width: 250px;
        margin-bottom: 50px;
    }

    .address-list {
        font-size: 25px;
        position: sticky;
        color: #f15c40;
        right: 6%;
        list-style-type: none;
        padding: 10px;
        text-align: right;
        direction: rtl;
    }

        .address-list li {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }

    .address-logo {
        width: 25px;
        height: auto;
        margin-left: 10px;
    }

    #B {
        height: 35vh;
    }
}

/* This applies only to devices with a max width of 1024px, commonly covering tablets and smaller screens */
@media only screen and (max-width: 1024px) {
    #B {
        height: 50vh;
        padding-top: 0;
        padding-bottom: 0;
    }

    .address-list {
        padding-right: 0;
    }
}


#typography-dilmon {
    object-fit: scale-down !important;
}


/* My Laptop Monitor */
@media screen and (min-width: 1536px) and (max-width: 1536px) and (min-height: 695.200px) and (max-height: 695.200px) {

    /* Instagram sticker */
    .instagram-sticker {
        width: 200px;
        position: absolute;
        left: 230px;
        top: calc(100% - 35px);
        z-index: 1;
    }

    /* Circle images wrapper */
    .circle-images {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 5rem;
        flex-wrap: wrap;
    }

    /* Sticker image */
    .sticker-image {
        position: relative;
        top: 7%;
        left: -24%;
        width: 250px;
        margin: 40px 0 33px;
        height: auto;
        z-index: 10;
    }

    /* Individual circle image */
    .circle-image {
        width: 300px;
        height: 300px;
        border-radius: 50% 44% 49% 50% / 51% 55% 45% 46%;
        border: 8px solid #FFEFE4;
        margin: 1rem;
        object-fit: cover;
    }
}

/* My Laptop Monitor */
@media screen and (min-width: 2000px) and (min-height: 1000px) {

    .instagram-sticker {
        width: 200px;
        position: absolute;
        left: 400px;
        top: calc(100% - 32px);
        z-index: 1;
    }

    .website-text {
        position: relative;
        top: -62%;
        left: -31.3%;
        color: #17B3E1;
        font-size: 24px;
        font-weight: bold;
        width: 350px;
        margin-bottom: 0;
        z-index: 10;
        text-align: center;
    }

    /* Circle images wrapper */
    .circle-images {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .sticker-image {
        position: relative;
        top: 0;
        left: -23%;
        width: 350px;
        margin: 40px 0 33px;
        height: auto;
        z-index: 10;
    }

    .circle-image {
        width: 450px;
        height: 450px;
        border-radius: 50% 44% 49% 50% / 51% 55% 45% 46%;
        border: 8px solid #FFEFE4;
        margin: 3rem;
        object-fit: cover;
    }
}

@media screen and (min-width: 1528px) and (max-width: 1536px) and (min-height: 695px) and (max-height: 800px) {

    /* Instagram sticker */
    .instagram-sticker {
        width: 200px;
        position: absolute;
        left: 230px;
        top: calc(100% - 35px);
        z-index: 1;
    }

    /* Circle images wrapper */
    .circle-images {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 5rem;
        flex-wrap: wrap;
    }

    /* Sticker image */
    .sticker-image {
        position: relative;
        top: 7%;
        left: -24%;
        width: 250px;
        margin: 40px 0 33px;
        height: auto;
        z-index: 10;
    }

    /* Individual circle image */
    .circle-image {
        width: 300px;
        height: 300px;
        border-radius: 50% 44% 49% 50% / 51% 55% 45% 46%;
        border: 8px solid #FFEFE4;
        margin: 1rem;
        object-fit: cover;
    }
}
