

.top{
    display: flex;
    padding: 20px;
    gap: 40%;
    justify-content: space-around;
    background-color: #fff;
    position: relative;
    z-index: 100;
}

.top img{
    width: 200px;
    background-color: var(--bg-grey2);
    height: 50px;
    display: flex;
}

.nav{
    width: 100%;
    height: auto;
    display: flex;
    background-color: var(--secondery1);
    position: relative;
    z-index: 100;
}

.nav2{
    width: 100%;
    height: auto;
    display: flex;
    background-color: var(--secondery1);
    border-bottom: solid 4px var(--accent1);
    position: fixed;
    top: 0;
}

.nav ul, .nav2 ul{
    display: flex;
    justify-content: center;
    margin: 0px;
    list-style: none;
    width: 100%;
    padding: 0px;
}

.nav ul li, .nav2 ul li{
    width: 20%;
    display: flex;
    cursor: pointer;
    text-align: center;
    justify-content: center;
    padding: 12px;
    background-color: var(--secondery1);
    border-left: solid 1px #fff;
    border-right: solid 1px #fff;
}

.nav ul li a, .nav2 ul li a{
    width: 100%;
    height: 100%;
}

.nav ul li:hover, .nav2 ul li:hover{
    background-color: var(--secondery2);
}
.dp {
    width: auto;
    background-image: url("../img/dp1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-content: center;
    border-top: solid 4px var(--accent1);
    box-shadow: 0px 5px 5px #aaa;
}

.dp .intro {
    display: flex;
    height: 80vh;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    /* background-image: linear-gradient(to right, var(--secondery1), transparent); */
    padding: 40px 80px;
    position: relative;
    z-index: 100;
}

.dp .intro2 {
    display: flex;
    height: 40vh;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(to right, black, transparent);
    padding: 40px 80px;
    position: relative;
    z-index: 100;
}

.dp .intro h1, .dp .intro2 h1 {
    color: #fff;
}

.dp .intro h3, .dp .intro2 h3 {
    color: var(--accent1);
}

.dp .intro button, .dp .intro2 button {
    margin-top: 40px;
    width: fit-content;
}

@media screen and (max-width: 767px) {
    .top {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .top img {
        width: auto;
        background-color: var(--bg-grey2);
        height: 50px;
        align-self: center;
    }

    .dp .intro {
        display: flex;
        height: 80vh;
        flex-direction: column;
        justify-content: center;
        /* background-image: linear-gradient(to right, var(--secondery1), transparent); */
        padding: 40px 24px;
        position: relative;
        z-index: 100;
    }

    .dp .intro2 {
        display: flex;
        height: 40vh;
        flex-direction: column;
        justify-content: center;
        /* background-image: linear-gradient(to right, var(--secondery1), transparent); */
        padding: 40px 24px;
        position: relative;
        z-index: 100;
    }
}
