.container {
    padding: 125px 60px 0;
}

.header > h1 {
    padding: 0 20px 25px;
}

.about, 
.achievements { 
    display: flex;
    width: 100%;
}

.about > div, 
.achievements > div {
    width: 50%;
    margin: 30px 20px;
}

.about > .text > p {
    line-height: 2em;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/*
 * SLIDER
 */

.carousel {
    position: relative;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.64);
    margin-left: 25px;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-open:checked + .carousel-item {
    position: static;
    opacity: 100;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
}

.carousel-item img {
    display: block;
    height: auto;
    max-width: 100%;
}

.carousel-control {
    background: rgba(0, 0, 0, 0.28);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 40px;
    height: 40px;
    line-height: 35px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    cursor: pointer;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
    width: 40px;
    z-index: 10;
}

.carousel-control.prev {
    left: 2%;
}

.carousel-control.next {
    right: 2%;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #aaaaaa;
}

#carousel-1:checked ~ .control-1,
#carousel-2:checked ~ .control-2,
#carousel-3:checked ~ .control-3,
#carousel-4:checked ~ .control-4,
#carousel-5:checked ~ .control-5 {
    display: block;
}

.carousel-indicators {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-indicators li {
    display: inline-block;
    margin: 0 5px;
}

.carousel-bullet {
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 35px;
}

.carousel-bullet:hover {
    color: #aaaaaa;
}

#carousel-1:checked ~ .control-1 ~ .carousel-indicators li:nth-child(1) .carousel-bullet,
#carousel-2:checked ~ .control-2 ~ .carousel-indicators li:nth-child(2) .carousel-bullet,
#carousel-3:checked ~ .control-3 ~ .carousel-indicators li:nth-child(3) .carousel-bullet,
#carousel-4:checked ~ .control-4 ~ .carousel-indicators li:nth-child(4) .carousel-bullet,
#carousel-5:checked ~ .control-5 ~ .carousel-indicators li:nth-child(5) .carousel-bullet {
    color: #428bca;
}

.achievements > .content > ul {
    margin-top: 30px;
}

.achievements > .content > ul > li {
    margin-bottom: 15px;
    line-height: 25px;
}

.achievements > .video {
    margin: 90px 20px 30px 70px;
}

.achievements > .video > iframe {
    width: 100%;
    height: 400px;
}

.portfolio__link {
    margin: 50px 20px 75px;
}

.portfolio__link > a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--white);
}


 /*
 * MEDIA QUERY
 */ 

 @media (min-width: 1920px) {

    .carousel {
        max-width: 960px;
        float: right;
    }

    .achievements > .video {
        margin: 30px 20px 30px 70px;
    }
    
    .achievements > .video > iframe {
        height: 500px;
    }
 }

 @media (max-width: 1280px) {

    .container {
        padding: 125px 80px 0;
    }

    .header > h1 {
        padding: 0 0 25px;
    }

    .about > div,
    .achievements > div {
        width: unset;
    }

    .about,
    .achievements  {
        flex-direction: column-reverse;
        width: unset;
    }

    .about > .text {
        text-align: justify;
        margin: 30px 0;
    }

    .slider {
        display: flex;
        justify-content: center;
        margin: 30px 0 !important;
    }

    .carousel {
        max-width: 60%;
        margin-left: 0;
    }
    
    .achievements {
        margin-top: 30px;
    }

    .achievements > .video {
        display: flex;
        justify-content: center;
        margin: 0 20%;
    }

    .achievements > .content > ul {
        margin: 30px 20px 0;
        text-align: justify;
    }

    .portfolio__link {
        margin: 30px 20px 50px;
    }

    .portfolio__link > a {
        line-height: 30px;
    }
 }

 @media (max-width: 768px) {

    .carousel {
        max-width: 80%;
    }

    .achievements > .video {
        margin: 0 10%;
    }

    .portfolio__link {
        margin: 10px 20px 50px;
    }
 }

 @media (max-width: 500px) {

    .container {
        padding: 125px 25px 0;
    }

    .header > h1 {
        padding: 0 0 10px;
    }

    .carousel {
        max-width: 100%;
    }

    .achievements {
        margin-top: 10px;
    }

    .achievements > .video {
        display: none;
    }

    .achievements > .content {
        margin: 0;
    }

    .achievements > .content > ul {
        margin: 30px 0;
        padding-left: 20px;
    }

    .portfolio__link {
        margin: 0 0 50px;
        text-align: justify;
    }
 }