/* Link Styles */
a:link {
    color: black; 
    background-color: transparent; 
    text-decoration: none;
    }

    a:visited {
    color: black;
    background-color: transparent;
    text-decoration: none;
    }

    a:hover {
    color: black;
    background-color: transparent;
    font-weight: bold;
    text-decoration: none;
    }

    a:active {
    color: rgb(50, 69, 132);
    background-color: transparent;
    text-decoration: none;
    }

/* Styles for Specific HTML: */

.top{
    clear:both; display: flow-root;
} /* flow-root prevents the contanier from collapsing when all it contains are floats */

.mainheader{
    float:left; 
    font-size: 40px; 
    font-family: "Inter", sans-serif; 
    font-weight: 400;
    font-style: normal;
}

.navbar{
    float:right;
    margin-top:45px;
    font-size: 20px; 
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

.line{
width: 100%;
height: 1px;
background-color:black;
margin-bottom: 40px;
}

.portrait{
    height: 267px;

    margin-right: 30px;
    margin-left: 30px;

    float:left;
}

.intro{
    height: 267px;

    margin-right: 30px;

    font-size:16px;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.5;

    margin-top:40px;
}

.section_header{
font-size:32px;
font-weight: normal;
font-family: Helvetica, Arial, sans-serif;

margin-top:40px;
}

.par{
    font-size: 16px;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.5;
    margin-right: 15px;
    margin-left: 15px;
}

.contact_info{
    font-size: 16px;
    font-family: "Inter", Helvetica, Arial, sans-serif;
    line-height: 1.5;
    margin-right: 15px;
    margin-left: 30px;
}

.contact_info:link {
    color: blue; 
    background-color: transparent; 
    text-decoration: none;
    }

    .contact_info a:visited {
    color: blue;
    background-color: transparent;
    text-decoration: none;
    }

    .contact_info a:hover {
    color: blue;
    background-color: transparent;
    font-weight: normal;
    text-decoration: underline;
    }

    .contact_info a:active {
    color: rgb(50, 69, 132);
    background-color: transparent;
    text-decoration: none;
    }

/* CV Page */   

.CV{
    width:740px; 
    height:1920px;
    margin-left: 30px;
}

/* Portfolio Page */   
.img_gallery{
    margin: 10px;
    float: left;
    width: 375px;
}
.img_gallery:hover{
    border: 1px solid black;
    padding: 2px;
    margin: 7px;
    border-radius: 0px 0px 10px 10px;
}
.gallery_item{
    width: 375px;
}
.img_desc{
    font-size: 16px;
    font-family: serif;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 15px;
    margin-left: 15px;
}
.overlay {
    display:none;
}
.img_gallery:hover .overlay{
    position:absolute;
    color:white;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    background:rgba(0, 0, 0, 0.7);
    border-radius: 0px 0px 10px 10px;
    float:inline-start;
    display: block;
    width: 355px;
    padding: 10px;
}
.line_break{
    clear: both;
}
