html {
    scroll-behavior: smooth;
}

header {
    background: rgb(28, 28, 28);
    padding: 0px;
}
body{
    background: rgb(48, 48, 48);
    font-family: 'Segoe UI', 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    z-index: 1;
    margin: 0;
    padding: 0;
}
.big-section {
    position: relative;
    margin-top: 10px;
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-grow: column wrap;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background-color: rgb(48, 48, 48);  
    scroll-snap-align: center;
}

.nlist {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.nlistpoint {
    display: inline-block;
    margin: 0 20px 0 0;
}

.about-me-list {
    position: absolute;
    margin: 0;
    margin-top: 0%;
    padding: 0;
    list-style-type: none;
}

.about-me-listpoint {
    display: flexbox;
    text-align: center;
    margin: 0 20px 0 0;
    margin: 20px 20px;
}

.icon-list {
    margin: 0;
    height: 100px;
    padding: 0;
    list-style-type: none;
}

.icon-list li {
    position: initial;
    display: inline-block;
    margin: 20px 20px 0 0;
    height: 80px;
    width: 80px;
}

.page-title {
    color: orange;
    font-size: 50px;
}

footer {
    background:rgb(28, 28, 28);
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 10px 20px;
}

.smooth {
    position: relative;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    overflow-y: hidden;
    scroll-snap-type: mandatory;
    scroll-snap-points-y: repeat(100vh);
    scroll-snap-type: y mandatory;
}

.navbar {
    position: fixed;
    background-image: linear-gradient(rgb(28, 28, 28), rgb(28, 28, 28), rgb(28, 28, 28), rgba(48, 48, 48, 0));
    width: 100%;
    z-index: 1;
    margin-top: 0;
}

.navbar ul li {
    margin-left: 1em;
    margin-top: -3px;
    padding: 1em 5em;
}

.navbar ul li a {
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    color:orange;
    font-weight: 599;
}

.navbar ul li a::after{
    position: absolute;
    bottom: -3px;
    left: 0;
    content: '';
    width: 0;
    height: 3px;
    transition: all 0.2s linear;
}

.navbar ul li a:hover::after {
    width: 100%;
    background-color: orange; 
}

.name {
    color:orange;
}

.job-title {
    font-size: 40px;
}

.introduction {
    font-size: 70px;
    margin-left: -40%;
}

.image img{
    border-radius: 10px;
}

.btn{
    border: 1px solid orange;
    border-radius: 10px;
    background: none;
    padding: 10px 20px;
    font-size:  20px;
    font-family: "montserrat";
    cursor: pointer;
    margin: 10px;
    
    position: relative;
    overflow: hidden;
}
.btn1{
    color: orange;
}
.btn1:hover{
    transition: 0.8s;
    color:rgb(48, 48, 48);
    z-index: 1;
}
.btn::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 0%;
    background: orange;
    z-index: -1;
    transition: 0.8s;
}
.btn1::before{
    bottom: 0;
    border-radius: 50% 50% 0 0; 
}
.btn1:hover::before{
    height: 180%;
    
}

.btn2{
    color: orange;
}
.btn2:hover{
    transition: 0.8s;
    color:rgb(48, 48, 48);
    z-index: 1;
}

.btn2::before{
    top: 0;
    border-radius: 0 0 50% 50%; 
}
.btn2:hover::before{
    height: 180%;
    
}

.icon {
    height: 50px;
    padding-top: 20px;
    transition: all .1s ease-in-out;
}

.icon:hover {
    height: 70px;
    padding-top: 0;
}

.footer-list {
    margin: 0;
    height: 20px;
    padding: 0;
    list-style-type: none;
}
.footer-list li {
    display: inline-block;
}

.middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.middle:nth-child(2)
{
    left: 20%;
}

.middle:nth-child(3) {
    left:80%;
}

.card {
    cursor: pointer;
    width: 340px;
    height: 480px;

}

.front, .back {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    backface-visibility: hidden;
    background: rgb(68, 68, 68);
    position: absolute;
    transition: transform .3s linear;
}

.front {
    transform: perspective(600px) rotateY(0deg);
}

.front img {
    width: 100%;
}

.front h2 {
    padding: 20px 20px;
    color: orange;
}

.front p {
    padding: 0px 20px 20px;
}

.back{
    transform: perspective(600px) rotateY(180deg);
}

.back h3 {
    color: orange;
    padding: 0;
    margin: 0;
}

.back p {
    padding: 0;
    margin: 0;
}

.back a {
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-weight: 599;
}

.back a::after{
    position: absolute;
    bottom: -3px;
    left: 0;
    content: '';
    width: 0;
    height: 3px;
    transition: all 0.2s linear;
}

.back a:hover::after {
    width: 100%;
    background-color: orange; 
}

.back-content {
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 10px;
}

.card:hover > .front {
    transform: perspective(600px) rotateY(-180deg);
}

