#home{
    display: grid;
    grid-template-areas: 
    'nav hero';
}
body{
    background-color: rgb(247, 236, 215) ;
}
nav{
    grid-area: nav;
    width: 10vw;
}
nav > *{
    position: fixed;
    width: 10vw;
}
#hero{
    grid-area: hero;
    position: relative;
    width: 90vw;

}
.heading{
    text-align: center;
    color: #537932;
    font-size: 5vw;
    background-image: url(../Images/rainbow.png);
    background-size: 100%;
    padding: 10px;
    border-radius: 10px;
}
#herohead{
    position: absolute;
    top: 46%;
    left: 37%;
    color: #000000;
}
#name{
    position: absolute;
    left: 36%;
    top: 60%;
    height: 18vw;
    width: 25vw;
}
#name > *{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.heroimg{
    width: 100%;
}
.berkshire-swash-regular {
  font-family: "Berkshire Swash", serif;
  font-weight: 350;
  font-style: normal;
}
.nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    animation: rainbow 10s linear infinite;
}
@keyframes rainbow{

}
.nav > * {
    width: 100%;
    font-size: 1.75vw;
    margin: 10px 8px;
    background-color: #78b645;
    padding: 10px 5px;
    border-radius: 10px;
    color:#ffffff;
    }
.nav > *:hover{
    cursor: pointer;
}
.nav > * > * >.navimg:hover{
    width:5.4vw
}
.nav > * > * {
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
}
.navimg{
    width: 5vw;
    transition: width 0.25s;
}
.vidaloka-regular {
  font-family: "Vidaloka", serif;
  font-weight: 400;
  font-style: normal;
}
.abril-fatface-regular {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
}
a, a:visited, a:hover, a:link {
    text-decoration: none;
    color: inherit;
}
.portitem{
    background-color: #FFF;
    border-radius: 10px;
    width: 28vw;
    text-align: center;
    margin: 10px 10px;
    padding-bottom: 10px;
    font-size: 1.3vw;
    transition: width 0.5s;
}
.portitem:hover{
    width: 28.5vw;
}
#portfolio{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;  
    margin-left: 9.5%;  
}
.portimg{
    width: 100%;
    border-radius: 10px;
}
.certif{
    margin: 10px 40px;
}
#certifs{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-image: url(../Images/rainbow.png);
    width: 90%;
    background-size: 100%;
    border-radius: 10px;
    margin-left: auto;
    margin-right: 0px;
    padding-top: 20px;
}

.certimg{
    border-radius: 10px;
    width: 20vw;
    transition: width 0.5s,
    transform 0.5s;
}
.certimg:hover{
    width: 20.5vw;
    transform:rotate(-5deg);
}
.certimg2{
    border-radius: 10px;
    width: 20vw;
    transition: width 0.5s,
    transform 0.5s;
}
.certimg2:hover{
    width: 20.5vw;
    transform:rotate(5deg);
}
.pagehead{
    font-size: 5.5vw;
    color:#eb337a;
    margin: 10px auto 50px;
    text-align: center;
    width: fit-content;
    position: relative;
    animation: idles 3s linear infinite;
}
@keyframes idles {
    0%{
        left:-10px;
        top: 0px;
    }
    25%{
        left: -10px;
        top:5px;
    }
    50%{
        left: 10px;
        top:0px;
    }
    75%{
        left: 10px;
        top: 5px;
    }
    100%{
        left:-10px;
        top: 0px;
    }
}
.resumeimg{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.resumelink{
    width: 5vw;
    background-color:#78b645;
    border-radius: 10px;
    padding: 10px 5px;
    margin: 0px 0px 20px 0px;
    transition: width 0.5s,
    transform 1s;
}
.resumecup{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;  
    flex-direction: column; 
    align-items:center;
}
.resumelink:hover{
    width: 5.5vw;
    transform: rotate(360deg);
}
