body {
    font-family: 'Arial', sans-serif;
    background-color: #e9c948;
    margin: 0;
    padding: 0;
    /* display: flex; */
    /* flex-direction: column; */
    height: 100vh;
    overflow: hidden;
}

@font-face {
    font-family: 'Mission Script';
    font-style: normal;
    font-weight: normal;
    src: local('Mission Script'), url('fonts/Mission-Script.woff') format('woff');
}

@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

header, footer {
    background-color: #bb2023;
    color: #e9c948;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
}

header{
    justify-content: space-around;
}

.no-way{
    text-decoration: underline;
}

@keyframes scrollFooter {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

footer {
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #bb2023;
    width: 100vw;
}

.footer-1, .footer-2 {
    /* content: " ● NOT LEGALLY BINDING ● NOT LEGALLY BINDING ● NOT LEGALLY BINDING ● NOT LEGALLY BINDING ● NOT LEGALLY BINDING "; */
    position: absolute;
    white-space: nowrap;
    width: 100%;
    display: flex;
    justify-content: space-around;
    text-align: center;
    font-size: 2vw; /* Adjust this value as required */
    animation: scrollFooter 15s linear infinite;
}


.footer-1{
    left: 0;
}

.footer-2 {
    /* left: 100%; */
}

.main-content {
    overflow-y: auto;
    /* padding: 20px; */
    display: grid;
    grid-template-columns: 25% 50% 25%;
    justify-content: space-around;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 100px); /* 70px accounts for header and footer and any additional padding */
    overflow-x: hidden;
}

.left{
    grid-column: 1;
    grid-row: 1 / span 3; /* This makes the left section span all three rows. */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly; /* This will space out the top-left and bottom-left arc-texts. */
}


.standfirst, .middle {
    grid-column: 2;
}

.standfirst{
    padding: 5px 0;
    align-items: center;
    display: flex;
justify-content: center;
}

.arc-text{
    font-family: 'Mission Script';
    text-transform: capitalize;
    font-size: 2vw;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #bb2023;
    letter-spacing: 1px;
    transform: rotate(-15deg);
}

.right {
    grid-column: 3;
    grid-row: 1 / span 3; /* This makes the right section span all three rows. */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly; /* This will space out the top-right and bottom-right arc-texts. */
}

.amazon-text {
    font-size: 2.25vw;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    grid-column: 1/3;
    grid-row: 1;
    padding-top: 1vw;
    padding-bottom: 1.5vw;
    transform: rotate(-5deg);
}

.amazon-text span {
    /* background-color: #b98d5d; */
    margin: 10px;
    padding: 0 15px;
}

.amazon-employee{
    background-color: black;
    color: #00bdd7;
    font-size: 5vw;
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    /* max-width: 800px; */
    padding-bottom: 56.25%;  /* 16:9 Aspect Ratio */
    /* overflow: hidden; */
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: #bb2023 5px solid;
}

.promo-tag {
    position: absolute;
    top: -35px;
    right: -50px;
    overflow: visible;
    color: #bb2023;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 125px;
    height: 125px;
    font-weight: bold;
    pointer-events: none;
    text-align: center;
    z-index: 10;
    transform: rotate(30deg);
}

.promo-tag::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1; /* to ensure it's below the content */
    background-image: url('img/star2.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    animation: rotateBackground 15s linear infinite; /* 10s is the duration; adjust as needed */
}

