html{
    height: 100%;
}

body{
    margin: 0;
    position: relative;
    height: 100%;
    color: #514743;
    font-family: Verdana, sans-serif;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6{
    /* display: inline-block; */
    margin-block-start: .5em;
    margin-block-end: .5em;
}

.btn{
    border: 0;
}

.btn-white{
    background-color: #fff;
    font-size: 20px;
}

.btn:focus{
    outline: none;
}

.header{
    height: 350px;
    /* background-color: green; */
    background-image: url(../img/image01.jpg);
    background-size: cover;
    background-position: top;
    color: #fff;
    
}

.header .overlay{
    display: flex;
    height: 100%;
    width: 100%;
    background-color: black;
    background-color: rgba(0,0,0,0.3);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header .header-content{
    font: 600 30px normal;
    text-align: center;
    /* line-height: 350px; */
    /* z-index: 100; */
}

.logo{
    font-family : fantasy, 'Comic Sans MS', monospace;
    font-size: 1.5em;
}

.nav{
    width: 100%;
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 5px 15px #9d9592;
    z-index: 100;
}

.fixed{
    position: fixed;
    top: 0;
    
}

.nav .nav-bar{
    list-style: none;
    text-align: center;
    padding-inline-start: 0px;
    margin-block-start: .6em;
    margin-block-end: .6em;
    
}

.nav .nav-bar li{
    display: inline-block;
}

.nav .nav-bar a{
    display: inline-block;
    width: 90px;
    text-decoration: none;
    padding: 5px 10px;
    font: 400 18px normal;
    border-radius: 5px;
    color: #514743;
    /* color: #403834; */
    transition: all .3s ease;
}

.nav .nav-bar a:hover{
    background-color: #d5edf9;
}

.nav .nav-bar-hamburger{
    display: none;
}

.container{
    text-align: center;
}

.content{
    width: 80%;
    display: inline-block;
    padding: 10px 20px 30px;
    /* background-color: #fff; */
    box-sizing: border-box;
    margin: 10px 0;
    /* text-align: left; */
    border-radius: 5px;
}

.content .title{
    text-align: center;
    font-size: 2em;
}

.footer{
    display: flex;
    height: 80px;
    width: 100%;
    /* text-align: center; */
    background-color: #2da8e5;
    color: #fff;
    justify-content: center;
    align-items: center;
}


.block-50{
    display: inherit;
    vertical-align: top;
    box-sizing: border-box;
    width: 50%;
    float: left;
    padding: 10px;
}

.card-block{
    display: flex;
}

.card{
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    padding: 20px 20px;
    box-sizing: border-box;
    color: #514743;
}

.card img{
    border-radius: 5px;
    width: 100%;
}

.card a{
    color: #2da8e5;
}

.card a:visited{
    color: #165472;
}

.card-content{
    text-align: left;
}

.card .state::before{
    content: "state: ";
}

#profile, #works,
#skills,#contact, #university{
    /* margin-top: -50px; */
    padding-top: 40px;
    padding-bottom: 20px;
}

/* about me */
#profile{
    background-color: #f5f5f5;
    /* color: #fff; */
}

#profile .content{
    /* background-color: #fff; */

}

#profile img{
    border-radius: 50px;
    max-height: 300px;
}

/* university */
#university{
    background-color: #857b77;
    background-image: url(../img/image04.jpg);
    background-size: cover;
    color: #fff;
}

.content .overlay{
    height: 100%;
    width: 100%;
    background-color: black;
    background-color: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 5px;
    box-sizing: border-box;
    display: inline-block;
}


/* works */
#works{
    background-color: #857b77;
    background-image: url(../img/cork02-p.jpg);
    background-size: 400px;
    color: #fff;

}
#works .content{
    /* background-color: #857b77; */
    background-color: rgba(0,0,0,0.3);
}

/* skills */
#skills{
    background-color: #f5f5f5;
}

#skills .content{
    /* color: #fff; */
}

/* contact */
#contact{
    background-image: url(../img/image02.jpg);
    background-size: cover;
    background-position: top;
    color: #fff;
}

#contact .content{
    background-color: transparent;
}

.contact-set{
    display: inline-block;
    box-sizing: border-box;
    margin: 20px 20px;
    vertical-align: top;
    /* color: #fff; */
}

.contact-set .icon{
    margin: 0 10px 10px;
    color: #fff;
}

.contact-set .icon:hover{
    color: #2da8e5;
}

.modal-wrap{
    display: block;
}

.modal-overlay{
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 150;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
}

.modal-content{
    width: 90%;
    max-height: 600px;
    background-color: #fff;
    padding: 30px;
    align-self: center;
    border-radius: 10px;
    text-align: center;
    overflow: auto;
}
