/*

Theme Name: My Custom Theme

*/
h1{
    font-size: 40px;
    color: white;
    padding-top: 20px;
    text-align: center;
}
h2{
    font-size: 30px;
    color: white;
    text-align: center;
}
h3{
    color: white;
}
p{
    color: white;
}
a {
    color: white;
    text-decoration: none;
}
a:hover{
    color: rgb(74, 175, 71);
}
body{
    color: white;
    background-color: #0a241d;
}

.main-navigation{
    background:black;
    font-size: 25px;
}
.main-navigation ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.current-menu-item a{
    font-weight: bold;
    border-bottom: 2px solid white;
}
.menu .sub-menu{
    display: none;
    position: absolute;
    z-index: 9999;
}
.sub-menu{
    background-color: black;
}
.menu li:hover > .sub-menu{
    display: block;
    padding-top: 2px;
}

/*Home page*/
.Home_Portals {
    margin-top: 60px;
    display: flex;
    gap: 80px;
    justify-content: center;
}

.Home_Pics {
    perspective: 1000px;
}
.Home_Pics img{
    width: 200px;
    height: auto;
    border: 5px solid black;
    display: block;
    margin: 0 auto;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.Home_Pics h2{
    text-align: center;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 20px;
}
.home-grid > div {
    grid-column: span 2;
}
.home-grid > div:nth-child(4){
    grid-column: 2 / span 2;
}
.home-grid > div:nth-child(5){
    grid-column: 4 / span 2;
}



/*Footer*/
.site-footer{
    background-color: #1b614f;
    height: auto;
    overflow: auto;
}
.footer-content{
    width: fit-content;
    text-align: center;
    line-height: 0.5;
    margin: 0 auto;
}
/* Latest Posts */
.wp-block-latest-posts li {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-areas: 
        "image title"
        "image author"
        "image date"
        "image excerpt";
    gap:8px 20px;
    align-items: start;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid #444;
    border-radius: 8px;
}
.wp-block-latest-posts__post-title{
    display: block;
    margin-top: .5rem;
    font-size: 20px;
    text-align: left;
    color: white;
    grid-area: title;
}

.wp-block-latest-posts__post-author{
    grid-area: author;
}
.wp-block-latest-posts__post-date{
    display: block;
    margin-top: .5rem;
    font-size: 15px;
    color: #888;
    grid-area: date;
}

.wp-block-latest-posts__post-excerpt{
    margin-top: .75rem;
    color:#ccc;
    grid-area: excerpt;
}
.wp-block-latest-posts__featured-image{
    grid-area: image;
}
.wp-block-latest-posts__featured-image img{
    display: block;
    width: 180px;
    height: 180px;
    object-fit: cover;    
}

.wp-block-page-list{
    list-style: none;
    padding: 0;
    margin: 0;
}
.wp-block-page-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid #444;
    border-radius: 8px;
}   

.Portfolio-Pages {
    padding-left: 20%;
    padding-right: 20%;
}
.Portfolio-Pages li {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-areas: 
        "image title"
        "image author"
        "image date"
        "image excerpt";
    gap:8px 20px;
    row-gap: 5px;
    align-items: start;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid #444;
    border-radius: 8px;
}

.Portfolio-Pages__featured-image {
    display: block;
    grid-area: image;
}
.Portfolio-Pages__page-title {
    display: block;
    margin-top: .5rem;
    font-size: 20px;
    text-align: left;
    color: white;
    grid-area: title;
}
.Portfolio-Pages__page-author {
    display: block;
    grid-area: author;
}
.Portfolio-Pages__page-date {
    display: block;
    margin-top: .5rem;
    font-size: 15px;
    color: #888;
    grid-area: date;
}
.Portfolio-Pages__page-excerpt{
    display: block;
    grid-area: excerpt;    
}


/*Portfolio Grid*/
.portfolio-grid{
	background: green;
	margin: 0 auto;
	width: 75%;
}
.portfolio-card{
	display: grid;
	background: gray;
	width: 10rem;
}
.portfolio-image{
	background: greenyellow;
	width: 100%;
	max-width: 10rem;
}
.portfolio-info{
	background: greenyellow;
	text-align: center;
}
.portfolio-link{
	background: greenyellow;
	width: 100%;
	max-width:10rem;
	text-align: center;
}
.portfolio-company{
	background: purple;
	width: 100%;
	max-width: 10rem;
	text-align: center;
}
.portfolio-date{
	background: red;
	width: 100%;
	max-width: 10rem;
	text-align: center;
}