.card:hover > .back {
    transform: perspective(600px) rotateY(0deg);

}

.contact-data {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.work-title {
    position: absolute;
    margin-top: -35%;
}

.more-work-btn {
    position: absolute;
    margin-top: 35%;
}

.more-work-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: wrap;
    position: relative;
    list-style-type: none;
    align-items: left;
    margin-top: 10%;
}

.more-work-list h2 {
    color: orange;
    margin: 0px 80px;
}

.more-work-list li {
    text-align: left;

    padding: 20px 40px;
    width: 300px;
}

.more-work-table {

    list-style-type: none;
}


.more-work-table a {
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-weight: 599;
}

.more-work-table a::after{
    position: absolute;
    bottom: -3px;
    left: 0;
    content: '';
    width: 0;
    height: 3px;
    transition: all 0.2s linear;
}

.more-work-table a:hover::after {
    width: 100%;
    background-color: orange; 
}

.work-section
{
    position:relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.work-div
{
    text-align: center;
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: orange;
    background-color: rgb(28, 28, 28);
    padding: 20px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: auto;
    max-width: 60%;
}
.work-div a
{
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-weight: 599;
}

.work-div a:hover{
    text-decoration: underline;
}

.more-work-header-div
{
    text-align: center;
    padding: 20px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: auto;
    max-width: 60%;
}

.more-work-div
{

    text-align: center;
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: orange;
    background-color: rgb(28, 28, 28);
    padding: 20px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 60%;
    cursor: pointer;

}
.more-work-div a
{
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-weight: 599;
}

.more-work-div a:hover{
    text-decoration: underline;
}

.more-work-div img
{
    width:200px;
}

table 
{
    width: 100%;
    text-align: left;
}

#Row2
{
    width: 70%;
    padding-left: 10%;
    padding-right: 10%;
}

#Row1
{
    width: 10%;
    padding-left: 0%;
}

#Row3
{
    width: 20%;
    padding-left: 2%;
    padding-right: 0%;
}

@media screen and (max-width: 1500px) {
    .introduction {
        margin-left: -30%;
    }
    
    .work-title {
        margin-top: -55%;
    }
    
    .more-work-btn {
        margin-top: 55%;
    }

}

@media screen and (max-width: 1200px) {
    .introduction {
        margin-left: -10%;
    }

    .navbar ul li{
       margin-left: 0;
       margin-right: 0;
       width: auto;
    }
}

@media screen and (max-width: 1170px) {

    #work {
        height: 2000px;
        overflow-y: show;
    }

    .middle:nth-child(2)
    {
        left: 50%;
        top: 20%;
    }

    .middle:nth-child(3) {
        left:50%;
        top: 80%;
    }

    
        
    .work-title {
        margin-top: -160%;
    }

    .more-work-btn {
        margin-top: 160%;
    }

}

@media screen and (max-width: 1100px) {
           
    .work-title {
        margin-top: -175%;
    }

    .more-work-btn {
        margin-top: 180%;
    }
}

@media screen and (max-width: 1000px) {
    .introduction {
        margin-left: 10%;
    }

    .navbar ul li{
       margin-left: 0;
       margin-right: 0;
       padding-left: 5px;
       padding-right: 5px;
       width: auto;
    }

    .image img{
        width: 0;
    }
    .work-title {
        margin-top: -190%;
    }

    .more-work-btn {
        margin-top: 200%;
    }
}

@media screen and (max-width: 950px) {
    .work-title {
        margin-top: -190%;
    }
    .more-work-btn {
        margin-top: 210%;
    }

}

@media screen and (max-width: 900px) {
    .work-title {
        margin-top: -200%;
    }
    .more-work-btn {
        margin-top: 220%;
    }

}

@media screen and (max-width: 800px) {
    .introduction {
        margin-left: 25%;
    }

    .work-title {
        margin-top: -250%;
    }
    .more-work-btn {
        margin-top: 250%;
    }

    .icon-list li {
        margin: 20px 20px 0 0;
        height: 50px;
        width: 50px;
    }

    .icon {
        height: 30px;
        padding-top: 10px;
    }

    .icon:hover {
        height: 40px;
        padding-top: 0;
    }

}

@media screen and (max-width: 700px) {

    .work-title {
        margin-top: -260%;
    }
    .more-work-btn {
        margin-top: 280%;
    }

}

@media screen and (max-width: 650px) {

    .work-title {
        margin-top: -285%;
    }
    .more-work-btn {
        margin-top: 300%;
    }

}

@media screen and (max-width: 600px) {

    .work-title {
        margin-top: -315%;
    }
    .more-work-btn {
        margin-top: 320%;
    }

}

@media screen and (max-width: 550px) {

    .work-title {
        margin-top: -360%;
    }
    .more-work-btn {
        margin-top: 370%;
    }

}
