:root {
    --profile-theme: #4682bf;
    --profile-theme-light: #aacae6;
    --color-gray-light-1: #f8f8f8;
    --color-gray-dark-1: #545454;
    --color-gray-dark-2: #747474;
    --color-aqua: #00a6a6;
    --color-dark-blue: #14253e;
}

/*@keyframes circle {*/
/*    0% {*/
/*        box-shadow: 0 0 0 0px rgba(51, 52, 57, 1);*/
/*    }*/
/*    100% {*/
/*        box-shadow: 0 0 0 6px rgba(51, 52, 57, 0);*/
/*    }*/
/*}*/

@keyframes circle {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 37, 62, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(20, 37, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(20, 37, 62, 0);
    }
}

html {
    font-size: 100%;
    font-family: 'PT Sans', sans-serif;
}

body {
    margin: 0;
    padding: 2rem 1rem;
    min-height: 100vh;
    background-color: var(--color-gray-light-1);
}

.main-content {
    box-shadow: 0 0 15px 4px #b3b3b3;
    background-color: white;
}

.intro {
    box-shadow: 5px 0 15px 0 #b3b3b3;
    z-index: 5;
    padding: 0;
    color: var(--color-gray-dark-1);

    .profile {
        position: relative;
        background-color: var(--profile-theme);
        padding: 2rem 1rem;
        text-align: center;
        user-select: none;
        color: white;

        .photo img {
            width: 80%;
            border-radius: 50%;
        }

        @media (min-width: 768px) {
            ::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 30px;
                /*background: linear-gradient(to top right, var(--profile-theme) 48%, transparent 48%);*/
                background-color: white;
                /*transform: skewY(-5deg);*/
                clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
            }
        }
    }

    .info {
        padding: 1.5em;
        user-select: none;

        .section {
            margin-top: 1.5em;
            margin-bottom: 2.5em;
        }

        .contact-list {
            list-style: none;
            padding: 1em;
            margin: 0;
            user-select: text;

            li {
                display: flex;
                align-items: center;
                margin-bottom: 0.4em;

                i {
                    width: 2em;
                    text-align: center;
                    margin-right: 1em;
                    color: var(--color-gray-dark-1);
                }

                a {
                    color: inherit;     /* neemt tekstkleur over */
                    text-decoration: none;
                }

                a:hover {
                    text-decoration: underline;
                }
            }
        }

        .skills-progress {
            padding: 10px;

            .progress-label {
                color: var(--color-gray-dark-2);
                font-weight: bold;
            }

            .progress {
                margin-bottom:5px;
            }
        }
    }
}

.page-blocks {
    padding: 2em;

    .section {
        padding: 2em;

        .section-title {
            display: flex;
            align-items: center;
            margin-bottom: 1.6em;
            height: 3em;
        }

        .section-title i {
            margin-right: 0.63em;
            font-size: 1.14em;
            background-color: var(--profile-theme);
            color: #fff;
            border: 0.25em solid var(--profile-theme-light);
            border-radius: 50%;
            width: 2.40em;
            height: 2.40em;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.6;
            transition: all 0.3s;
        }

        .section-content {
            padding-left: 1.5em;
            user-select: none;

            .timeline-block:not(:last-of-type) {
                margin-bottom: 1rem;
            }

            .timeline-block {
                position: relative;
                padding-left: 2em;
            }

            .timeline-block h2 {
                font-size: 1rem;
                margin: 10px 0;
                transition: all 0.3s;
            }

            .timeline-block p {
                font-size: 0.8rem;
                margin: 0;
            }

            .timeline-block time {
                font-size: 0.8rem;
                margin: 0 0 15px;
                color: var(--color-gray-dark-2);
            }

            .timeline-block::before {
                position: absolute;
                content: '';
                width: 20px;
                height: 20px;
                background-color: white;
                border: 3px solid var(--color-dark-blue);
                border-radius: 50%;
                left: -10px;
                top: -5px;
            }

            .timeline-block:hover::before {
                animation: circle 1.2s infinite;
            }

            .timeline-block:hover h2 {
                color: var(--color-aqua);
            }

            .timeline-block::after {
                position: absolute;
                content: '';
                width: 3px;
                height: 100%;
                background-color: var(--color-dark-blue);
                left: -1px;
                top: 13px;
            }
        }
    }

    .section:hover {
        > .section-title i {
            transform: scale(1.5);
            margin-right: 1.2em;
        }
    }
}
