@font-face {
  font-family: TitleFont;
    src: url(Fonts/5Computers-In-Love.ttf);
}

@font-face {
    font-family: WindowFont;
    src: url(Fonts/PixelOperator-Bold.ttf);
}

body {
    color: rgb(8, 48, 76);
    font-family: WindowFont;
    background-color: #daf8f2;
    background-image: linear-gradient(to bottom, #b2f3e6, #d2f8bd);
}

h1 {
    margin-top: 140px;
    text-align: center;
    font-size: 100px;
    letter-spacing: -13px;
    word-spacing: -50px;
    text-shadow: 5px 5px 1px #6cb5cb;
    font-family: TitleFont;
    margin-bottom: 20px;
}

.top-nav {
    padding: 10px;
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

p {
    background-image: linear-gradient(to bottom, #d5f7fb, #56d1d1);
    padding: 10px;
    border-radius: 7px;
    border: 1px solid #2e2b86;
    margin: 10px;

    font-size: 20px;
    text-shadow: 1px 1px 1px #6cb5cb;
    cursor: pointer;
    transition-duration: 0.2s;
}

p:hover {
    background-image: linear-gradient(to bottom, #75bfc9, #23a2a2);
    text-shadow: 1px 1px 1px #4a75b0;
    color: #e5fffb;
}

.portfolio {
    background-image: linear-gradient(to bottom, #75bfc9, #23a2a2);
    text-shadow: 1px 1px 1px #4a75b0;
    color: #e5fffb;
}

img {
    max-width: 400px;
    display: block;
    padding-top: 21px;
}

figure {
    margin-bottom: 50px;
    margin-top: 80px;
    padding-bottom: 136px;
    padding-top: 0;
    padding-left: 30px;
    padding-right: 30px;
	max-width: 400px;
    max-height: 500px;
	background-color: #e5fffb;
	box-shadow: 10px 10px 5px rgb(142, 172, 195);
    border-radius: 7px;
    border: 1px solid #2e2b86;
    cursor: pointer;
    transition-duration: 0.2s;
    position: relative;
}

figure:hover, .info-box1:hover, .info-box2:hover {
    transform: scale(110%, 110%);
    opacity: 100%;
}

header {
    margin-bottom: 11px;
    margin-top: 0;
    margin-left: -30px;
    margin-right: -30px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 21px;
    padding-top: 8px;
    padding-bottom: 9px;
    padding-left: 30px;
    display: flex;
    align-items: stretch;
    background-image: linear-gradient(to bottom, #96d7f5, #5a7fda);
    color: #e5fffb;
    text-shadow: 2px 2px 1px rgba(49, 60, 102, 0.5);
}

.img2 {
    float: right;
    margin-right: 200px;
    margin-left: 25px;
}

.img1 {
    float:left;
    margin-left: 200px;
    margin-right: 25px;
}

button {
    font-size: 15px;
    color: #e5fffb;
    text-shadow: 2px 2px 1px rgba(49, 60, 102, 0.5);
    background-color: rgba(11, 53, 140, 0.5);
    border-color:#c5d9e6;
    border-radius: 4px;
    padding-left: 7px;
    padding-right: 7px;
    margin-left: 5px;
    cursor: pointer;
}

.x {
    background-color: #c64a4a;
}

.underscore {
    margin-left: 175px;
}

.info-box1, .info-box2 {
    background-color: #e5fffb;
    border-radius: 7px;
    border: 3px solid #2e2b86;
    border-style: dashed;
    margin-left: 200px;
    position: absolute; top:0; 
    padding: 7px;
    opacity: 0%;
    transition-duration: 0.4s;
}

