@import url('https://fonts.googleapis.com/css?family=Raleway:200,300,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Caveat&display=swap');
/* ---------- TABLE OF CONTENTS ----------------- 
1. Global styles 
    1.1 Body blocks styles
    1.2 Headers (h1, h2, ...), text and links styles
    1.2 Global elements styles
2. Global classes styles
3. Header
    3.1 Header. Navigation styles
    3.2 Header. Content styles
    3.3 Header. Social media icons styles
4. Sections
    4.1 Section "About me"
        4.1.1 Section "About me". Text styles
    4.2 Section "Bootcamp prerequisites"
        4.2.1 Section "Bootcamp prerequisites". Text styles
    4.3 Section "Carousel"
        4.3.1 Section "Carousel". Animation
        4.3.2 Section "Carousel". Buttons and indicators
    4.4 Section "Skills"
        4.4.1 Section "Skills". Trchnologies styles
        4.4.2 Section "Skills". Accordion styles
    4.5 Section "Contact me"
5. "Go to top" button
6. Footer
    6.1 Footer. Text styles 
    6.2 Footer. Social media icons styles
-------------------------------------------------- */

/* colours: rgb(0, 0, 0), rgb(255, 255, 255), rgb(40, 43, 46), rgb(198, 239, 241) */

/* ------ Global styles ------ */

/* --- Body blocks styles --- */

html {
    font-size: 62.5%;
    /*10px == 1rem*/
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 200;
    color: rgb(40, 43, 46);
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    height: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

*:focus {
    outline: 0.2rem dotted PaleVioletRed;
}

header {
    background-color: rgb(40, 43, 46);
    height: 100%;
    background-image: url("../images/background/header_background.png");
    background-position: left;
    background-repeat: repeat;
    background-size: cover;
    background-origin: border-box;
    margin: 0;
    padding: 0;
}

section {
    height: 100%;
    margin: 3rem 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

section:last-of-type {
    margin: 3rem 0 0 0;
}

footer {
    margin-top: 0;
    padding-top: 0;
    background-color: rgb(40, 43, 46);
    color: rgb(255, 255, 255);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* --- Headers (h1, h2, ...), text and links styles --- */

h1 {
    font-size: 3.5rem;
    text-align: center;
    font-weight: 300;
    padding: 1.5rem 0;
    margin: 0;
    background-color: rgb(255, 255, 255);
}

h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    padding: 1.5rem;
    margin: 1rem;
}

h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    padding: 1.5rem;
    margin: 1rem;
}

h4 {
    text-align: left;
    font-size: 1.8rem;
    font-weight: 300;
    padding: 0.5rem 0 0 0;
    margin: 0.5rem 0 0 0;
}

p {
    padding: 1.5rem;
    margin: 1.5rem;
    font-size: 1.3vw;
    text-align: justify;
    line-height: 1.6;
    word-wrap: break-word;
}

a:link {
    text-decoration: none;
    color: rgb(40, 43, 46);
    padding: 0.2rem;
}

a:visited {
    color: rgba(36, 143, 143, 0.9);
}

a:hover {
    text-decoration: underline;
}

a:active {
    color: PaleVioletRed;
}

/* --- Global elements styles --- */

ul, li {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 50%!important;
    /*to fix layout issues caused by some browser extensions adding their styles */
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
}

textarea {
    border: 0.1rem solid rgba(40, 43, 46, 0.5);
    padding: 0.5rem;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.4rem;
    width: 100%;
    height: 12rem;
    resize: none;
    overflow: auto;
}

input[type=text], input[type=email] {
    border: 0.1rem solid rgba(40, 43, 46, 0.5);
    height: 3.5rem;
    padding: 0.5rem;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.4rem;
}

textarea:focus, input:focus {
    border-color: rgba(153, 206, 212, 0.7);
    -webkit-box-shadow: none;
    box-shadow: none;
    outline-offset: 0;
}

textarea::-webkit-input-placeholder, input::-webkit-input-placeholder {
    font-family: 'Raleway', Arial, sans-serif;
    color: rgba(40, 43, 46, 0.8);
    opacity: 1;
    font-size: 1.2rem;
    font-weight: 100;
}

textarea::-moz-placeholder, input::-moz-placeholder {
    font-family: 'Raleway', Arial, sans-serif;
    color: rgba(40, 43, 46, 0.8);
    opacity: 1;
    font-size: 1.2rem;
    font-weight: 100;
}

textarea:-ms-input-placeholder, input:-ms-input-placeholder {
    font-family: 'Raleway', Arial, sans-serif;
    color: rgba(40, 43, 46, 0.8);
    opacity: 1;
    font-size: 1.2rem;
    font-weight: 100;
}

textarea::-ms-input-placeholder, input::-ms-input-placeholder {
    font-family: 'Raleway', Arial, sans-serif;
    color: rgba(40, 43, 46, 0.8);
    opacity: 1;
    font-size: 1.2rem;
    font-weight: 100;
}

textarea::placeholder, input::placeholder {
    font-family: 'Raleway', Arial, sans-serif;
    color: rgba(40, 43, 46, 0.8);
    opacity: 1;
    font-size: 1.2rem;
    font-weight: 100;
}

label {
    padding: 1rem 0 0.5rem 0;
    text-align: center;
}

button {
    background-color: rgb(40, 43, 46);
    color: rgb(255, 255, 255);
    font-weight: 150;
    font-size: 2rem;
    padding: 1.5rem;
    border: none;
    outline: none;
    margin: 0;
    cursor: pointer;
}

button:hover {
    background-color: rgba(198, 239, 241, 0.9);
    color: rgb(40, 43, 46);
}

button:active {
    background-color: PaleVioletRed;
    color: rgb(40, 43, 46);
}

/* ------ Global classes styles ------ */

.container {
    margin: 0rem 6rem;
}

.section-content {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-item-align: center;
    align-self: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-image: url("../images/background/three_sections_background.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-origin: border-box;
}

.large-screen-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
}

/* ------ Header ------ */

/* --- Header. Navigation styles--- */

.navbar-brand img {
    margin: 0;
    padding: 0;
    width: 4.3vw;
    height: auto;
}

.navigation-bar {
    background-color: rgb(40, 43, 46);
    position: fixed;
    padding: 1rem 0;
    width: 100%;
    z-index: 10;
    -webkit-transition: top 0.5s;
    -o-transition: top 0.5s;
    transition: top 0.5s;
}

.navigation-bar ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    margin: 0;
    padding: 0;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
}