@keyframes rotateBackground {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.price {
    font-size: 17.5px;
}

.free {
    font-size: 25px;
}

.header-smaller{
    
}

.legal-advice-tag {
     position: absolute;
    top: -15px;
    left: -75px;
    background-color: black;
    color: #e9c948;
    border: 5px solid #bb2023;
    padding: 10px 20px;
    font-weight: bold;
    pointer-events: none;
    text-align: center;
    z-index: 10;
    font-size: 15px;
    animation: expandContractlegal 3s infinite;
}

@keyframes expandContractlegal {
    0%, 100% {
        transform: scale(1.1) rotate(-30deg);
    }
    50% {
        transform: scale(1) rotate(-30deg);
    }
}

@keyframes expandContract {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.seen-on-tv-tag {
    position: absolute;
    bottom: -50px;
    right: -50px;
    background-color: #bb2023;
    color: #e9c948;
    padding: 15px;
    border-radius: 50%;
    font-weight: bold;
    pointer-events: none;
    text-align: center;
    z-index: 10;
    font-size: 16px;
    animation: expandContract 3s infinite;
}

.colin {
    position: absolute;
    bottom: -50px;
    left: -50px;
    background-image: url('img/colin.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    overflow: visible;
    color: #bb2023;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 125px;
    height: 125px;
    font-weight: bold;
    pointer-events: none;
    text-align: center;
    z-index: 10;
}

.colin img{
    width: 100%;
}

.lawyer-info {
    /* padding-top: 30px; */
    /* margin-top: -20px; */
    padding-bottom: 20px;
    text-align: center;
}

.lawyer-name {
    font-family: 'Mission Script';
    font-size: 9vw;
    color: #bb2023;
    stroke: 2px solid #e9c948;
    padding-top: 2vw;
    margin-bottom: -2vw;
}

.barrister {
    text-transform: uppercase;
    font-size: 2vw;
}

.lawyer-info img {
    vertical-align: middle;
    max-width: 2vw;
    margin-top: -6px;
}

.quote {
    font-style: italic;
    margin-top: 10px;
    text-transform: capitalize;
    color: #e9c948;
    font-size: 1.05vw;
    font-weight: bold;
}


.quote span{
    padding: 4px 8px;
    background-color: black;
}

iframe {
    width: 100%;
}

/* For tablets or smaller desktops */
@media (max-width: 950px) {
    
    header{
        font-size: 3.15vw;
    }
    
    
    .main-content {
        /* grid-auto-rows: 20% 20% 50%; */
        /* align-content: space-evenly; */
        height: 100%;
    }

    .arc-text{
        font-size: 18px;
    }

    
    .colin {
        width: 100px;
        height: 100px;
        left: -35px;
    }
    
    .promo-tag {
        width: 100px;
        height: 100px;
        right: -35px;
    }
    .price {
        font-size: 15px;
    }
    
    .free {
        font-size: 20px;
    }

    .legal-advice-tag {
        font-size: 12px;
        padding: 11px;
    }
    
    .seen-on-tv-tag {
        right: -35px;
   font-size: 14px;
   padding: 13px;
    }
}

/* For mobile devices */
@media (max-width: 850px) {
    .main-content {
        grid-template-columns: 1fr;
        /* grid-auto-rows: 20% 20% 50%; */
        /* align-content: space-evenly; */
        height: 100%;
    }
 
    .footer-1, .footer-2{
        font-size: 2.5vw !important;
    } 

    .amazon-text{
        padding-bottom: 0;
        font-size: 5.5vw;
    }

.amazon-employee{
font-size: 10vw;
}

.standfirst{
    padding: 5px 0;

}

    .standfirst, .middle, .right {
        grid-column: 1;
    }

    .middle{
        grid-row: 2;
    }

    .left, .right{
        grid-row: 3;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .sides{
        display: flex;
        width: 100%;
        justify-content: center;
        padding-top: 3px;
        padding-bottom: 5px;
    }

    .arc-text{
        font-size: 4vw;
        transform: none;
        padding: 0 5px;
    }
    
    .middle{
        display: grid;
        grid-template-columns: 90%;
        justify-content: center;
        padding-top: 5px;
    }

    .colin {
        width: 60px;
        height: 60px;
        left: -15px;
        bottom: -40px;
    }

    .promo-tag {
        width: 66px;
        height: 66px;
        right: -15px;
        top: -20px;
    }
    .price {
        font-size: 12px;
    }
    
    .free {
        font-size: 15px;
    }

    .legal-advice-tag {
        font-size: 10px;
        padding:7px;
        left: -10px;
        transform: rotate(0deg) !important;
        top: -15px;
    }

    .seen-on-tv-tag {
        position: absolute;
        right: -10px;
        bottom: -40px;
        background-color: #bb2023;
        color: #e9c948;
        padding: 10px;
        border-radius: 50%;
        font-weight: bold;
        pointer-events: none;
        text-align: center;
        z-index: 10;
        font-size: 11px;
    }

    .lawyer-info{
        padding-top: 10px;
    }

    .lawyer-name{
        font-size: 12vw;
    }

    .barrister{
        font-size: 4vw;
    }

    .quote{
        font-size: 3.5vw;
    }
    
    .lawyer-info img {
    max-width: 4vw;
}




}
