@font-face {
    font-family: Tetla;
    src: url(Tetla-Regular.ttf);
}

body {
    margin: 0;
}

nav {
    border-bottom: 1px solid #ccc;
    font: 22px Tetla;
    display: flex;
    padding: 14px 60px;
}

nav > #logo {
    color: #2082c3;
    font-weight: bold;
    flex: 1;
    text-decoration: none;
    text-shadow: 0 0 10px #3cc7e8;
}

nav > .menu {
    color: #555;
    margin: 0 10px;
    text-decoration: none;
}

nav > .menu:hover {
    color: #a3d1e0;
    font-weight: bold;
    text-shadow: 0 0 10px #ccc;
}

#bg {
    background-image: url(main.png);
    background-color: rgba(255, 255, 255, 255);
    background-position-x: right;
    background-position-y: bottom; 
    background-repeat: no-repeat;
    background-size: cover;
    filter: opacity(25%);
    width: 100%;
    height: 110vh;
    position: absolute;
    z-index: -1;
}

.text {
    color: #25618a;
    font: bold 16px 'MS PGothic';
    text-align: center;
}

#text_home {
    text-shadow: 1px 2px #00000033;
    padding: 260px 0 460px;
}

#text_about {
    padding: 40px 0 180px;
}

#text_contact,
#text_gallery,
#text_portfolio {
    padding: 40px 0 100px;
}

#text_about > h1 {
    margin: 0 0 30px;
}

.text > h1 {
    color: #2082c3;
    letter-spacing: 0.8px;
    text-shadow: 0 0 4px #fff, 0 0 10px #fff, 0 0 10px #2082c3, 0 0 10px #2082c3;
    font-family: Tetla;
    margin: 0 0 10px;
}

#text_about > img {
    border: 2px solid #3cc7e8;
    padding: 2px;
    margin-bottom: 40px;
    width: 150px;
}

#text_about > img:hover {
    border-color: #2082c3;
}

#text_about > section {
    font-family: Tetla;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 500px;
}

#text_about > section > * {
    margin: 10px 0;
    flex: 1;
}

#text_about > section > .type {
    color: #4aaaca;
    text-align: left;
    text-shadow: 0 0 4px #fff, 0 0 4px #fff, 0 0 10px #4aaaca;
}

#text_about > section > .value {
    text-align: right;
    text-shadow: 0 0 4px #fff, 0 0 4px #fff, 0 0 10px #25618a;
}

#text_contact > form {
    background: #ffffff99;
    border: 1px solid #bbb;
    border-radius: 16px;
    box-shadow: 0 0 10px #999;
    padding: 20px;
    margin: 40px auto 0;
    text-align: left;
    width: 400px;
}

#text_contact > form > label {
    font: 16px Tetla;
    padding: 4px;
    display: block;
}

#text_contact > form > input {
    font: bold 14px MS PGothic;
    color: #444;
    box-sizing: border-box;
    padding: 4px;
    outline: none;
    width: 400px;
    height: 26px;
}

#text_contact > form > textarea {
    font: bold 14px MS PGothic;
    color: #444;
    box-sizing: border-box;
    outline: none;
    padding: 4px;
    resize: none;
    width: 400px;
    height: 100px;  
}

#text_contact > form > button {
    background: #a3d1e0;
    border: 2px solid #4aaaca;
    border-radius: 16px;
    box-shadow: 0 0 6px #2082c37b;
    color: #444;
    font: 16px Tetla;
    letter-spacing: 0.4px;
    width: 400px;
    height: 38px;
}

#text_contact > form > button:disabled {
    background: #c14c4c;
    border: 2px solid #7e3232;
    box-shadow: 0 0 6px #6224247b;
    color: #ddd;
}

#text_gallery > section {
    display: flex;
    margin: 40px auto 0;
    align-items: center;
    justify-content: center;
}

#text_gallery > section > img {
    border: 2px solid #3cc7e8;
    padding: 2px;
    margin: 6px;
    width: 200px;
}

#text_gallery > section > img:hover {
    border-color: #2082c3;
}

#text_gallery > video {
    border: 2px solid #3cc7e8;
    padding: 2px;   
}

#text_gallery > video:hover {
    border-color: #2082c3;
}

#projects {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 0;
    align-items: center;
    justify-content: center;
    width: 1000px;
}

#projects > section {
    background: #ffffff99;
    border: 2px solid #3cc7e8;
    box-shadow: 0 0 10px #2082c3;
    border-radius: 16px;
    text-align: left;
    padding-bottom: 14px;
    margin: 10px;
    width: 300px;
    height: 350px;
}

#projects > section:hover {
    border-color: #2082c3;
    cursor: pointer;
}

#projects > section > img:hover {
    border-color: #2082c3;
}

#projects > section > img {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom: 2px solid #3cc7e8;
    width: 300px;
}

#projects > section > h3 {
    font-family: Tetla;
    margin: 12px 12px 8px;
}

#projects > section > span {
    color: #25618a;
    font-size: 14px;
    margin-left: 12px;
}

#projects > section > p {
    color: #25618a;
    font-size: 14px;
    font-weight: normal;
    margin: 10px 12px 0;
}

footer {
    color: #aaa;
    font: 14px 'MS PGothic';
    text-align: center;
    margin: 0 80px;
    padding-bottom: 20px;
}

footer > hr {
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
}