.underscore-nav-item li {
    margin-left: 1rem;
}

nav .toggle-bars {
    display: none;
}

.underscore-nav-item a {
    position: relative;
    color: rgba(255, 255, 255);
    padding: 0.5rem;
    border: 0.15rem solid transparent;
}

.underscore-nav-item a::after {
    content: '';
    display: block;
    background-color: rgb(198, 239, 241);
    height: 0.6rem;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1rem;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transition: -webkit-transform ease-in-out 250ms;
    transition: -webkit-transform ease-in-out 250ms;
    -o-transition: transform ease-in-out 250ms;
    transition: transform ease-in-out 250ms;
    transition: transform ease-in-out 250ms, -webkit-transform ease-in-out 250ms;
}

.underscore-nav-item a:hover::after, .underscore-nav-item a:active::after, .underscore-nav-item a:focus::after {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    color: rgb(198, 239, 241);
    text-decoration: none;
}

.toggle-bars a {
    color: rgb(255, 255, 255);
    border: none;
}

.toggle-bars a:hover {
    color: rgb(198, 239, 241);
}

.underscore-nav-item a:hover, .underscore-nav-item a:active {
    color: rgb(198, 239, 241);
    text-decoration: none;
}

.underscore-nav-item a::before {
    content: '';
    display: block;
    background-color: rgb(198, 239, 241);
    height: 0.6rem;
    position: absolute;
    left: 0;
    right: 0;
    top: -1rem;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transition: -webkit-transform ease-in-out 150ms;
    transition: -webkit-transform ease-in-out 150ms;
    -o-transition: transform ease-in-out 150ms;
    transition: transform ease-in-out 150ms;
    transition: transform ease-in-out 150ms, -webkit-transform ease-in-out 150ms;
}

a.active-nav-item::before {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
}

/* --- Header. Content styles--- */

.header-content {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
    -ms-flex-line-pack: center;
    align-content: center;
}

.header-name {
    padding-top: 6.5%;
    width: 50%;
}

.header-name p {
    margin: 0;
    font-size: 2rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
}

/* --- Header. Social media icons styles --- */

