body, html {
    margin: 0;
    padding: 0;
}

.container {
    margin: 0 170px;
}

/* Header */
header {
    background-color: rgba(99, 160, 238, 0.28);
    padding-top: 50px;
}

header .container {
    display: flex;
    flex-wrap: wrap;
}

.container .container-text {
    /* grid-area: text; */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
}

.container .container-text h1 {
    font-family: 'Alata', sans-serif;
    margin: 0;
    font-size: 50px;
}

.container .container-text p {
    font-family: 'Alata', sans-serif;
    margin: 10px 0px;
    color: rgba(101, 95, 95, 1);
}

.container .container-text h3 {
    font-family: 'Alatsi', sans-serif;
    margin-bottom: 10px;
}

header .container img {
    flex: 1;
}

/* About */
#about {
    display: flex;
    flex-wrap: wrap;
    margin-top: 70px;
    margin-bottom: 70px;
}

#about .left {
    flex: 1;
    font-family: 'Almarai', sans-serif;
    font-size: 30px;
}

.left p {
    margin-bottom: 100px;
}

.right p {
    margin-top: 100px;
}

#about .right {
    flex: 1;
    font-family: 'Almarai', sans-serif;
    font-size: 30px;
    text-align: right;
}

#about .right img {
    transition: all 0.2s;
    cursor: pointer;
}

#about .right img:hover {
    transform: scale(1.1,1.1);
}

#about .left img {
    transition: all 0.2s;
    cursor: pointer;
}

#about .left img:hover {
    transform: scale(1.1,1.1);
}

/* Skills */
#skill {
    background-color: rgba(99, 160, 238, 0.28);
    margin-top: 70px;
    margin-bottom: 70px;
    padding-top: 150px;
    padding-bottom: 150px;
}

#title-skill {
    text-align: center;
    font-family: 'Almarai', sans-serif;
    font-size: 48px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

#skill hr {
    text-align: center;
    border: 1px solid black;
    margin-bottom: 50px;
    width: 500px;
}

#skill .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.container .keahlian {
    flex: 1;
    text-align: center;
    font-weight: 300;
    font-size: 50;
    font-family: 'Almarai', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.container .keahlian:hover {
    transform: translateY(-20px);
}

/* Sosmed */
#sosmed .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 70px;
    margin-bottom: 70px;
}

#title-sosmed {
    text-align: center;
    font-family: 'Almarai', sans-serif;
    font-size: 48px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

#sosmed hr {
    text-align: center;
    border: 1px solid black;
    margin-bottom: 50px;
    width: 500px;
}

#sosmed .container .left-sosmed, #sosmed .container .right-sosmed {
    flex: 1;
    font-family: 'Amiko', sans-serif;
    font-size: 30px;
    text-align: center;
}

.medsos a {
    text-decoration: none;
    color: black;
}

.medsos {
    opacity: 0.7;
    transition: all 0.2s;
    flex: 1;
    font-family: 'Amiko', sans-serif;
    font-size: 30px;
    text-align: center;
}

.medsos:hover {
    opacity: 1;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    background-color: rgba(3, 15, 39, 1);
    text-align: center;
    color: white;
    margin: 0;
    font-family: 'Amiko', sans-serif;
    height: 80px;
}

footer .close {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .cr {
    background-color: #010712;
    font-size: 12px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .close a {
    color: rgba(121, 187, 105, 1);
    text-decoration: none;
    transition: all 0.1s;
}

footer .close a:hover {
    color: rgba(70, 113, 60, 1);
}

/* Responsive di tablet */
@media(max-width: 900px) {

    /* About */
    #about .left p, #about .right p{
        font-size: smaller;
    }
    #about .left img, #about .right img {
        width: 200px;
    }
    #title-skill, #title-sosmed {
        font-size: 38px;
    }
    #skill hr, #sosmed hr {
        width: 300px;
    }
}

/* Responsive Header */
@media(max-width: 890px) {

    /* Layout Text */
    .container .container-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

    /* Header Image */
    header .container img {
        width: auto;
    }
}

/* Responsive di Mobile */
@media(max-width: 599px) {

    /* Header */
    header .container .container-text h1 {
        font-size: 33px;
    }

    header .container .container-text p {
        font-size: 12px;
    }

    /* About */
    #about div.left, #about div.right {
        position: relative;
        text-align: justify;
        margin: 0;
    }

    #about div.left p, #about div.right p {
        margin: 15px 0;
    }

    #about .left img {
        width: 100px;
        position: absolute;
        top: -20px;
        right: -120px;
    }

    #about .right img {
        width: 100px;
        position: absolute;
        bottom: -20px;
        left: -120px;
        transform: rotateY(180deg);
    }
}