/*
Character Sheet Style
*/
.CharacterSheet{
    color: rgb(75, 201, 255);
    background-color: transparent;
    border: 100px solid transparent;
    z-index: 0;
}
.CSFont{
    color: white;
    z-index: inherit;
}
.CSPanel{
    display: flex;
    flex-direction: row;
    
    position: relative;

    padding: 20px;
    color: white;

    background-color: black;

    backdrop-filter: blur(100px);

    overflow: visible;
    z-index: 0;
}

.CSBorder{
    position: absolute;
    inset: -100px;
    pointer-events: none;
    background-color: transparent;
    border: 100px solid rgb(255, 255, 255);
    border-image: url("http://localhost:10003/wp-content/uploads/2026/05/scifiborderTexture.png") 250 repeat;
    border-radius: 100px;
    clip-path: inset(0 round 50px);
    overflow: hidden;
}
.scanLines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        rgba(0, 255, 255, 0.1) 2px,
        transparent 4px
    );
    animation: scan 6s linear infinite;
}

.CSButton {
    padding: 4px 4px;

    background: #75ffff8f;

    color: rgb(255, 255, 255);

    border: 1px solid rgb(88, 224, 224);

    border-radius: 5px;

    font-size: 10px;

    cursor: pointer;

    transition: 0.3s;
}

.CSSelect {
    padding: 4px 4px;

    background: #75ffff8f;

    color: rgb(255, 255, 255);

    border: 1px solid rgb(88, 224, 224);

    border-radius: 5px;

    font-size: 10px;

    cursor: pointer;

    transition: 0.3s;
}

@keyframes scan {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(100%);
    }
}

.AttrSkills{
    padding: 20px;
    padding-top: 0px;
    border: 1px solid rgb(75, 201, 255);
}
.containerH{
    display: flex;
    flex-direction: row;
    border: 1px solid rgb(75, 201, 255);
}
.containerS{
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border: 1px solid rgb(75, 201, 255);
}
.information_centre{
    border: 1px solid rgb(75, 201, 255);
    flex-shrink: 0;
    padding: 20px;
    padding-top: 0;
    width: 300px;

    position: sticky;
    top: 0;
    align-self: flex-start;
}



.untagged{

    color: white;

    cursor: pointer;

}

.untagged:hover{

    background-color: rgba(255, 255, 255, 0.442);

}

.tagged{

    color: yellow;

    border: 2px solid yellow;

    cursor: pointer;

}

.tagged:hover{

    background-color: rgba(255, 255, 255, 0.442);

}


/*Service*/
.image-placeholder{
	width: 50%;
	min-width: 15%;
	height: auto;
	aspect-ratio: 1/1;
	background: #DDDDDD;
	grid-area: SImage;
}
.service-item{
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	grid-template-rows: 1fr 3fr;
	background: #243a2d;
	grid-template-areas: 
		"SImage STitle SButton"
		"SImage SDetails SDetails";
	gap: 20px;
	margin: 0 auto;
	margin-top: 1rem;
	max-width: 60%;
	padding-top: 1rem;
}
.service-image{
	background: #2c4235;
	width: 100%;
	max-width: 200px;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
	margin-bottom: 1rem;
	border: 10px ridge #2c4235;
	grid-area: SImage;
	align-self: center;
}
.service-title{
	background: #2c4235;
	margin-bottom: 0px;
	grid-area: STitle;
	margin-left: 0.5rem;
}
.service-button{
	background: #2c4235;
	border: 10px inset black;
	margin-bottom: 0px;
	margin-right: 1rem;
	grid-area: SButton;
	border-radius: 0px;
}
.service-button:hover{
	color: rgb(74, 175, 71);
	background: #2c4200;
	border-radius: 10px;
}
.service-button:active{
	color: rgb(74, 175, 71);
	background: #3D52D5;
	border-radius: 40px;
}
.service-details{
	background: #2c4235;
	margin-top: 0px;
	margin-right: 1rem;
	margin-left: 0.5rem;
	grid-area: SDetails;
}

/*tablet*/
@media (max-width: 720px){
    .home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-grid > div,
    .home-grid > div:nth-child(4),
    .home-grid > div:nth-child(5) {
        grid-column: span 1;
    }
}
/*phone*/
@media (max-width: 480px){
    .home-grid{
        grid-template-columns: 1fr;
    }
	
	.service-item{
		display: grid;
		grid-template-columns: 1fr 2fr 1fr;
		grid-template-rows: 1fr 2fr;
		background: #243a2d;
		grid-template-areas: 
		"SImage STitle SButton"
		"SDetails SDetails SDetails";
		max-width: 75%;
	}
	.service-image{
		background: #2c4235;
		width: 100%;
		max-width: 200px;
		margin-left: 0rem;
		margin-right: 3rem;
		margin-bottom: 0rem;
		border: 5px ridge #2c4235;
		grid-area: SImage;
		align-self:end;
	}
}