@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+Egyptian+Hieroglyphs&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

@import url("https://use.typekit.net/rdd6jch.css");

@font-face {
    font-family: 'Renogare';
    src: url('fonts/Renogare-Regular.otf');
}

body.portfolio {
    background-color: rgb(255, 236, 236);
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}
div.img img {
    scale: 85%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding-top: 5%; */
    width: 100%;
    height: 100%; 
    padding-left: 12px;
    position: relative;
    object-fit: scale-down;
}

div.bio {
    width: 47%;
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    padding: 0; 
}
div.img {
    width: 50%;
    height: 100%;
    padding: 0;
}
div.img p {
    /* display: block; */
    justify-items: center;
    vertical-align: middle;
}

div.sbio {
    display: flex; 
    padding-top: 26px; 
    padding-bottom: 26px; 
    flex:auto;
}

div.grid-item {
    text-align: center;
    line-height: 100%;
    width: 145px;
    height: 145px;
    margin: 10px;
    display: inline-block;
    overflow: hidden;
     background-color: aquamarine;
}

div.large-item {
    margin: 10px;
    height: 315px;
    width: 560px;
}
div.large-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}
div.grid-items {
    grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto ;
    grid-template-rows: auto auto;
    display: inline-grid;
    /* gap: auto 15px; */
    width: 95%;
    justify-self: center;
    padding-left: 2.5%;
    height: 75%;
    padding-top: .5%;
    overflow-x: scroll;
    scrollbar-width: none;
}
div.bio p {
    /* font-size: 30%; */
    height: auto;
    width: 95%;
    text-align: right;
    clip-path: view-box;
    padding: 0%;
    padding-right: 12px;
    float: right;
    /* padding-top: 10px; */
    /* padding-right: 12px; */
}

div.navig {
    justify-self: center;
    display: flex;
    justify-content:center;
    width:100%;
    height: auto;
    /* align-content: center; */
    float: none;
    padding-bottom: 0;
}
div.navig p {
    width: 100px;
    display: inline-block;
    padding: 0;
    float: none;
}

div.navig a {
    padding-left: 16px;
    padding-right: 16px;
    font-family: 'Renogare';
    color: black;
    float: none;
    display: inline-block;
}

div.seperator {
    background-color: rgb(0,0,0,0);
    height: 450px;
    width: 100%;
}

div.dim {
    background-color: rgb(255, 216, 250);
    height: 450px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08), 
                0 2px 2px rgba(0,0,0,0.12), 
                0 4px 4px rgba(0,0,0,0.16), 
                0 8px 8px rgba(0,0,0,0.20);
}

div.dim header,div.dim h4 {
    padding: 0px;
    float: left;
    width: 100%;
    text-align: left;
    margin: 0;
    margin-left: 10px;
}
div.seperator header,div.seperator h4 {
    padding: 0px;
    margin-left: 10px;
    margin: 0;
    float: left;
    width: 100%;
    text-align: left;
}

div.dim h4 {
    font-size: 18px;
    padding: 0px;
    float: left;
    width: 99.25%;
    text-align: left;
    margin: 0;
    margin-left: .75%;
}
div.seperator h4 {
    font-size: 18px;
    padding: 0px;
    float: left;
    width: 99.25%;
    text-align: left;
    margin: 0;
    margin-left: .75%;
}
div.grid-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

div.grid-items iframe {
    margin: 10px;
    border-radius: 20px;
}
.long {
    height: auto;
    width: 100%;
    margin-top: -45%;
}
div.gi-info {
  height: 110%;
  width: 100%;
  line-height: 1.5;
  /* vertical-align: middle; */
  /* padding-top: 40%; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -105%;
  opacity: 0;
  transition: .35s ease-in-out;
  background-color: #ff75f6;
  font-weight: 600;
  font-family: 'Montserrat';
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  /* color: white; */
}
div.gi-info:hover {
    opacity: .85;
}
div.overlay {
    display: none;
    z-index: 10;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 0;
    margin-top: 0;
    transition: all .3s ease-in-out;
    background-color: rgba(0,0,0,0);
}

