
/*this link to use Cherry Bomb One font*/
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&display=swap');
* {
    scroll-behavior: smooth;
    font-family: 'Bree Serif', serif;
}
body {
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0px;
} 

.parallax-background {
    position: relative;
    height: 100vh;
    padding: 100px;
    overflow: hidden;
}
.parallax-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;
    z-index: -1;
}
.parallax-background img#light-1,
.parallax-background img#light-2
{
    mix-blend-mode: screen;   
}
/* Scrolling Animations effect */
.parallax-background >.hidden{
    opacity: 0;
    transition: all 6s;
}
.parallax-background > .show
{
    opacity: 1;
}
.para-intro {

    /* position: absolute;
    bottom: 150px; */
    width: 100%;

    z-index: 1;
    text-align: center;
    justify-content: center ;
}
.para-intro h1,
.para-intro h2 {
    text-shadow: 0 0 5px black;
    color: white;
}

.para-links .link-button {
    background-color: white;
    font-family: 'Bree Serif', serif;
}
/* header style for the former */
header {
    display: none;
    min-height: 100vh;
    
    flex-direction: column;
    justify-content: center;
    background-color: #A7EFE9;
    margin: 0;
    text-align: center;
    padding: 20px 0px;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.7s;
    padding: 40px 100px;
    box-sizing: border-box;
    z-index: 2;
}
.sticky_navbar {
    padding: 5px 50px;
    background-color: #BA73C2;
    box-sizing: border-box;
    color: white;
}
.navbar > .navLogo {
    position: relative;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: 0.7s;
    opacity: 0;
}
.sticky_navbar > .navLogo {
    opacity: 1;
    font-size: 1.7rem;
    color: white;
    text-shadow: 0 0 5px black;
}
.navbar .navLinks {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.navbar .navLinks li {
    position: relative;
    list-style: none;
}
.navbar .navLinks li a:hover {
    color: white;
    text-shadow: 0 0 5px black;
}
.navbar .navLinks li a {
    position: relative;
    padding: 0 15px;
    text-decoration: none;
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
    transition: 0.7s;
}
.sticky_navbar .navLinks li a {
    font-size: 1.2rem;
}

.toggle-button {
    position: relative;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 30px;
    height: 21px;
    padding: 10px 0px;
}
.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 10px;
}
.sectionHeader {
    margin-top: 0px;
}

header h1 {
    margin: 0px;
}
header img {
    max-width: 20rem;
}
.links {
    font-family: "Times New Roman", Times, serif; 
}
.link-button {
    margin: 0px 10px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #fbac91;
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.5s ease;
    width: 100px;
    border-radius: 25px;
}
.link-button:hover {
    background-color: #f9865f;
}
footer {
    background-color: #fbac91;
    padding: 20px;
    height: 75px;
}
hr {
    margin: 10px 15px;
    border-top: 2px solid #000;
}
#info {
    /* background-color: black;
    color: white; */
    display: flex;
    flex-flow: column wrap;
    padding: 0 10px;
    align-items: center;
    scroll-padding-top: cal(1.7rem + 10px);
    background-color: white;
}

.phoneAboutLogo {
    display: none;
    padding-bottom: 10px;
}
.aboutContainer {
    display: flex;
    flex-flow: row;
}    
.info-pictures {
    position: relative;
    min-width: 350px;
    max-width: 600px;
    width: 50%;
    height: 500px; 
    background-image: url("../assets/construction.jpg"), url("../assets/coding.jpg");
    background-position: top left, bottom right;
    background-repeat: no-repeat;
    background-size: 50% 100%;
}
.info-pictures > .logo {
    background-color: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content:center;
    gap: 20px;
    align-items: center;
    position: absolute;
    top: 200px;
    color: white;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
.logo > img {
    width: 4.5rem;
}

.info-pictures > .constr-credit,
.info-pictures > .cod-credit {
    color: rgba(255, 255, 255, 0.75);
    width: 50%;
    box-sizing: border-box;
    padding: 8px;
    position: absolute;
    bottom: 0px;
    text-align: center;
}
.info-pictures > .cod-credit {
    right: 0px; 
}

.constr-credit > a,
.cod-credit > a {
    color: rgba(255, 255, 255, 0.80);
}
#info .info-text {
    padding: 0 10px;
    font-size: 110%;
    max-width: 700px;
    width: 50%;
    box-sizing: border-box;
    display: grid;
    align-content: center;
}

