* {
    box-sizing: border-box;
}

html {
    background-color: #2e3830;
    height: 100%;
}

body {
    font-family: 'Cardo', serif;
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: #c53211;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

a {
    color: #c53211;
}

.navbar {
    font-size: 20px;
    background-color: #2e3830;
    border: none;
}

.navbar-nav > li {
    min-width: 120px;
    text-align: center;
}

.navbar-logo {
    position: inline-block;
}

.page-header {
    left: 0;
    line-height: 200px;
    margin-top: -150px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
}

.home-details {
    width: 100%;
    height: 100%;
}

.contact-links {
    text-decoration: none !important;
}

.contact-images:hover {
    opacity: 0.7;
}

.contact-images:active {
    opacity: 0.4;
}

.projects-details {
    padding-top: 25px;
    padding-bottom: 50px;
}

.myfooter {
    position: absolute;
    width: 100%;
    background-color: #2e3830;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    float: left;
    clear: none;  
}

/* For Computers*/
@media screen and (min-width : 769px) {
    h1 {
        font-size: 80px;
    }

    h2 {
        font-size: 50px;
    }

    p {
        color: #2e3830;
        font-size: 20px;
    }

    .page-details {
        background: #e6dbc9;
        text-align: center;
        clear: none;
        min-height: 100%;
    }

    .about-details {
        padding-top: 100px;
    }

    .profile-body {
        margin-left: 25%;
        margin-right: 25%;
        text-align: left;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .profile-resume {
        padding-bottom: 75px;
    }

    .profile-pic {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 150px;
        max-height: 150px;
        border-radius: 50%;
    }

    .contact-details {
        background: #e6dbc9;
        padding-top: 100px;
        text-align: center;
        clear: none;
        min-height: 100%;
    }
    
    .contact-header {
        text-align: center;
        padding-top: 25px;
        padding-bottom: 20px;
    }

    .contact-images {
        position: relative;
        float: center;
        padding: 25px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
    }

    .project-element {
        padding-top: 50px;
        margin-left: 25%;
        margin-right: 25%;
    }

    .slideshow-container {
        padding-top: 20px;
        width: 100%;
        position: relative;
        padding-bottom: 20px;
    }
    
    .mySlides1 {
        text-align: center;
        display: none;
    }

    .mySlides2 {
        text-align: center;
        display: none;
    }
    
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 46%;
        width: auto;
        padding: 12px;
        color: #e6dbc9;
        background-color: #2e3830;
        font-weight: bold;
        font-size: 12px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
    }
  
    .text {
        background-color: #2e3830;
        color: #e6dbc9;
        font-size: 20px;
        padding: 8px;
        position: absolute;
        bottom: 0;
        width: 100%;
    }
}

/* For Phones */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    p {
        color: #2e3830;
        font-size: 18px;
    }

    .page-details {
        background: #e6dbc9;
        text-align: center;
        clear: none;
        width: 100%;
        min-height: 100%;
    }

    .about-details {
        padding-top: 100px;
    }

    .profile-body {
        margin-left: 5%;
        margin-right: 5%;
        text-align: left;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .profile-resume {
        padding-bottom: 50px;
    }

    .profile-pic {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 150px;
        max-height: 150px;
        border-radius: 50%;
    }

    .contact-details {
        background: #e6dbc9;
        padding-top: 100px;
        text-align: center;
        clear: none;
        min-height: 100%;
    }
    
    .contact-header {
        text-align: center;
        padding-top: 25px;
        padding-bottom: 20px;
    }

    .contact-images {
        position: relative;
        float: center;
        padding: 10px;
        width: 80px;
        height: 80px;
        border-radius: 50%;
    }

    .project-element {
        padding-top: 25px;
        margin-left: 5%;
        margin-right: 5%;
        padding-top: 50px;
    }

    .slideshow-container {
        padding-top: 20px;
        width: 100%;
        position: relative;
        padding-bottom: 20px;
    }
    
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 48%;
        width: auto;
        padding: 8px;
        color: #e6dbc9;
        background-color: #2e3830;
        font-weight: bold;
        font-size: 10px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
    }
  
    .text {
        background-color: #2e3830;
        color: #e6dbc9;
        font-size: 16px;
        padding: 8px;
        position: absolute;
        bottom: 0;
        width: 100%;
    }
}

.prev {
    left: 0;
}
  
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
    
.mySlides1 {
    text-align: center;
    display: none;
}

.mySlides2 {
    text-align: center;
    display: none;
}
  
.active, .dot:hover {
    background-color: #717171;
}
  
@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
  
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.project-info {
    text-align: left;
    padding-bottom: 25px;
    padding-top: 25px;
}
