.content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    box-sizing: border-box;
    min-height: 100vh;
}

.main-header .logo{
    background-image: url("/img/logo-2.png");
}

.first-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 100%;
    color: white;
    background-image: url('/img/adopt-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.2);
}

.first-section .first-section-content {
    text-align: center;
    padding: 20px;
}

.first-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.first-section p{
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.8;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.info-section {
    box-sizing: border-box;
    display: flex;
    height: 100vh;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9); 
    background-image: url('/img/adopt-background-2.png');
    background-size: contain;
    background-position: center;
    background-blend-mode: lighten;
}

.info-section-left{
    box-sizing: border-box;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    text-align: justify;
}

.info-section-left a, form button{
    display: inline-block;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: bold;
    color: #4CAF50;
    text-decoration: none;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    width:fit-content;
    cursor: pointer;
}

.info-section-left a:hover, form button:hover {
    background-color: #4CAF50;
    color: white;
}

.info-section-right{
    width: 50%;
}

.gallery {
    display: flex;
    width: 100%;
    max-width: 1300px;
    margin: auto;
    height: 100vh;
    overflow: hidden;
}

.gallery__strip__wrapper {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.gallery__strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.gallery__strip.one {
    animation-name: move-down-up;
}

.gallery__strip.two {
    animation-name: move-up-down;
}

.photo {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.photo__image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.photo__image img {
    width: 80%;
    border-radius: 5px;
}

@keyframes move-down-up {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(50%);
    }
}

@keyframes move-up-down {
    0% {
        transform: translateY(50%);
    }
    100% {
        transform: translateY(-50%);
    }
}

.second-info-section {
    background: linear-gradient(135deg, #f4f4f4, #e0e0e0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
}

.adoption-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}

.adoption-details:hover {
    transform: scale(1.05);
}

.adoption-details-content{
    display: flex;
}

.adoption-info, .adoption-benefits {
    flex: 1;
    padding: 20px 40px;
}

.adoption-details h2 {
    position: relative;
    display: inline-block;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0px;
}

.adoption-details h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #4CAF50;
    margin: 8px auto 0;
}

.adoption-details h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #4CAF50;
    margin-top: 5px;
}

.adoption-details p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.adoption-info ul {
    list-style: none;
    padding: 0;
}

.adoption-info ul li {
    font-size: 18px;
    color: #444;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.adoption-info ul li::before {
    content: "✔";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 10px;
}

.adoption-cta {
    text-align: center;
    margin-bottom: 20px;
}

.adoption-cta button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.adoption-cta button:hover {
    background: #388E3C;
    transform: scale(1.05);
}

/*

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-image: url('/img/adopt-background.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid var(--header-border);
    border-radius: 10px;
    width: 90%;
    height: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.up-modal-content {
    height: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.up-modal-content h3{
    font-size: 30px;
}

.bottom-modal-content{
    box-sizing: border-box;
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: end;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 rgba(0, 0, 0, 0.3);
}

.close {
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--hover);
}

form{
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box !important;
    padding: 20px;
    width: 50%;
    background-color: rgba(255, 255, 255, 0.2); 
}

form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

form input, form textarea {
    box-sizing: border-box;
    padding: 8px;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid var(--header-border);
    border-radius: 5px;
    font-size: 14px;
}

form textarea {
    min-height: 65px;
    height: auto;
    overflow-y: auto;
    font-size: 14px;
    resize: none;
}

form .required {
    color: red;
    margin-left: 5px;
    display: inline;
}

*/

@media (max-width: 768px) {

    .first-section-content {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .info-section{
        flex-direction: column;
        height: auto;
    }

    .info-section-left{
        width: 100%;
    }

    .info-section-right{
        width: 100%;
        margin-bottom: 20px;
    }

    .second-info-section{
        height: auto;
        padding: 40px;
    }

    .adoption-details{
        width: 95%;
    }

    .adoption-details-content{
        flex-direction: column;
    }

    .adoption-benefits{
        padding-top: 0px;
    }

    .adoption-info{
        padding-bottom: 0px;
    }

    /*
    form{
        width: 100%;
        background-color: rgba(255, 255, 255, 0.6);
        border-radius: 10px;
    }

    .modal-content{
        width: 80%;
    }

    .modal-content, form{
        height: auto;
    }

    form label{
        color: #333;
        text-shadow: none;
    }

    .up-modal-content h3{
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .up-modal-content{
        margin-bottom: 15px;
    }
    */

}