*{
    margin: 0;
    padding: 0;
    color: rgb(255, 255, 255);
}

html {
    font-size: 14px;
}

@media screen and (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
  font-family: 'Playfair Display', serif; 
}

/* header */
.slider-desc {
    display: flex;
    position: absolute;
    left: 50%;
    top: 100px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-attachment: fixed;
}

.slider-desc .title {
      font-size: 3rem;
      font-weight: bold;
      font-family: 'Comfortaa', cursive;
      text-shadow: black 3px 3px 3px;
}

.slider-desc .desc {
      font-size: 0.8rem;
      text-shadow: black 1px 1px 1px;
}

@media screen and (min-width: 768px) {
    .slider-desc {
        top: 250px;
    }

    .slider-desc .title {
        font-size: 4rem;
    }

    .slider-desc .desc {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1024px) {
    .slider-desc {
        top: 300px;
    }
    
    .slider-desc .title {
        font-size: 5rem;
        margin: 100px 0 10px;
    }

    .slider-desc .desc {
        font-size: 1.3rem;
    }
}

/* nav */
.navbar {
    max-width: 100%;
}

.navbar-brand {
    font-family: 'Comfortaa', cursive;
}

.nav-item {
    text-align: end;
}

i {
    color: gray;
}

@media screen and (max-width: 992px) {
    .dropdown-item {
        text-align: center;
    }
}


/* works */
.works {
    display: flex;
    justify-content: center;
    max-width: 100%;
    background-image: url(../img/works.jpg);
    background-size: cover;
    background-position: center;
    padding: 10% 30%;
    }

.works-erea {
    text-align: center;
}

.works-title {
    font-size: 5rem;
    text-shadow: black 5px 5px 5px;
    justify-items: center;
}

.works-desc {
    margin: 0;
    font-size: 2rem;
    text-shadow: black 3px 3px 3px;
}


@media screen and (min-width: 768px) {
    .works-title {
        font-size: 12rem;
    }

    .works-desc {
        margin: 0;
        font-size: 3rem;
    }
}

@media screen and (min-width: 1024px) {
    .works-title {
        font-size: 18rem;
    }
}

/* copy coding */
.copy-title {
    color: black;
    font-size: 3.5rem;
    text-align: center;
    margin-top: 100px;
}
.flex {
    display: flex;
    justify-content: space-around;
    gap: 0 50px
}
#copy-coding li {
    margin: 30px;
    text-align: center;
}
#copy-coding img {
    width: 100%;
}
#copy-coding img:hover {
    transform: scale(1.1);
    transition: all 1s;
    opacity: 0.7;
}
#copy-coding a {
    text-decoration: none;
    color: black;
    font-size: 2rem;
}

@media screen and (max-width: 767px) {
    .flex {
        flex-direction: column;
    }
}

/* photograph */
.photograph {
    padding: 250px auto;
    background-color: black;
    text-align: center;
}

.photograph-title {
    font-size: 3rem;
    padding: 100px 0 50px;
}

.photo-list {
    list-style-type: none;
    padding: 0;
}

.photo-item {
    margin: 35px;
}

.photo-img {
}

.photo-img img {
    width: 250px;
}

.photo-name {
    font-size: 2rem;
    padding: 30px 0;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .photograph-title {
        font-size: 4rem;
    }
    
    .photo-item {
        display: flex;
        justify-content:space-evenly;
        gap: 0 30px;
    }

    .photo-item.reverse {
        flex-direction: row-reverse;
        padding: 0 0 0 200px
    }

    .photo-img {
        width: 50%;
        padding-bottom: 30px;
    }

    .photo-img img {
        width: 100%;
    }

    .photo-name {
        font-size: 1.5rem;
        margin-top: 100px;
    }
}

@media screen and (min-width: 1024px) {
    .photo-name {
        font-size: 2rem;
    }
}

/* skills */
.skills {
    text-align: center;
}

.skills-title {
    font-size: 4rem;
    color: black;
    padding: 100px 0 20px;
}

.skill-list {
    max-width: 200px;
    margin: 60px auto 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 0;
}

.skill-item {

}

.skill-image {
    height: 180px;
}

.skill-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
}

.skill-desc {
    color: black;
}

@media screen and (min-width: 768px) {
    .skill-list {
        max-width: 500px;
        margin: 60px auto 0;
        gap: 30px 40px;
    }

    .skill-item {
        width: 230px;
    }
}

@media screen and (min-width: 1024px) {
    .skill-list {
        max-width: 770px;
        margin: 60px auto 0;
    }
}

/* contact */
.contact {
    background-image: url(../img/img6.jpg);
    background-size: cover;
    height: 600px auto;
    text-align: center;
    text-shadow: black 2px 2px 2px;
    margin-top: 120px;
}

.contact-title {
    font-size: 3rem;
    padding: 250px 0 50px;
}

.contact-text {
    font-size: 1.5rem;
}

.contact-message {
    font-size: 1.3rem;

}

.contact-mail {
    font-size: 2rem;
}

.icon-area {
    font-size: 3rem;
    padding-bottom: 250px;
}

.icon-area .fa-brands {
    margin: 0 2rem;
    color: white;
}

.copyright {
    margin: 0;
    font-weight: ;
}

@media screen and (min-width: 768px) {
    .contact-title {
        font-size: 4rem;
        padding: 250px 0 50px;
    }

    .contact-mail {
        font-size: 3rem;
    }
}