html {
    scroll-behavior: smooth;
}

body {
    background: #747474;
}

.nav-link:hover {
    color: #0071bc;
}

.basic {
    min-height: 100vh;
    padding: 5px;
    display: flex;
    justify-content: center;
    color: whitesmoke;
}

/*

.basic {
    padding-left: 23%;
    padding-right: 23%;
}

*/

.basic h1 {
    line-height: 2.3;
    text-align: left;
}

.basic h2 {
    display: flex;
    justify-content: center;
}

#projects {
    background: linear-gradient(rgb(29, 29, 29), rgb(56, 58, 71), rgb(26, 26, 27), rgb(81, 79, 92));
}

#about {
    background: linear-gradient(grey, black, grey);
}

#about .basic {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

#about .basic h2 {
    margin-top: 1.4rem;
    text-align: left;
    color: #a3a3a3;
}

#about p {
    font-size: larger;
    line-height: 2;
    text-align: left;
}

#intro .basic {
    position: relative;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-top: 2.3%;
    text-shadow: 3.2px 3.2px 3.2px rgba(0, 0, 0, 0.952);
    background-image: url(./images/backg2.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

#intro .basic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.73);
    z-index: 1;
}

#intro .basic * {
    position: relative;
    z-index: 2;
}

#intro .basic h1 {
    color: white;
}

#contact .basic {
    justify-content: center;
    align-items: center;
    align-content: center;
}

#intro .logo img {
    margin-left: 550px;
    margin-top: 55px;
}

#contact .basic h2 {
    color: #a3a3a3;
}

#projects .basic {
    justify-content: center;
    align-items: center;
    align-content: center;
}

#projects .basic h2 {
    display: flex;
    justify-content: center;
    color: #a3a3a3;
    margin-top: 2.3rem;
}

.bottom {
    padding-bottom: 3.2rem;
    display: flex;
    justify-content: center;
    color: whitesmoke;
}

.card {
    transition: transform .32s ease;
    border: 3.2px solid rgb(95, 95, 95);
    min-height: 370px;
    background-color: #bbbbbb;
}

.card:hover {
    /* transform: translateY(-10px); */
    transform: scale(1.05);
    /* border: 3.2px solid rgb(13, 202, 240); */
}

/* font  */
.basic p {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

#intro h1,
#intro h2,
.basic h2 {
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* end  */

.bottom p {
    margin-top: 5rem;
}

.contactLinks {
    display: flex;
    justify-content: space-around;
}

.contactLinks i:hover {
    transition: transform .23s ease;
    transform: translateY(-2.3px);
}

/*


.btn-info:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(49, 49, 49);
}

.btn-info {
    color: rgb(0, 0, 0);
    border: 2.3px solid rgb(51, 51, 51);
}



*/

.custom-btn {
    background-color: #3e3e3f;
    color: #ffffff;
    border: 2px solid #000000;
}

.custom-btn:hover {
    background-color: #494949;
    border-color: #ffffff;
}

.footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgb(153, 153, 153);
    color: white;
}


@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    #intro .basic {
        background-attachment: scroll;
        background-size: contain;
        min-height: 100vh;
    }

    #intro .logo img {
        width: 55%;
        height: auto;
        margin-left: 0px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 768px) {
    #intro .basic {
        background-attachment: scroll;
        background-size: contain;
        min-width: 100vw;
    }

    .card:hover {
        transform: none;
        /* border: 3.2px solid rgb(95, 95, 95); */
    }

    #intro .logo img {
        margin-left: 0px;
        margin-top: -110px;
    }

}