/* Background and body content*/
body {
    margin-top: 20px;
    font-family: "Lato", sans-serif;
    font-size: 24px;
    color: #2d3c49;
    font-weight: 300;
    background: linear-gradient(#ffffff, #c6c6c6);
}

h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.1em;
}

/* Background design pattern */
.bg2 {
    background: #2d3c49;
    color: #efefef;
    position: relative;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
}

.bg2:after {
    background: inherit;
    bottom: 0;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    transform: skewY(-5deg);
    transform-origin: 100%;
    z-index: -1;
}

.bg3 {
    background: #2d3c49;
    color: #efefef;
    position: relative;
    z-index: 1;
    padding-bottom: 5%;
}

.bg3:before {
    background: inherit;
    bottom: 0;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    transform: skewY(5deg);
    transform-origin: 100%;
    z-index: -1;
}
.section-title {
    padding-top: 15%;
    padding-bottom: 20px;
}

.section-end {
    padding-bottom: 15%;
}

/* Images and Elements*/
img,
embed,
object,
video {
    max-width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.profile {
    max-width: 300px;
    max-height: 450px;
    margin: auto;
    border-radius: 5%;
    margin-top: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

.project {
    max-height: 450px;
    margin: auto;
    border-radius: 5%;
    opacity: 0.6;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.project:hover {
    border: 3px solid #ffffff;
    opacity: 1.0;
}

/* Resume */
.resume-section {
    position: relative;
    top: 0;
    left: 0;
}

.dl-btn {
    width: 7%;
    height: 5.5%;
    position: absolute;
    top: 1.5%;
    left: 82%;
    z-index: 3;
    border-radius: 190px;
}

.dl-btn:hover {
    color: #c6c6c6;
    opacity: 0.5;
}

.resume {
    margin: auto;
    border-radius: 5%;
    margin-bottom: 150px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Logo */
.title-logo {
    max-height: 200px;
    max-width: 200px;
    width: 20%;
    height: 20%;
    min-width: 100px;
    min-height: 100px;
    margin: auto;
    display: block;
    box-shadow: none;
}

/* Fonts */
.text-muted {
    color: #7d97ad;
}

.text-thin {
    font-weight: 300;
}

.title-super {
    font-size: 300%;
}

.title-sub {
    font-size: 90%;
}

.text-footer {
    font-weight: 300;
    font-size: 0.7em;
    text-align: center;
    padding-bottom: 10px;
}

/* Home Section */
#home {
    margin-top: 200px;
    margin-bottom: 300px;
    text-align: center;
}

/* Project Section */
#projects {
    text-align: center;
}

.proj-div {
    text-align: center;
    margin: auto;
}

/* Social Media Buttons */
.media-btn {
    margin: auto;
}

.media-btn:hover {
    color: #c6c6c6;
    opacity: 0.5;
}

.social-section {
    margin-bottom: 450px;
}

/* Modal */
button {
    min-width: 48px;
    min-height: 48px;
}

.modal-body {
    display: flex;
    margin: auto;
}