html {
    scroll-behavior: smooth;
    /*overflow: hidden;*/
    overflow-x: hidden;
}

body {
    background: black;
}

.body-wrapper {
    overflow-x: hidden;
    position: relative;
}

.ellipse-container {
    position: relative;
}

html.is-changing .transition-fade {
    transition: opacity 0.25s;
    opacity: 1;
}
/* Define the styles for the unloaded pages */
html.is-animating .transition-fade {
    opacity: 0;
}


.ellipse {
    display: block;
    margin: 0 auto;
    width: 30%;
    min-width: 320px;
    max-width: 480px;
    animation: zoomOut 1.5s ease-in-out forwards;
    position: absolute;
    top: min(max(55vh, 300px), 580px);
    left: 50%;
    transform: translate(-50%, -50%) scale(7, 7);
    z-index: 1;
}

@keyframes zoomOut {
    to {
        transform: translate(-50%, -70%) scale(1, 1);
    }
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: min(max(45vh, 220px), 500px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}


#portfolio {
    animation: up 1.5s ease-in-out forwards;
    display: inline-block;
}

@keyframes up {
    from {
        margin-top: 40vh;
    }
    to {
        margin-top: -3vh;
    }
}

.anchor-insta {
    text-decoration: None;
}

#discover {
    color: white;
    /*background-color: red;*/
    text-align: center;
    width: max(20%, 190px);
    margin: min(max(80vh, 550px), 1000px) auto 0 auto;
    padding: 0.5% 0 0.5% 0;
    border-color: white;
    border-style: solid;
    border-width: 0.01em;

    font-family: 'Arial', serif;
    font-size: max(2vw, 25px);
    font-weight: 50;
    animation: appear 2s ease-in forwards;
}


@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 100%;
    }
}

h1 {
    color: white;
    font-family: 'Jomhuria', serif;
    font-size: max(min(18vw, 300px), 200px);
    font-weight: 150;

    text-align: center;
    margin: -5% 0 -5% 0;
}

h2 {
    text-align: right;
    color: white;
    font-family: 'Arial', serif;
    font-size: max(min(4vw, 66px), 44px);
    font-weight: 600;
    margin: -15% 0 0 0;
}



header {
    display: flex;
    /*background-color: red;*/
    justify-content: right;
    height: 0;
    /*margin-top: 150px;*/
    margin-right: 15vw;
}

.menu-anchor {
    margin: 0 8% 0 0;
}

.menu-burger {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: all .5s ease-in-out;
    margin-top: 100px;
}

.menu-bar {
    width: 65px;
    height: 6px;
    background: linear-gradient(to left, white 50%, #44E47A 50%) right;
    background-size: 200% 100%;
    border-radius: 5px;
    transition: all .1s ease-in-out;
}

.menu-bar::before,
.menu-bar::after {
    content: "";
    position: absolute;
    width: 65px;
    height: 6px;
    background: linear-gradient(to left, white 50%, #44E47A 50%) right;
    background-size: 200% 100%;
    border-radius: 5px;
    transition: all .1s ease-in-out;
}

.menu-bar:before {
    transform: translateY(-18px);
}

.menu-bar:after {
    transform: translateY(18px);
}

.menu-bar.open,
.menu-bar.open::before,
.menu-bar.open::after {
    background-position: left;
}

.menu-bar.open::before {
    transition: all .8s ease-in-out;
}

.menu-bar.open {
    transition: all .6s ease-in-out;
}

.menu-bar.open::after {
    transition: all .4s ease-in-out;
}



#sacre-coeur {
    display: block;
    margin: 20vh auto 0 auto;
    width: max(65%, 1000px);
    /*max-width: 1000px;*/
}


.title {
    /*background-color: red;*/
    text-align: center;
    margin: 10vh auto 0 auto;

    color: white;
    font-family: 'Jomhuria', serif;
    font-size: max(min(6vw, 100px), 77px);
    font-weight: 150;
}

.pdp-rs-summary {
    display: flex;
    justify-content: flex-end;
    margin: 50px auto 200px auto;
    /*min-width: 700px;*/
    width: 800px;
    /*background-color: rebeccapurple;*/
}

.pdp-container {
    /*width: 200px;*/
    /*height: 200px;*/
    /*background-color: blue;*/
    color: white;
    flex: 4;

    position: relative;
}

.pdp {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;

    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.rs-container {
    /*width: 200px;*/
    /*height: 200px;*/
    /*background-color: green;*/
    color: white;
    flex: 1;

    border-right-color: white;
    border-right-style: solid;

    position: relative;
}

.insta {
    width: 65px;
    height: 65px;

    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-70%, -50%);
}
@font-face {
    font-family: Lato;
    src: url("../Lato-Light.ttf") format("opentype");
}


.summary-container {
    /*width: 50px;*/
    /*height: 250px;*/
    padding-left: 30px;
    padding-right: 30px;
    /*background-color: red;*/
    color: white;
    flex: 5;


    font-family: 'Lato', serif;
    font-size: 1.4em;
    text-align: justify;
}

html.is-changing .transition-fade {
    transition: opacity 0.25s;
    opacity: 1;
}
/* Define the styles for the unloaded pages */
html.is-animating .transition-fade {
    opacity: 0;
}

@media screen and (max-width: 1100px) {
    header {
        margin-right: 2vw;
    }
}


@media screen and (max-width: 800px) {
    body {
        padding-top: 10px;
    }

    .ellipse {
        min-width: 200px;
        width: 20%;
        top: 350px;
    }

    .center-container {
        top: 3vh;
    }

    @keyframes up {
        from {
            margin-top: 400px;
        }
        to {
            margin-top: 275px;
        }
    }

    #discover {
        margin-top: 500px;
    }

    h1 {
        /*color: blue;*/
        font-size: 100px;
        font-weight: 100;
    }

    h2 {
        font-size: 30px;
        font-weight: 100;
    }

    header {
        position: fixed;
        width: 100%;
        top: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .menu-burger {
        width: 40px;
        height: 40px;
        margin-top: 30px;
        margin-right: 50px;
    }

    .menu-bar,
    .menu-bar::after,
    .menu-bar::before {
        width:35px;
        height: 4px;
    }
    .menu-bar:before {
        transform: translateY(-9px);
    }
    .menu-bar:after {
        transform: translateY(9px);
    }

    #sacre-coeur {
        margin-top: 27vh;
        width: 100vw;
    }

    .pdp-rs-summary {
        flex-direction: column;
        height: 500px;
        width: 70vw;
        /*background-color: blue;*/
        margin-left: auto;
        margin-right: auto;
    }

    .rs-container {
        width: 50px;
        height: 50px;
        left: 55vw;
        bottom: 16.5vh;
        border-right-style: none;
    }

    .pdp-container {
        /*background-color: #45a049;*/
        height: 80px;
        width: 80px;
        margin-left: auto;
        margin-right: auto;
    }

    .summary-container {
        flex: 1;
        font-size: 1em;
        width: 70vw;
        padding-top: 30px;
        padding-left: 0;
        border-top-color: white;
        border-top-style: solid;
        padding-right: 0;
    }

    .title {
        margin-top: 15vh;
        font-size: 18vw;
    }

    .pdp {
        /*top: 50%;*/
        left: -4vw;
        transform: translate(-50%, -50%);
        width: 42vw;
        height: 42vw;
    }

    .insta {
        left:0;
        top:0;
        transform: none;
        width: 50px;
        height: 50px;
    }
}

