.links .active {
    border-top: 2px solid #e2785d;
}

.carousel-item {
    height: 100vh;
    width: 100vw;
}

.carousel-caption {
    height: 92%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 90%;
}

.home-caption img {
    max-width: 450px;
}

.home-caption h1 {
    font-family: "Alegreya";
    font-size: 76px;
}

.home-caption p, h4 {
    font-family: "Dancing Script";
    font-size: 40px;
    color: white;
}

.btns button {
    padding: 17px 25px;
    border-radius: 5px;
    border: none;
    margin: 10px;
    font-weight: 700;
    text-transform: none;
}

.btns .btn1 {
    color: white;
    background-color: #c1ab84;
}

.btns .btn2 {
    color: black;
    background-color: white;
}

.home-caption .scroll {
    height: 45px;
    width: 25px;
    border: 2px solid #fff;
    border-radius: 15px;
    position: absolute;
    bottom: 20px;
    animation: scroll 3s infinite linear;
    cursor: pointer;
}

.home-caption .scroll::after {
    content: "";
    width: 3px;
    height: 10px;
    position: absolute;
    background-color: white;
    bottom: 10px;
    transform: translateX(-50%);
}

@keyframes scroll {
    0% {
        bottom: 20px;
    }
    10% {
        bottom: 50px;
    }
    20% {
        bottom: 20px;
    }
    30% {
        bottom: 42px;
    }
    40% {
        bottom: 20px;
    }
    50% {
        bottom: 34px;
    }
    60% {
        bottom: 20px;
    }
    70% {
        bottom: 26px;
    }
    80% {
        bottom: 20px;
    }
    90% {
        bottom: 20px;
    }
    100% {
        bottom: 20px;
    }
}

.layer {
    height: 100vh;
    width: 100%;
    display: flex;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    z-index: 3;
    margin-right: 0;
}

.p-relative {
    position: relative;
}

.p-absolute {
    position: absolute;
}

.zindex-10 {
    z-index: 10;
}

.typing-container {
    height: 60px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 4px solid white;
    width: fit-content;
}

.typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}


.section2 {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 50px 0;
}
.section2 .image1
{
    max-width: 600px;
    overflow: hidden;
}
.caption {
    width: 500px;
    font-size: 20px;
    padding: 30px;
}

p {
    font-family: "Alegreya Sans";
    color: #686868;
}

h3 {
    font-family: "Alegreya";
}

.section2 .caption h3, .section3 .caption h3 {
    font-size: 40px;
    font-weight: 200;
}

.section2 .caption h4, .section3 .caption h4 {
    font-size: 30px;
    color: #c1ab84;
}

.section2 .caption .logo, .section3 .caption .logo {
    display: flex;
    align-items: center;
    margin: 20px;
}

.section2 .caption .logo img {
    width: 55px;
    padding: 10px;
    background-color: #c1ab84;
    border-radius: 50px;
    margin-right: 20px;
}

.section3 {
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.section3 .image {
    max-width: 600px;
    overflow: hidden;
}

.section3 .caption .logo img {
    width: 50px;
    padding: 0 20px 10px 0;
}

.section4 .contaner {
    background-image: url(../images/shutterstock_280369721.jpg);
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}
@media screen and (max-width: 820px) {
    .carousel
    {
        height: 90vh;
    }
    .layer
    {
        height: 90vh;
    }
    .carousel-caption {
        width: auto;
    }
    .home-caption img {
        max-width: 300px;
    }
    .home-caption h1 {
        font-size: 50px;
    }
    .home-caption p {
        font-size: 25px;
    }
    .btns button {
        font-size: 16px;
        font-weight: 400;
        padding: 12px 13px;
    }
    .section2 .caption  img
    {
        width: 30px;
    }
}