.header-smIcons {
    background-color: rgba(40, 43, 46, 0.95);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

.header-smIcons ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 1rem 0;
    padding: 0 1rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

.header-smIcons a {
    font-size: 2.5vw;
    color: rgb(198, 239, 241);
    margin: 0.1rem;
    padding: 0.1rem 0.5rem;
    border: none;
}

.header-smIcons a:hover {
    color: rgb(40, 43, 46);
    background-color: rgba(198, 239, 241, 0.8);
    border-radius: 0.5rem;
    border: none;
}

.header-smIcons li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 1rem 0;
    padding: 0;
}

/* ------ Sections ------ */

/* --- Section "About me" --- */

.section-aboutme .section-content {
    background-image: url("../images/background/section_aboutme_background.png");
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    background-origin: border-box;
    background-color: rgba(226, 230, 231, 0.9);
}

/* - Section "About me". Text styles - */

.section-aboutme-text {
    margin: 3rem;
    width: 50%;
    background-color: rgba(255, 255, 255, 0.85);
}

/* --- Section "Bootcamp prerequisites" --- */

.section-bootcamppre-text-and-prerequisites {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 3rem;
}

.section-bootcamppre-prerequisites {
    width: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    margin-right: 6rem;
    border: 0.1rem solid rgba(40, 43, 46, 0.4);
}

/* - Section "Bootcamp prerequisites". Text styles - */

.section-bootcamppre-text {
    width: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 0.1rem solid rgba(40, 43, 46, 0.4);
}

.prerequisites-links ul {
    padding: 1.5rem;
    font-size: 1.3vw;
    list-style: circle;
    list-style-position: inside;
}

.prerequisites-links li {
    margin: 1rem;
}

.prerequisites-links img {
    padding: 0.5rem;
    margin: 0.5rem;
    border: 0.2rem solid rgb(40, 43, 46);
    width: 90%;
    height: auto;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

/* --- Section "Carousel" --- */

.section-all-carousel-elements {
    position: relative;
    left: 0;
    width: auto;
    height: auto;
    margin: 3rem;
}

.carousel-images-list {
    list-style: none;
    margin: 0 0 6rem 0;
    padding: 1.5rem 0;
    width: 100%;
}

.carousel-images-list li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.carousel-images-list img {
    z-index: 1;
    width: 55%;
    height: auto;
    cursor: pointer;
    -webkit-box-shadow: 0 0.5rem 0.9rem 0 rgba(0, 0, 0, 0.5), 0 0.7rem 2rem 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 0.5rem 0.9rem 0 rgba(0, 0, 0, 0.5), 0 0.7rem 2rem 0 rgba(0, 0, 0, 0.25);
}

.carousel-images-list img:active {
    transform: scale(1.4);
}

/* - Section "Carousel". Animation - */

.slide-to-right-animation {
    position: relative;
    -webkit-animation: slideRight 2s;
    animation: slideRight 2s;
}

@-webkit-keyframes slideRight {
    from {
        left: -120px;
        opacity: 0;
    }
    to {
        left: 0;
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        left: -120px;
        opacity: 0;
    }
    to {
        left: 0;
        opacity: 1;
    }
}

.slide-to-left-animation {
    position: relative;
    -webkit-animation: slideLeft 2s;
    animation: slideLeft 2s;
}

@-webkit-keyframes slideLeft {
    from {
        right: -120px;
        opacity: 0;
    }
    to {
        right: 0;
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        right: -120px;
        opacity: 0;
    }
    to {
        right: 0;
        opacity: 1;
    }
}

/* --- Section "Carousel". Buttons and indicators --- */

.section-carousel button {
    background-color: transparent;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 0;
    margin: 0.5rem;
}

.slide-indicators button, .play-stop-buttons button {
    font-size: 3rem;
    margin: 1rem;
    padding: 0.1rem 1rem;
    border-radius: 0.5rem;
}

.slide-indicators button:hover, .play-stop-buttons button:hover, .dot:hover {
    color: rgba(198, 239, 241, 0.9);
    background-color: rgba(40, 43, 46, 0.8);
}

.slide-indicators button:active, .play-stop-buttons button:active {
    color: PaleVioletRed;;
}

.dot:active {
    background-color: PaleVioletRed;;
}

.buttons-indicators {
    position: absolute;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-bottom: 1rem;
    width: 100%;
    z-index: 0;
}

.slide-indicators {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 15%;
}

.buttons-bottom-carousel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 1.5rem;
}

.dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: 30%;
}

