/*Universal*/

:root {
    --yellow: #f3e600;
    --yellowActive: #7f7903;
}

body {
    margin: 0;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #1e2430;
    color: rgb(217, 214, 209);
}

#main {
    padding-bottom: 100px;
}

a {
    text-decoration: none;
    color: inherit;
}

.underline {text-decoration: underline; transition: 300ms;}
.underline:hover {color: white;} 

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}
  
/* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

#hero {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: center;
    background-color: var(--yellow);

}

#bg {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0.4;
    filter: blur(2px);
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.52) 85%, rgba(0, 0, 0, 1) 100%);
}

.heroSelector {
    font-size: xx-large;
    color: rgb(0, 0, 0);
    transition: 200ms;
    display: flex;
    flex: content;
    max-width: 8vw;
    align-items: center;
    justify-content: center;
}

.heroSelector:hover {
    background-color: var(--yellowActive);
}

@media (width < 600px) {
    .heroSelector {font-size: medium;}
}

#heroLogo {
    width: 6vw;
}

#footer {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    background-color: rgb(20, 20, 17);
    color: rgb(76, 76, 74);
    justify-content: center;
    align-items: center;
}

.centre {
    margin: 0 30% 3vh; 
    font-size: 2vh;
    
}

@media (width < 600px) {
    #footer { font-size: small; height: 40px;}
    .centre {margin: 0 1vh 1vh;}
}
/*Homepage*/

#logoBox {
    position: relative;
    float: right;
}

#logo {
    width: 35vw;
    filter: drop-shadow(0px 15px 24px #838383);
}

#aboutText {
    padding: 2%;
    max-width: 50%;
    position: relative;
    float: left;
}

/*Projects*/

#projects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 2vh 5vh 0;
    gap: 2vh;
    margin: 0 10% 120px;
}

@media (width < 600px) {
    #projects {grid-template-columns: 100%; margin: 0 0 60px;}
}

.projectBG {
    object-fit: contain;
    width: 100%;
    height: 100%;
    transition: 300ms ease-in;
}

.projectTitle {
    position: absolute;
    color: white;
    font-size: xx-large;
    opacity: 0;
    transition: opacity 400ms ease-in;
}

.projectBG:has(+ .projectTitle:hover) {
    filter: blur(10px);
    transform: scale(1.1);
}

.projectBG:hover {
    filter: blur(10px);
    transform: scale(1.1);
}

.projectTitle:hover {
    opacity: 1;
}

.projectBG:hover + .projectTitle {
    opacity: 1;
}

.projectBox {
    background-color: #b1b75c29;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 5%;
    padding: 15px;
}

/*Contact*/



/*Policy*/

