
body{
    margin: 0;
    height: 100vh;
}

@font-face{
    font-family: 'Darlington';
    src: url('fonts/darlingtonfont.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'Mailendra';
    src: url('fonts/mailendrafont.otf');
    font-weight: normal;
    font-style: normal;
}

h1{ 
    font-family: 'Darlington', sans-serif;
    font-size: 100px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

h2{
    font-family: 'Darlington', sans-serif;
    font-size: 35px;
    text-align: center;
}

p{
    font-family: 'Mailendra', sans-serif;
    font-size: 20px;
}

#face { /* face image */
    position: relative;
    /*left: 200px;
    top: 50px;*/
    left: 16%;
    top: 2.5vw;
    width: 25%;
    height: 25%;
}

.eye{
    position: relative;
    width: 1.5vw;
    height: 1.5vw;
    
    visibility: hidden;
    
}
#lefteye{
    right: 3.5%;
    top: 10.7vw;
}
#righteye{
    left: 6.45%;
    top: 10.75vw;
}


/*#face img*/

#cloud { /* cloud border around the face */
    position: relative;
    right: 14.5%;
    width: 30%;
    height: 30%;

}

.cloudhead{
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.maincontainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    top: 400px;
}

#About{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#About > h2{
    grid-column: span 2;
}

.aboutcloud{
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 220px;
    margin: auto;
    position: relative; 
    left: 25vw;
    z-index: 1;
    transition: scale 1s ease;
}

.aboutcloud > img{
    object-position: center;
    object-fit: contain;
    width: 220px;
    height: 220px;
}

.aboutcloud > p{
    text-align: center;
    object-position: center;
    position: relative;
    pointer-events: none;
    top: -150px;
    z-index: 2;
}

.aboutcloud.slideleft{
    left: -1vw;
    transition: left 1s ease;
}

.aboutcloud.hover{
    transform: scale(1.1);
    transition: 1s ease;
    transition-delay: 1s;
    cursor: pointer;
}

.abouttopic{
    opacity: 0;
    transition: opacity .5s ease, right 1s ease;
    pointer-events: none;
    align-self: center;
    justify-self: center;
    position: relative;
    right: 250px;
    z-index: -5;
}

.abouttopic.show{
    opacity: 1;
    pointer-events: auto;
    transition: opacity 3s ease;
    right: 1vw;
}


/*gallery*/

#Gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 40px 0px;
}

#Gallery > img{
    width: 400px;
    height: 400px;
    object-fit: contain;
    object-position: center;
    margin: 30px;
}

/*contact*/
#Contact{
    border-radius: 25px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid black;
    justify-content: center;
    width: 90%;
    padding: 10px;
}

#ContactLinks{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
#ContactLinks > a{
    margin: 20px 20px 20px 6%;
}


a{
    text-decoration: none;
    color: black;
    font-family: "Mailendra", sans-serif;
    text-align: center;
}

a > img{
    position: relative;
    top: 10px;
    right: 10px;
    height: 35px;
    width: 35px;
}