.play-stop-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.dot {
    width: 1rem;
    height: 1rem;
    margin: 0.5rem;
    border: 0.2rem solid rgb(40, 43, 46);
    border-radius: 50%;
    cursor: pointer;
}

.fill-color {
    background-color: rgb(40, 43, 46);
    border: 0.1rem solid rgb(255, 255, 255);
}

/* --- Section "Skills" --- */

.section-skills ul {
    list-style-position: inside;
    list-style: circle;
    margin: 1.5rem;
}

.section-skills li {
    padding: 0.5rem 0;
}

/* - Section "Skills". Techologies styles- */

.technologies-and-accordion {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 3rem;
}

.technologies-content {
    width: 50%;
    margin-right: 6rem;
    background-color: rgba(255, 255, 255, 0.9);
    border: 0.1rem solid rgba(40, 43, 46, 0.4);
}

.grid-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 1.5rem auto 1.5rem auto;
    grid-template-columns: auto auto auto;
    grid-gap: 1.5rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1.5rem;
    margin: 3rem;
}

.grid-item {
    background-color: rgb(40, 43, 46);
    color: rgb(255, 255, 255);
    width: 10rem;
    height: 10rem;
    text-align: center;
    -webkit-box-shadow: 0.2rem 0.2rem rgba(40, 43, 46, 0.5);
    box-shadow: 0.2rem 0.2rem rgb(40, 43, 46, 0.5);
    border: none;
}

span.grid-item {
    padding: 1rem;
}

span.grid-item:hover {
    transform: scale(1.4);
}

.grid-item i {
    font-size: 4.5rem;
    padding-bottom: 1rem;
}

/* Section "Skills". Accordion styles" */

.accordion-certificates-content {
    width: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 0.1rem solid rgba(40, 43, 46, 0.4);
}

.accordion-certificates {
    padding: 1.5rem;
    margin: 3rem;
}

.cert-accordion {
    width: 100%;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

.cert-accordion:hover::after {
    color: rgb(40, 43, 46);
}

button.cert-accordion {
    display: flex;
    justify-content: space-between;
}

.cert-accordion::after {
    content: '\002B';
    color: rgb(255, 255, 255);
    margin-left: 0.5rem;
}

.active-acc-button::after {
    content: "\2212";
}

.cert-accordion-content {
    padding: 0 1.8rem;
    background-color: rgb(255, 255, 255);
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.2s ease-out;
    -o-transition: max-height 0.2s ease-out;
    transition: max-height 0.2s ease-out;
}

/* --- Section "Contact me" --- */

.section-contactme .section-content {
    background-image: none;
}

.section-contactme {
    background-image: url("../images/background/section_contactme_background.png");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-origin: border-box;
    background-color: rgba(153, 206, 212, 0.5);
    padding-bottom: 3rem;
}

.section-contactme-form {
    border: 0.1rem solid rgb(40, 43, 46);
    padding: 3rem 4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
}

.section-contactme-form button {
    margin: 1.5rem 0;
    font-size: 1.6rem;
}
/* ------ "Go to top" button ------ */

.button-to-top {
    z-index: 11;
    display: none;
    position: fixed;
    bottom: 5rem;
    right: 6rem;
    background-color: transparent;
    font-size: 2.5vw;
    padding: 0.15rem 0.3rem;
    margin: 0;
    color: rgba(0, 0, 0, 0.7);
    border-radius: 0.5rem;
}

.button-to-top:hover {
    color: rgba(198, 239, 241, 0.9);
    background-color: rgba(40, 43, 46, 0.8);
}

.button-to-top:active {
    color: PaleVioletRed;
}

/* ------ Footer ------ */

/* --- Footer. Text styles --- */

.footer-about-text {
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 0;
    margin: 0;
}

.footer-about-text p {
    text-align: center;
    padding: 1.5rem;
    margin: 1rem;
}

/* --- Foter. Social media styles --- */

.footer-smIcons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

.footer-smIcons ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 1.5rem 1rem 0 1rem;
}

.footer-smIcons li {
    margin: 2rem;
}

.footer-smIcons a {
    font-size: 2.5vw;
    color: rgb(198, 239, 241);
    margin: 0.1rem;
    padding: 0.1rem 0.5rem;
    border: none;
}

.footer-smIcons a:hover {
    color: rgb(40, 43, 46);
    background-color: rgba(198, 239, 241, 0.8);
    border-radius: 0.5rem;
    border: none;
}