/* 
* File Name: flyer_multiple_content_landing_page_v2026.css 
* CSS to display multiple flyers using toggle
*/

*{
    margin: 0;
    padding: 0;
}

.popOutEffect:hover{
    transform: scale(1.05);
}
.main-container{
        max-width: 80%;
        margin:auto;
        margin-top:4%;
}
.download_pdf_link{
        float: right;
        margin-right: 25px;
        margin-top: 40px;
        color: var(--mainCustomAnchorLinkColor);
        text-decoration:underline;
        font-size:16px;
}

.subscribe-button{
        align-items: center;
        justify-content: center;
        display: inline-flex;
        width: 230px;
        height: 45px;
        margin-left: 40px;
        margin-top: 4%;
        font-size: 18px;
        background-color: var(--mainCustomAnchorLinkColor);
        border-color: teal;
        color: white;
        border-radius: 5px;
        text-transform: capitalize;
        cursor: pointer;
}
.flyer-toggle{
        display:none;
}

.toggle-buttons{
        display: flex;
        gap: 15px;
        font-size: medium;
        margin-top: 5px;
        margin-bottom: 10px;
        justify-content: center;
        align-items: center;
}


.toggle-buttons label{
        cursor: pointer;
        padding: 10px 20px;
        border: 2px solid #ccc;
        border-radius: 5px;
        font-weight: 500;
}

.toggle-buttons label:hover{
        background-color: #d0d0d0;
}

#flyer1:checked ~ .toggle-buttons label[for="flyer1"],
#flyer2:checked ~ .toggle-buttons label[for="flyer2"]{
        background-color: #4CAF50;
        color: white;
        border-color: #45a049;
}

.background-container {
        display: none;
}

#flyer1:checked ~ .background-container.flyer-one,
#flyer1:checked ~ .background-container.flyer-one{
        display: block;
}

#flyer2:checked ~ .background-container.flyer-two,
#flyer2:checked ~ .background-container.flyer-two{
        display: block;
}
.download_pdf_link{
        display: none;
}

.main-container:has(#flyer1:checked) .download-flyer1{
        display: inline;
}

.main-container:has(#flyer2:checked) .download-flyer2{
        display: inline;
}

@media(min-width: 1024px){
        .main-container{
                max-width:60%;
        }
}
@media(min-width: 620px) and (max-width: 767px){
        .subscribe-button{
                width:205px;
                height:40px;
                margin-top: 8%;
                margin-bottom: 2%;
                font-size: 16px;
        }
}
@media(max-width: 767px){
        .subscribe-button{
                width:205px;
                height:35px;
                margin-top: 6%;
                font-size: 16px;
                margin-left: 25px;
        }
}
@media(max-width: 620px){
        .main-container{
                margin-top:10%;
        }
        .subscribe-button{
                width:200px;
                height:35px;
                margin-top: 8%;
                margin-bottom: 2%;
                font-size: 16px;
                margin-left: 25px;
        }
}
@media(max-width: 480px){
        .main-container{
                max-width: 95%;
                margin-top:16%;
        }
        .subscribe-button{
                width:185px;
                height:30px;
                margin-top: 8%;
                margin-bottom:4%;
                font-size: 15px;
                margin-left: 10px;
        }
        .download_pdf_link{
                margin-top: 35px;
                margin-right: 15px;

        } 
}
@media(max-width: 420px){
        .download_pdf_link{
                margin-right: 25px;
                margin-top: 32px;
        }
}