@font-face {
    font-family: "Ageo";
    src: url('fonts/AgeoTrial-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: "Ageo";
    src: url('fonts/AgeoTrial-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: "PlayfairDisplay";
    src: url('fonts/PlayfairDisplay-Italic.ttf');
    font-weight: 400;
}

.bg-orange { background-color: #f88f17; }
.bg-fraise { background-color: #e43048; }
.bg-raisin { background-color: #8ec529; }
.bg-myrtille { background-color: #5827e0; }

* {
    margin: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Ageo";
}
.btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-size: 1.75rem;
    transition: transform 300ms;
}
.btn:hover {
    transform: translateX(7px);
}

.btn-fill {
    text-decoration: none;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 500px;
    transition: transform 300ms;
    font-size: 0.875rem;
}
.btn-fill:hover {
    transform: translateY(-7px);
}

main {
    position: relative;
}
main > div {
    display: block;
    width: 50%;
    overflow: hidden;
}
#left {
    left: 0;
    top: 0;
    position: absolute;
}
#right {
    right: 0;
    bottom: 0;
    position: fixed;
}

.item {
    display: flex;
    height: 100vh;
    position: relative;
}
.item:not(.info) img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.item .gradient {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0) 100%)
}
.item .text {
    position: absolute;
    bottom: 0;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
}
.item h2 {
    margin-top: 2rem;
    font-weight: 400;
    color: white;
    font-size: 3rem;
    max-width: 75%;
    line-height: 1.1em;
    margin-bottom: 1.5rem;
}
.item span {
    display: block;
    font-size: 1.25rem;
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}
.item hr {
    outline: none;
    border: none;
    border-bottom: 2px solid white;
    max-width: 30%;
    margin: 0;
}
@media (max-width: 1280px) {
    .item h2 {
        font-size: 2.5rem;
        max-width: 100%;
    }
    .item hr {
        max-width: 75%;
    }
}

@media (max-width: 950px) {
    .item h2 {
        font-size: 2rem;
        line-height: 1.3em;
    }
}

.info {
    align-items: center;
    justify-content: center;
}
.info > * {
    position: absolute;
    overflow: hidden;
}
.bg-circle {
    content: "";
    height: 400px;
    width: 400px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 100%;
    mix-blend-mode: overlay;
    transition: all 500ms;
}
.bg-triangle {
    background-color: white;
    content: "";
    height: 100%;
    width: 150%;
    transform: translateY(50%) scaleY(0);
    border-radius: 50%;
    transition: all 1s;
}
.info p {
    font-family: "PlayfairDisplay";
    font-size: 12rem;
    color: white;
    opacity: 0.15;
}
.info img {
    width: 100%;
    transition: all 1s;
}

.info:hover .bg-circle {
    transform: scale(1.2);
}
.info:hover .bg-triangle {
    transform: translateY(50%) scaleY(1);
}
.info:hover img {
    transform: scale(1.1) rotate(7deg) ;
}

.info .btn-fill {
    bottom: 3rem;
    opacity: 0;
    transition: all 500ms;
}
.info:hover .btn-fill {
    bottom: 4rem;
    opacity: 1;
}

@media (max-width: 1280px) {
    .info p {
        font-size: 8rem;
    }
}