/*
Theme Name: PortfolioSDQ 
Theme URI: https://example.com
Author: Me
Author URI: https://example.com
Description: A custom Timber theme
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: portfolio-sdq
*/
html {
    scroll-behavior: smooth;
    scroll-margin-top: 100px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e2b35;
    margin: auto;

    /*background-image: url("back-repeat-1.jpg");
    background-repeat: repeat;
    background-attachment: fixed;*/
}


h1 {
    font-size: medium;
}

p {
    font-size: medium;
}

/*.site-main-container {
    background-color: #2d2b2b;
}*/

.red-link,
.red-link:visited {
    color: rgb(255, 66, 66);
    text-decoration: none;
}

.blue-link {
    color: rgb(35, 118, 233);
    text-decoration: none;
}

.post-item-base {
    display: block;
    float: left;
    background-color: #061d2a;
    width: 350px;
    margin-left: 2%;
    margin-right: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    color: #fff;
    /*border-radius: 5px;*/
    overflow: hidden;
}

.post-text-box {
    /*height: 500px;*/
    font-size: medium;
    font-weight: lighter;
    text-align: justify;
    line-height: 20px;
}

.post-art-text-box {
    height: 150px;
    font-size: medium;
    text-align: justify;
    font-weight: lighter;
}

.post-item-base h1 {
    padding: 10px;
    margin: 0px;
}

.post-item-base p {
    padding: 10px;
    margin: 0px;
}

.post-image-box {
    height: 346px;
    width: 346px;
    border-style: solid;
    border-color: rgb(0, 0, 0);
    border-width: 2px;
    overflow: hidden;
    transition: border-color 0.5s;
}

.post-item-base:hover .post-image-box {
    border-color: aqua;
}

.post-image {
    height: 346px;
    width: 346px;
    transition: transform .5s;
    transition: all 0.2f;
}

.post-item-base:hover .post-image {
    transform: scale(1.1);

}

.grid-section-header {
    clear: both;
    background-color: #04161c;
    color: #d4d3db;
    scroll-margin-top: 60px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #0d4a51;
}

.grid-section-header-text {

    text-align: center;
    vertical-align: middle;
    color: #d4d3db;
    height: 60px;
    line-height: 60px;
    font-size: x-large;
    font-weight: lighter;
    margin: auto;
}

.grid-section {
    /*background: #131023;*/
    height: 100px;
    clear: both;

}

.container {
    background: #222;
    max-width: 1200px;
    margin: 0 auto;
    clear: both;
}

.site-header {
    background: #121212da;
    position: fixed;
    clear: both;
    height: 50px;
    width: 100%;
    color: #d4d3db;
    z-index: 10;
}

.site-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.site-title,
.site-title:link,
.site-title:visited {
    width: 120px;
    clear: none;
    float: left;
    color: #d4d3db;
    text-decoration: none;
    font-weight: bold;
    font-variant: small-caps;
}

.site-nav {
    height: 50px;
}

.site-nav-button,
.site-nav-button:link,
.site-nav-button:visited {
    float: left;
    clear: none;
    display: block;
    width: 120px;
    text-align: center;
    color: #c1d1ef;
    transition: color 0.4s;
    text-decoration: none;
}

.site-nav-button:hover {
    color: #3cc8ff;
}

.header-image {
    width: 100%;
    clear: both;
}

.about-section {
    height: 210px;
    padding: 20px;
    background-color: #08242d9b;
}

.about-section-inside {
    height: 200px;
    width: 900px;
    margin: auto;
    text-align: justify;
    color: #fff;
}

.about-text-box {
    float: left;
    width: 700px;
    height: 200px;
}

.about-section-inside p {
    padding-left: 20px;
    float: left;
    clear: none;
    margin: 0px;
    display: inline;
    font-weight: lighter;
    font-size: medium;
}

.about-section-inside img {
    height: 200px;
    width: 200px;
    float: left;
    clear: none;
    margin: 0px;
    display: inline;
}

.site-footer {
    height: 250px;
    clear: both;
    background: #222;
    color: #fff;
}

.contact {
    height: 400px;
    background-color: #162235;
    justify-content: center;
}

.contact-container {
    padding: 20px;
    margin: auto;
    width: 500px;
    text-align: center;
}

.contact-button {
    margin: 10px;
}

.contact-icon {
    width: 30px;
    height: 30px;
}

.post-grid {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    align-items: start;
    clear: both;

    /*background-color: #08242d;*/
    /*background-image: url("back-repeat-1.jpg");
    background-repeat: repeat;
    background-attachment: fixed;
    */
}

.footer-note {
    text-align: center;
}


.contact-wa {
    margin: 10px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.tooltiptext {
    visibility: hidden;
    width: 130px;
    background-color: rgb(235, 35, 35);
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 4;
    bottom: 100%;
    left: -65%;
}

.contact-wa:hover .tooltiptext {
    visibility: visible;
}