*{
    padding: 0;
    margin: 0;
    font-family: 'Quicksand', sans-serif;
}
header {
    height: 70px;
   
}
header h1{
    
    display: inline-block;
    float: left;
    padding: 15px 24px;
    text-transform: uppercase;
}
header h1 a{
    transition: .3s;
}
header h1 a:hover{
    color: #FF0909 ;
}

header ul{
    
    float: right;
}
header ul li {
   
    padding: 24px;
    display: inline-block;
}
header ul li a:hover{
    color:#FF0909:
}
header ul li a{
    transition: .3s;
}

a {
    text-decoration: none;
}
.container {
    width: 90%;
    margin: 0 auto;
    
}
.container::after {
    content: '';
    display: block;
    clear: both;
}

.mobile-menu {
    float: right;
    display: none;
    padding: 18px;
    
}
.mobile-menu:hover{
    cursor: pointer;
}


#check {
    display: none;
} 

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -300px;
    width: 300px;
    background-color: rgba(16, 47, 80, .9);
    transition: .3s;
    z-index: 9999;

}
.sidebar ul li a {
    color: #fff;
}
.sidebar ul li {
    padding: 24px;
    transition: .3s;
    transition-property: background-color;

}
.sidebar ul li:hover{
    background-color: #F84744;
}
#check:checked~ .sidebar {
    left: 0px;
}
.banner {
    background-color:palegoldenrod;
    
}
section {
    padding: 50px 0 ;
}
/*
.banner img {
    width: 150px;
    height: 100px;
    border-radius: 20px; 
    box-shadow: 0 3px 5px #ddd; 
    position: absolute;
    margin-left: -50px;
    left: 50%;
}

.banner img {
    max-width: 100%; 
    display:block; 
    height: auto;
    border-radius: 20px; 
    box-shadow: 0 3px 5px #ddd; 
}*/ 

.banner img {

    margin-left:auto;
    margin-right:auto;
    display:block;
    width:500px;
    border-radius: 20px; 
    box-shadow: 0 3px 5px #ddd; 
}

.banner h2, 
.banner p {
    text-align: center;
    color: rgb(240, 41, 6);
}

section h3 {
    padding-bottom: 20px;
    text-align: center; 
    margin: 20px;
    position: relative;
}

section h3::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 120px;
    height: 1px;
    background-color: #ddd;
    left: calc(50% - 60px);

}
section h3::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -1px;
    width: 40px;
    height: 4px;
    background-color:#F84744;
    left: calc(50% - 20px);
}
#about p {
    text-align: justify;
    text-indent: 30px;
    line-height: 25px;
    margin-bottom: 15px;
}

#skill,
#contact {
    background-color: #f9f9f9;
}
#skill .bar {
    height: 30px;
    background-color: #fff;
    border : 1px solid #ddd;
    margin-top: 5px 0 20px 0;

}
.bar .nilai {
    height: 30px;
    background-color: #F84744;
    display: inline-block;
    text-align: center;
    color: #fff;

}
.html {
    width: 60%;
}
.css {
    width: 60%;
}
.c {
    width: 70%;
}
.canva {
    width: 90%;
}

.col-4 {
    width: 25%;
    box-sizing:  border-box;
    padding: 5px;
    float: left;
    text-align: center;
    margin-bottom: 15px;
}
.col-4 img {
    width: 100%;
}

.col-4 a:hover img {
    transform: scale(1.2);
}

.col-3 {
    width: 33.33%;
    box-sizing:  border-box;
    float: left;
    text-align: center;
    padding: 50px 10px;
}

.col-3 h4 {
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;

}

footer {
    background-color: #333;
    padding: 30px;
    text-align: center; 
}
footer small{
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px){
    .mobile-menu{
        display: block;
    }
    header ul {
        display: none;
    }
    .col-4 {
        width: 50%;
    }
    .col-3 {
        width: 100%;
    }
}

