/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/

html,
body {
    width: 100%;
    margin: 0;
    background-color: rgb(244, 248, 251);
}
a {
    text-decoration: none;
    color: white;
}
h1 {
    text-align: center;
}
h1,
h2,
p {
    font-family: sans-serif;
}
.hr-vertical-lines {
    margin: 0;
    align-self: center;
    padding: 0;
    height: 10px;
    width: 50%;
    border: none;
    color: rgb(81, 149, 168);
    background-image: linear-gradient(90deg, rgb(81, 149, 168), rgb(81, 149, 168) 33.33%, transparent 33.33%, transparent 100%);
    background-size: 3px 100%;
}

.business-card .hr-vertical-lines {
    width: 100%;
}


/*BIOGRAPHY BLOCK*/
.profile-block {
    padding: 2%;
}

.profile-block p {
    text-align: justify;
}

.profile-block-title {
    display: flex;
    flex-direction: row;
    padding: 0 2%;
}

.profile-block h1 {
    color: rgb(229, 79, 1);
}

.profile-block-title h2 {
    text-transform: uppercase;
    color: rgb(81, 149, 168);
    padding-right: 30px;
}

.profile-block-content {
    padding: 2%;
    display: flex;
    flex-direction: row;
}

.profile-card {
    width: 75%;
    margin-right: 2%;
}

.profile-card-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.profile-card-content>div {
    margin: 0 3%;
}
.profile-card-content img {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    margin-right: 5%;
}

.profile-card-content h2,
.business-card h2 {
    color: rgb(229, 79, 1);
}

.profile-card-content h2,
.profile-card-content p {
    margin: 0;
}
.profile-card-main-info {
    margin-bottom: 15px;
}

.profile-card-content-links {
    text-align: center;
    margin-right: 10%;
}
.profile-card-content-links h3{
    padding: 0 10%;
}
.profile-card-content-links i {
    background-color: rgb(38, 122, 146);
    text-align: center;
    margin: 5px;
    padding: 4px;
    border-radius: 100%;
    color: white;
    width: 25px;
    height: 25px;
}


/*BUSINESS BLOCK*/
.business-card {
    width: 25%;
    text-align: center;
    margin-top: 0px;
}
.button-profile {
    border-radius: 100px;
    text-decoration: none;
    padding: 10px;
    color: white;
    background-color: rgb(242, 168, 129)!important;
    font: normal 15px arial;
    width: max-content;
    margin: auto;
}

.button_container {
    margin-bottom: 20px;
}



/*YOUR COURSES & YOUR GROUPS*/

.courses-block,
.groups-block {
    background-color: rgb(201, 221, 228);
}

.courses-block h3,
.groups-block h3 {
    color: white;
}

.block-title {
    color: rgb(38, 122, 146);
}


.courses-block,
.groups-block {
    margin: 15px 0;
    padding: 10px 50px 50px 30px;
    display: flex;
    flex-direction: column;
}


.courses-block-card,
.groups-block-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 1140px;
    width: 100%;
    max-width: 1140px!important;
    position: relative;
    margin: auto;
}

.courses-block-card-item,
.groups-block-card-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgb(24, 84, 104);
    border: 2px solid rgb(229, 79, 1);
    margin: 0 10px;
    width: 265px;
    height: 268px;
    padding: 10%;
}

.courses-block-card-item a,
.groups-block-card-item a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    padding-top: 20px;
    width: 55%;
    border-top: 3px solid rgb(201, 221, 228);
    color: rgb(201, 221, 228);
}

.courses-block-card-item h3,
.groups-block-card-item h3 {
    padding-bottom: 30px;
}


.groups-block-card-item {
    background-color: rgb(230, 83, 3);
    width: 265px;
    height: 268px;
    border-radius: 10%;
    margin: 0 10px;
    padding: 10%;
}


/* Slideshow container */
.slideshow-container {
    width: 100%;
    max-width:1140px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides, .mySlides2 {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: -5%;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: -5%;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.profile-edit-button {
    margin-top: -76px;
    margin-bottom: 76px;
}

@media (max-width: 800px) {
    .profile-card-content {
        display:block;
    }

    .profile-block-content {
        display:block;
    }

    .profile-edit-button {
        top: 16.8vh;
        right: 0px;
        position:absolute;
    }

    .hr-vertical-lines {
        display:none;
    }
    .business-card {
        width:100%;
    }
}