/*Universal*/

body {
    margin: 0;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #1e2430;
    color: rgb(251, 246, 238);
}

a {
    text-decoration: none;
    color: inherit;
}

/* 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;
    position: sticky;
    align-items: center;
    justify-content: left;
    background-color: #f3e600;
}

#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 {
    padding: 10px;
    font-size: x-large;
    color: rgb(0, 0, 0);
    transition: 200ms;
}

.heroSelector:hover {
    background-color: #7f7903;
}

#title {
    padding: 10px;
    font-size: x-large;
}

#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;
}

/*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: 50% 50%;
    grid-template-rows: auto auto auto;
    padding: 10px;
    gap: 1vh;
}

.projectBG {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 300ms ease-in;
}

.projectTitle {
    position: absolute;
    color: black;
    font-size: xx-large;
    opacity: 0;
    transition: opacity 400ms ease-in;
}

.projectBG:hover {
    filter: blur(10px);
    transform: scale(1.1)
}

.projectBG:hover + .projectTitle {
    opacity: 1;
}

.projectBox {
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 5%;
    padding: 0;
}

/*Contact*/

#contactContainer {
    display: grid;
    grid-template-columns: 50% 50%;
    margin: 0 10% 0 10%;
    height: 70vh;
}

#contactLeft {
    background: #42412b;
    display: flex;
    font-size: 4vh;
    align-items: center;
    padding: 1.5vh;
}

#contactRight {
    background: #2d2c1d;
    display: flex;
    flex-direction: column;
    font-size: 4vh;
    padding: 1.5vh;
}