#education {
    padding: 10px; 
    z-index: 1;
}
.certCard {
    display: grid;
    grid-template-columns: 250px 1fr;
    margin: 15px 0px;
    min-height: 150px;
}
/* .certificate {
    height: 300px;
} */
.constr,
.coding {
    position: relative;
    background-size: cover;
    height: 12rem;
    padding: 2rem;
    display: flex;
}
.constr {
    background-image: url("../assets/ed-cons.jpg");
}
.coding {
    background-image: url("../assets/ed-cod.jpg"); 
}
.constr > .credit,
.coding > .credit {
    color: rgba(255, 255, 255, 0.75);
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    text-align: center;
}
.credit a {
    color: rgba(255, 255, 255, 0.75);
}

.certInfo {
    width: 100%;
    height: 100%;
    padding: 10px;
    box-shadow: 10px 5px 20px #D3D3D3;
    box-sizing: border-box;
}
#contactMe {
    background-color:#A7EFE9;
    padding: 10px 10px;
}

#contactMe h2 {
    text-align: center;
}

.inputForm {
    padding: 5px 20px;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}
.inputForm > label {
    display: block;
    margin-bottom: 1rem;
    width: 100%;
}
.inputForm input[type="text"],
.inputForm input[type="email"] {
    font-family: 'Bree Serif', serif;
    width: 100%;
    box-sizing: border-box;
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
select[name="rating"] {
    font-family: 'Bree Serif', serif;
    height: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.inputForm button[type="submit"] {
    text-align: center;
    background-color: #fbac91;
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.5s ease;
    width: 100px;
    border: 1px solid #ccc;
    border-radius: 25px;
    height: 40px;
    font-size: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.inputForm button[type="submit"]:hover {
    background-color: #f9865f;
    cursor: pointer;
} 
.inputForm textarea {
    font-family: 'Bree Serif', serif;
    width: 100%;
    max-width: 400px;
    min-width: 200px; 
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#contactRea {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

#HourlyRateDiv {
    display: none;
}

.contact-reason-label {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Scrolling Animations effect */
header >.hidden,
main > .hidden {
    opacity: 0;
    transition: all 1s;
}
header > .show,
main > .show {
    opacity: 1;
}
#education > .hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(100%);
    transition: all 1s;
}
#education > .show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}
@media (max-width: 950px) {
    .navbar {
        padding: 40px 45px;
    }
    .sticky_navbar {
        padding: 5px 35px; 
    }
}
@media (max-width: 800px) {
    header {
        display: flex;
        box-sizing: border-box;
    }
    .parallax-background {
        display: none;
    }
    /*Responsive navbar*/
    .toggle-button {
        display: flex;
    }
    .navbar .navLinks {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-end;
    }
    .navbar .navLinks.active {
        display: flex;
    }
    .navbar .navLinks li a {
        width: 100%;
        padding: 0;
        font-size: 1.2rem;
    }
    .navbar {
        padding: 10px 50px;
        flex-flow: row wrap; 
    }
    .navbar > .navLogo {
        font-size: 1.7rem;
    }
    .sticky_navbar {
        padding: 5px 25px;
        background-color: #FBAC91;
    }
    .sticky_navbar > .navLogo {
        font-size: 1.5rem;
    }
    /*Responsive photos for About Me */
    .phoneAboutLogo {
        display: flex;
        gap: 10px;
        flex-flow: row;
        justify-content: center;
    }
    .phoneAboutLogo > img {
        width: 4rem;
    }
    #info {
        display: block;
    }
    .info-pictures {
        display: none;
    }
    #info .info-text {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }  
}
@media (max-width: 600px) {
    .certCard {
        display: block;
    }

    .constr,
    .coding {
        display: none;
    }

    .phone-certBackground {
        box-shadow: 10px 5px 20px #D3D3D3;
        background-size: cover;
        padding: 10px;
    }
    .coding + .phone-certBackground {
        background-image: url("../assets/ed-cod.jpg"); 
        
    }
    .constr + .phone-certBackground {
        background-image: url("../assets/ed-cons.jpg");
    }
    .certInfo {
        background-color: rgba(255, 255, 255, 0.85);
        border-radius: 25px;
        box-shadow: none;
    }
    body {
        font-size: 90%;
    }
    header img {
        max-width: 50%;
    }
    .link-button {
        width: 75px;
    }
    #info { 
        flex-direction: column;
    }  
    .inputForm textarea, .inputForm input[type="text"],
    .inputForm input[type="email"] {
        font-size: 95%;
        height: 25px;
    }
    .inputForm input[type="submit"] {
        height: 30px;
    }
}
