@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Rubik&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

.container {
    height: 100vh;
    width: 100%;
    background-image: url(background2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header {
    width: 95%;
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 30px;
}

.header-navbar-top {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 40px;
    margin-right: 40px;
}

.header-navbar-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 40px;
}

.header-navbar-list-container {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.header-navbar-list {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-navbar-list-item {
    color: white;
    text-decoration: none;
    font-weight: 500;
    
}

.header-navbar-list-item-hover {
    height: 2px;
    width: 120%;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translate(-50%);
    background-color: red;
    visibility: hidden;
    opacity: 1;
}

@keyframes hoverAnimation {
    from {opacity: 0;}
    to {opacity: 1;}
}

.header-navbar-list:hover .header-navbar-list-item-hover {
    visibility: visible ;
    animation-name: hoverAnimation;
    animation-duration: 0.5s;
}

.header-navbar-list-item-active {
    height: 2px;
    width: 120%;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translate(-50%);
    background-color: red;
}

.header-navbar-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 5px;
}

.header-navbar-btn {
    height: 45px;
    width: 45px;
    border: none;
    background-color: transparent;
    color: white;
    font-weight: 300;
    transition: 0.2s ease;
    cursor: pointer;
}

.header-navbar-btn-active {
    background-color: #ff4b4b;
}

.header-navbar-btn:hover {
    background-color: #ff4b4b;
}

/* section1 */
.section1 {
    width: 100%;
    height: calc(100vh - 155px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section1-links {
    position: absolute;
    top: 40px;
    left: 0;
}

.section1-links2 {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.section1-link {
    height: 55px;
    width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section1-link-item {
    text-decoration: none;
    color: white;
    font-size: 22px;
}

.facebook {
    background-color: #234cff;
}

.twitter {
    background-color: #2c99ff;
}

.pinterest {
    background-color: #ff3c3c;
}

.section1-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 120px;
}

.section1-header {
    font-size: 75px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
}

.section1-text {
    font-size: 25px;
    margin-bottom: 30px;
    color: white;
    font-weight: 500;
    text-align: center;
}

.section1-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    position: relative;
}

.section1-btn {
    height: 50px;
    width: 150px;
    border-radius: 5px;
    border: none;
    background-color: #ff4b4b;
    color: white;
    font-size: 17px;
    transition: 0.5s ease;
    cursor: pointer;
}

.section1-btn:hover {
    background-color: #494949;
}

.section1-btn2 {
    border: 2px solid white;
    background-color: transparent;
}

.section1-btn2:hover {
    border-color: gray;
    color: gray;
    background-color: transparent;
}

@keyframes downAnimation {
    from {top: 30px;}
    to {top: 40px;}
}

.section1-down-icon {
    color: rgba(255, 255, 255, 0.4);
    font-size: 50px;
    position: relative;
    top: 30px;
    animation-name: downAnimation;
    animation-duration: 0.7s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* section2 */
.section2 {
    width: 70%;
    margin: auto;
    padding: 40px;
}

.section2-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section2-cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 93%;
    margin-top: 60px;
}

.section2-card-header {
    font-size: 45px;
}

.section2-card-text {
    font-size: 15px;
    color: gray;
    margin: 30px 0px 30px 0px;
}

.section2-card-btn {
    color: #ff4b4b;
    border: 2px solid #ff4b4b;
    padding: 12px 20px;
    background-color: transparent;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.5s ease;
}

.section2-card-btn:hover {
    border-color: #494949;
    color: #494949;
}

.section2-card-btn2 {
    background-color: #ff4b4b;
    border: none;
    color: white;
    padding: 14px 22px;
}

.section2-card-btn2:hover {
    background-color: #494949;
    color: white;
}

/* footer */
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-direction: column;
    width: 100%;
    background-color: #f7f7f7;
    padding: 50px;
}

.footer-text {
    font-weight: 300;
    text-align: center;
}

.footer-text-link {
    color: #ff4b4b;
    text-decoration: none;
}

.footer-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
}

.footer-icon {
    color: #ff4b4b;
    text-decoration: none;
    font-size: 30px;
    transition: 0.5s ease;
}

.footer-facebook:hover {
    color: #234cff;
}

.footer-twitter:hover {
    color: #2c99ff;
}

.footer-linkedin:hover {
    color: #187f83;
}

@media only screen and (max-width: 1850px) {
    .section2 {width: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column;}
    .section2-img {height: 350px;}
    .section2-cards {flex-direction: column; text-align: center; gap: 50px;}
}

@media only screen and (max-width: 1750px) {
    .section2-img {height: 300px;}
}

@media only screen and (max-width: 1550px) {
    .section2-img {height: 250px;}
}

@media only screen and (max-width: 1050px) {
    .header {width: 100%; justify-content: center; flex-direction: column;}
    .section1-header {font-size: 60px;}
    .section1-text {font-size: 20px;}
}

@media only screen and (max-width: 800px) {
    .section2-img {height: 200px;}
    .section1-links {display: none;}
    .section1-links2 {visibility: visible;}
}

@media only screen and (max-width: 700px) {
    .container {height: 800px;}
    .section1 {height: calc(800px - 260px);}
    .section2-img {height: 150px;}
    .header {height: 260px; gap: 20px;}
    .header-navbar {flex-direction: column; gap: 15px;}
    .header-navbar-list-container {flex-direction: column; gap: 20px;}
    .header-navbar-top {width: 100%; margin: auto;}
    .header-navbar-bottom {width: 100%; margin: auto; column-gap: 20px;}
}

@media only screen and (max-width: 500px) {
    .section2-img {height: 120px;}
}