/* ============================
   GLOBAL STYLES
   ============================ */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ddd;
}

/* ============================
   PAGE WRAPPER
   ============================ */
#page {
    width: 90%;
    max-width: 900px;
    margin: auto;
    margin-bottom: 4px;
    background: #fff;
    padding: 0;
}

/* ============================
   MAIN CONTENT
   ============================ */
#main {
    padding: 20px;
    background-color: #eee;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    background-color: #333;
    color: #ccc;
    padding: 2px 0;
    text-align: center;
}

.footer-inner {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.site-footer p {
    margin: 0px;
}

.footer-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #0078D7;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* ============================
   VIDEO CARD LAYOUT
   ============================ */
.video-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 15px;
    background: #f8f8f8;
    border: 1px solid #ccc;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    transition: background 0.2s, box-shadow 0.2s;
}

.video-card:hover {
    background: #eaeaea;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.video-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.video-info p {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

/* ============================
   MOBILE MENU
   ============================ */
@media (max-width: 700px) {
    .topmenu {
        display: none;
        flex-direction: column;
        background-color: #333;
        padding: 10px;
    }

    .topmenu.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
        background-color: #333;
        color: white;
        padding: 10px;
        cursor: pointer;
        text-align: center;
        font-size: 18px;
    }
}

@media (min-width: 701px) {
    .menu-toggle {
        display: none;
    }

    .topmenu {
        display: flex;
    }
}

/* ============================
   FOOTER MOBILE TWEAKS
   ============================ */
@media (max-width: 700px) {
    .site-footer {
        padding: 4px 0;
        font-size: 10px;
        line-height: 1.1;
    }

    .site-footer p {
        font-size: 8px;
        margin: 0;
        padding: 2px 0;
        line-height: 1.1;
    }

    .footer-wrapper {
        padding: 0;
        margin: 0;
    }
}

/* ============================
   PROGRESS CIRCLE
   ============================ */
#progress-circle-container {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    position: relative;
}

#progress-circle {
    transform: none !important;
}

#progress-ring {
    transform: rotate(-90deg);
    transform-origin: 75px 75px;
}

#progress-text {
    font-size: 28px;
    font-weight: bold;
    fill: #333;
    transform: none !important;
}

#progress-circle circle {
    transition: stroke-dashoffset 0.05s linear;
}

#progress-area {
    text-align: center;
}

#progress-circle-container {
    display: inline-block;
}

#upload-overlay {
    display: none;
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

#uploading-text {
    margin-top: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================
   SCROLL-TO-TOP BUTTON
   ============================ */
#myBtn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #5d3424;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 10px;
  font-size: 12px;
}

#myBtn:hover {
  background-color: #3f2b1f;
}

/* ============================
   HEADER (WORKING VERSION)
   ============================ */
.dsr-header {
    position: relative;
}

.dsr-header-bg {
    display: block;
    width: 100%;
    height: auto;
}

/* Logo wrapper (position + mask) */
.dsr-logo-wrap {
    position: absolute;
    top: 10px;
    left: 90px;
    z-index: 10;

    padding: 4px;
    border-radius: 50%; /* optional: matches the round logo */
    background: none;   /* no mask needed */
}

.dsr-header-logo {
    width: 200px;  /* round logos usually look better slightly smaller */
    height: auto;
    display: block;
}

