* {box-sizing: border-box;}
body {
    padding: 0;
    margin: 0;
    font-family: Arial;
}

/* Navigation */
.navbar {
    overflow: hidden;
    background-color: #333;
}

.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.active {
    color: white;
}

.navbar .icon {
    display: none;
}

.dropdown {
    float: left;
    overflow: hidden;     
}

.dropdown .dropbtn {
    font-size: 17px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #555;
    color: white;
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Content */
.hero {
	height: 100vh;
	width: 100%;
	background-image: url(background.png);
	background-size: cover;
	background-position: center;
}
.content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
}

span {
    color: #f9004d;
}

h1 {
    color: white;
    margin: 20px 0px 20px;
    font-size: 75px;
}
h3 {
    color: white;
    font-size: 25px;
    margin-bottom: 50px;
}
h4 {
    color: #FFA0AC;
    letter-spacing: 2px;
    font-size: 20px;
}

.about {
    width: 100%;
    padding: 100px 0px;
    background-color: #191919;
}
.about img {
    height: auto;
    width: 430px;
}
.about img:hover {
    transform: scale(1.3);
	transition: .3s;
}
.about-text {
    width: 550px;
}
.main {
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.about-text h2 {
    color: white;
    font-size: 75px;
    text-transform: capitalize;
    margin-bottom: 20px;
}
.about-text h5 {
    color: white;
    letter-spacing: 2px;
    font-size: 22px;
    text-transform: capitalize;
    margin-bottom: 25px;
}
.about-text p {
    color: #fcfc;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 45px;
}

.btn {
    background-color: #f9004d;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}
.btn:hover {
    background-color: transparent;
    border: 2px solid #f9004d;
    cursor: pointer;
}

.btn a{
    text-decoration: none;
    color: white;
}

.skill{
	background: #101010;
	width: 100%;
	padding: 100px 0px;
}
.title h2{
	color: white;
	font-size: 75px;
	margin: 30px auto;
	text-align: center;
}
.box{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 400px;
}
.card{
	height: 365px;
	width: 335px;
	padding: 20px 35px;
	background: #191919;
	border-radius: 20px;
	margin: 15px;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.card:hover {
    transform: translateY(-15px);
	transition: .3s;
}
.card i{
	font-size: 50px;
	display: block;
	text-align: center;
	margin: 25px 0px;
	color: #f9004d;
}
h5{
	color: white;
	font-size: 23px;
	margin-bottom: 15px;
}
.text p{
	color: #fcfc;
	font-size: 16px;
	line-height: 27px;
	margin-bottom: 25px;
}

footer{
	position: relative;
	width: 100%;
	height: 400px;
	background: #333;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
footer p:nth-child(1){
	font-size: 30px;
	color: white;
	margin-bottom: 20px;
	font-weight: bold;
}
footer p:nth-child(2){
	color: white;
	font-size: 17px;
	width: 500px;
	text-align: center;
	line-height: 26px;
}
.social{
	display: flex;
}
.social a{
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:  #f9004d;
	border-radius: 50%;
	margin: 22px 10px;
	color: white;
	text-decoration: none;
	font-size: 20px;
}
.social a:hover{
	transform: scale(1.3);
	transition: .3s;
}
.end{
	position: absolute;
	color:#f9004d;
	bottom: 35px;
	font-size: 14px; 
}

/* Responsive Halaman */
@media screen and (max-width: 600px) {
    .navbar a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .navbar a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .navbar.responsive {position: relative;}
    .navbar.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .navbar.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .navbar.responsive .dropdown {float: none;}
    .navbar.responsive .dropdown-content {position: relative;}
    .navbar.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
}

@media screen and (max-width: 1024px) {
    .hero {
        height: 80vh;
        width: 100%;
    }
    h1 {

        font-size: 55px;
    }
    h3 {
        font-size: 18px;
    }
    h4 {
        color: #FFA0AC;
        letter-spacing: 1px;
        font-size: 13px;
    }

    .about img {
        height: auto;
        width: 350px;
    }
    .about-text {
        width: 450px;
    }
    .about-text h2 {
        font-size: 55px;
        text-transform: capitalize;
        margin-bottom: 20px;
    }
    .about-text h5 {
        letter-spacing: 1px;
        font-size: 18px;
        text-transform: capitalize;
    }
    .about-text p {
        font-size: 15px;
    }
    .title h2{
        font-size: 35px;
    }
    .box{
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 400px;
    }
    .card{
        height: 365px;
        width: 335px;
    }
    .card i{
        font-size: 40px;
    }
    h5{
        font-size: 20px;
    }
    .text p{
        font-size: 14px;
    }
    footer p:nth-child(1){
        font-size: 26px;
    }
    footer p:nth-child(2){
        font-size: 15px;
    }
    .social a{
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: 75vh;
        width: 100%;
        background-position: calc(100% / 1.2);
    }
    h1 {
        font-size: 35px;
    }
    h3 {
        font-size: 15px;
    }
    h4 {
        font-size: 12px;
    }

    .about img {
        height: auto;
        width: 250px;
    }
    .about-text {
        width: 450px;
    }
    .about-text h2 {
        font-size: 45px;
    }
    .about-text h5 {
        font-size: 16px;
    }
    .about-text p {
        font-size: 13px;
    }
    .title h2{
        font-size: 25px;
    }
    .card i{
        font-size: 35px;
    }
    h5{
        font-size: 16px;
    }
    .text p{
        font-size: 12px;
    }
}

@media screen and (max-width: 540px) {
    .hero {
        height: 70vh;
        width: 100%;
        background-position: calc(100% / 1.2);
    }
    h1 {
        font-size: 23px;
    }
    h3 {
        font-size: 16px;
    }
    h4 {
        font-size: 12px;
    }

    .about img {
        height: auto;
        width: 200px;
    }
    .about-text {
        width: 400px;
    }
    .about-text h2 {
        font-size: 30px;
    }
    .about-text h5 {
        font-size: 13px;
    }
    .about-text p {
        font-size: 11px;
    }
    .btn {
        font-size: 10px;
    }
    .title h2{
        font-size: 20px;
    }
    .card i{
        font-size: 18px;
    }
    h5{
        font-size: 11px;
    }
    .text p{
        font-size: 9px;
    }
    footer p:nth-child(1){
        font-size: 22px;
    }
    footer p:nth-child(2){
        font-size: 13px;
    }
    .social a{
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}