@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --white: white;
    --black: black;
    --main-color: #ef4444;
    --background: #161324;
}

span {
    color: var(--main-color);
}

.heading {
    font-size: 4rem;
    text-align: center;
    font-weight: 600;
}

/* all button hover */
.button {
    width: 120px;
    padding: 5px;
    border: 2px solid var(--main-color);
    text-decoration: none;
    color: var(--main-color);
    background-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: .8s;
}

.button:hover {
    color: var(--white);
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s;
}

.button:hover::before {
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.5s;
}



/* header-navbar section */
.header {
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--white);
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 200;
}

.logo img {
    width: 80px;
    height: 80px;
}

.logo img:hover {
    transform: scale(1.1);
    transition: .4s;
}

.list-bar {
    display: none;
}

.list-bar i {
    font-size: 30px;
    color: var(--main-color);
    display: none;
    cursor: pointer;
}

#xmark {
    display: none;
    color: var(--main-color);
}

.nav {
    margin-right: -150px;
}

.nav a {
    text-decoration: none;
    color: var(--main-color);
    margin: 0 10px;
    font-weight: 500;
    transition: .4s;

}

.nav a:hover {
    color: var(--main-color);
    transform: translateY(-3px);
}


/* side-navbar */
.side-navbar {
    background-color: rgb(252, 228, 228);
    padding: 30px;
    margin-top: -330px;
    transition: .5s;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 150;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.side-nav a {
    text-decoration: none;
    color: var(--background);
    font-weight: 500;
    transition: .3s;
}

.side-nav a:hover {
    color: var(--main-color);
}

/* newsletter-page section */
.newsletter-background-container {
    position: relative;
    aspect-ratio: 16/10;
    width: 100%;
    overflow: hidden;
}

.newsletter-background-image {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-image: url(../newsletter-assets/orphanage-home.jpg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100% 100%;
}

.newsletter-background-image::before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(310deg, rgba(68, 68, 68, 0.2), rgba(0, 0, 0, 0.8));
}

.newsletter-home-content {
    width: 70%;
    position: absolute;
    left: 10%;
    top: 25%;
}

.newsletter-home-content h1 {
    color: var(--white);
    font-size: 50px;
    font-weight: 500;
}

/* newsletter-main-content */
.newsletter-main-content {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20%;
    margin-top: 5%;
}

.newsletter-main-content h6 {
    font-weight: bold;
}

.newsletter-main-content p {
    font-size: 16px;
}

.newsletter-main-content a {
    color: var(--black);
}

/* footer-section */
.footer-section {
    width: 100%;
    height: max-content;
    background-color: var(--background);
    margin-top: 5%;
    padding: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

/* footer-address */
.footer-address {
    width: 300px;
    color: var(--white);
    height: max-content;
}

.footer-address i {
    font-size: 22px;
}

.footer-address p {
    font-size: 14px;
    margin-bottom: 0px;
}

/* footer-social-media links */
.footer-solical-link i {
    font-size: 20px;
    margin: 0 5px;
    border: 2px solid var(--white);
    padding: 5px;
    border-radius: 100px;
    transition: .3s;
    color: var(--white);
}

.footer-solical-link i:hover {
    color: var(--white);
    border: 2px solid var(--main-color);
    transform: translateY(-10px);
    background-color: var(--main-color);
}

/* footer-service */
.footer-service {
    color: var(--white);
}

.footer-services {
    width: 310px;
    display: flex;
    gap: 10px;
    transition: .3s;

}

.footer-services a {
    text-decoration: none;
    color: var(--white);
    transition: .3s;
    font-size: 14px;
}

.footer-services a:hover {
    color: var(--main-color);
}

/* footer-navbar */
.footer-nav-link {
    display: flex;
    flex-direction: column;
}

.footer-nav-link a {
    text-decoration: none;
    transition: .3s;
    color: var(--white);
    font-size: 14px;

}

.footer-nav-link a:hover {
    color: var(--main-color);
    transform: translateX(5px);
}

/* footer-email */
.footer-email input {
    background-color: transparent;
    border: none;
    border: 1px solid var(--white);
    padding: 5px;
    outline: none;
    color: var(--white);
}

.footer-finish {
    text-align: center;
    margin-top: 3%;
}