.overlay.show {
    background-color: #ff9ae9d3;
    /* margin-top: 100%;
    padding-top: 100%; */
    display: block;
}
.overlay.close.show {
    opacity: 1;
}
.overlay.close {
    opacity: 0;
    width: 100%;
    bottom: 0;
    left: 0;
}
.overlay.close p, .overlay.close h2 {
    opacity: 0;
    display: inline-block;
}
.overlay.close.nokeyboard {
    width: 100%;
}
.overlay img.overlayimg {
    width: 100%;
    height: 100%;
    scale: 75%;
    /* padding: 12.5%; */
    object-fit:scale-down;
    display: none;
    transition: all .3s ease-in-out;
}
.overlay img.overlayimg.act {
    display: block;
}
div.dim header {
    font-size: 35px;
    padding: 0px;
    float: left;
    width: 99.25%;
    text-align: left;
    margin: 0;
    margin-left: .75%;
}
div.seperator header {
    font-size: 35px;
    padding: 0px;
    float: left;
    width: 99.25%;
    text-align: left;
    margin: 0;
    margin-left: .75%;
}

p, h2, h3 {
    font-family: 'Montserrat';
    text-align: center;
}

header, h2, h3, p {
    margin: 0;
    padding: 16px;
}

header {
    font-family: 'Renogare';
    text-align: center;
    font-size: 48px;

}
div {
    margin: 0;
    padding: 0;
}

div.topinfo {
    background-color: rgb(255, 184, 244);
    height: 350px;
    /* padding: 20px; */
}

.contactsp div.split {
    width: 50%;
    height: 100%;
}

.topinfo img, #contacts img {
    height: 57.5%;
    width: 100%;
    display: inline-block;
    margin-top: 16px;
}

#contacts img {
    height: 300px;
    margin-top: 32px;
}

#contacts {
    background-color: rgb(255, 184, 244);
    height: auto;
    box-shadow: none;
}


.emailform {
    width: 80%;
    height: 80%;
    border-radius: 24px;
    /* border: dotted 6px #ffebfc; */
    background: #ffffff00;
    margin: 10%;
    padding: 20px 0;
}

.emailform form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.emailform form input, .emailform form textarea, .emailform form p, .emailform form button {
    width: 100%;
    height: 37px;
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    border: 1px solid #ffbfdd;
    font-family: 'Montserrat';
    text-align: center;
    resize: vertical;
    min-height: 37px;
}
.emailform form label, .emailform form button {
    width: 60%;
    display: inline-flex;
    text-align: center;
}
.emailform form button {
    width: 30%;
    text-align: center;
    animation: leave 0.3s ease-in-out cubic-bezier(0.755, 0.05, 0.855, 0.06);
}
.emailform form button:hover {
    width: 30%;
    text-align: center;
    animation: hover 0.3s ease-in-out cubic-bezier(0.755, 0.05, 0.855, 0.06);
}
.emailform form button:active {
    width: 30%;
    text-align: center;
    animation: click 0.3s ease-in-out cubic-bezier(0.755, 0.05, 0.855, 0.06);
}
@keyframes click {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(0.95);
    }
}
@keyframes hover {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}
@keyframes leave {
    to {
        transform: scale(1);
    }
}

.contactsp {
    display: flex;
    flex: auto;
}

.contactsfx {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.star, .stars {
    /* padding-right:25%; */
    transform: translate(0,0);
    /* opacity: 0; */
    scale: 65%;
    width: auto;
}
.downanim {
    animation: down cubic-bezier(0.075, 0.82, 0.165, 1);
}
@keyframes down {
    from {
        opacity: 0;
        transform: translate(0,0);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

footer {
    height: 250px;
    background-color: rgb(126, 80, 119);
    border-top: rgb(176, 133, 255) 12px solid;
}