/* @import url('https://fonts.googleapis.com/css2?family=Spectral:wght@700&display=swap'); */
@import url("https://fonts.googleapis.com/css?family=Audiowide");
@import url("https://fonts.googleapis.com/css?family=Sofia");
html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    height: 100vh;
    overflow-x: hidden;
    width: 100vw;
    background-color: lightgoldenrodyellow;
}
.container{
    height: 100%;
    width: 100%;
    display: flex;
}
.Man{
    height: 100%;
    width: 50%;
    background: url("https://images.pexels.com/photos/12557666/pexels-photo-12557666.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease-in-out;
}
.Man .x{
    font-size: 3rem;
    color: ghostwhite;
    text-shadow: 2px 2px 2px #000;
    position: relative;
    /* text-shadow: 2px 3px 3px #000; */
    font-family: "Audiowide", sans-serif;
    font-weight: bolder;
    top: 0;
    left: 94.5%;
}
.Man:hover{
    transform: translateY(-5px);
}
/* .Man span{
    display: block;
    align-items: center;
    align-content: center;
    font-size: 3rem;
    color: honeydew;
} */
.text{
    height: 30%;
    width: 40%;
    font-size: 2rem;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    /* align-items: center;
    align-content: center;
    justify-content: center; */
    text-align: center;
    font-family: 'Spectral';
}
.text h2{
    display: inline-block;
    /* padding: 20px; */
    position: sticky;
}
.text h2 a{
    text-decoration: none;
    /* color: lightslategrey; */
    color: ghostwhite;
    font-weight: bolder;
    font-family: "Audiowide", sans-serif;
    font-size: 2.5rem;
    text-shadow: 1px 1px 1px #000;
    /* text-shadow: 2px 3px 2px ghostwhite; */
}
.Women{
    height: 100%;
    width: 50%;
    /* background: url("https://i.pinimg.com/1200x/29/00/fd/2900fd49408d226005e3a07c23631bc5.jpg"); */
    background: url("https://images.pexels.com/photos/28099405/pexels-photo-28099405.jpeg");
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease-in-out;
}
.Women .y{
    font-size: 3rem;
    color: ghostwhite;
    text-shadow: 2px 2px 2px #000;
    font-weight: bolder;
    /* text-shadow: 2px 3px 3px honeydew; */
    font-family: "Audiowide", sans-serif;
    position: relative;
    top: 0;
    left: 0;
}
.Women:hover{
    transform: translateY(-5px);
}
.w-text{
    height: 30%;
    width: 40%;
    font-size: 2rem;
    color: honeydew;
    text-shadow: 2px 3px 2px #000;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    /* align-items: center;
    align-content: center;
    justify-content: center; */
    text-align: center;
    font-family: 'Spectral', serif;
}
.w-text h2{
    /* padding: 20px; */
    display: inline-block;
}
.w-text h2 a{
    text-decoration: none;
    /* color: rgb(134, 80, 80); */
    color: ghostwhite;
    font-weight: bolder;
    font-family: "Audiowide", sans-serif;
    text-shadow: 2px 2px 2px #000;
    font-size: 2.5rem;
    /* text-shadow: 2px 3px 2px ghostwhite; */
}


@media screen and (max-width: 480px) {
    body{
        height: 100vh;
        width: 100vw;
        overflow-x: auto;
    }
    .container{
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .Man{
        height: 50%;
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        transition: transform 0.5s ease-in-out;
    }
    .Man .x{
        position: relative;
        left: 0;
        margin-bottom: 0;
        text-align: center;
    }
    .text{
        height: 30%;
        width: 40%;
        margin-top: 0;
        font-size: 1.4rem;
        text-align: center;
        margin-top: auto;
        margin-bottom: auto;
    }
    .text p{
        padding: 0;
    }
    .Women{
        height: 50%;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .Women .y{
        position: relative;
        margin-top: 0;
        text-align: center;
    }
    .w-text{
        height: 30%;
        width: 40%;
        font-size: 1.4rem;
    }
    .w-text p{
        padding: 0;
    }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
    body{
        height: 100vh;
        width: 100vw;
        overflow-x: auto;
    }
    .container{
        height: 100%;
        width: 100%;
        display: flex;
    }
    .Man{
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
    }
    .Man .x{
        position: relative;
        left: 0;
        width: 100%;
        text-align: right;
        /* text-align: center; */
    }
    .text{
        height: 30%;
        width: 40%;
        font-size: 2rem;
        text-align: center;
    }
    .text p{
        padding: 0;
    }
    .Women{
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
    }
    .Women .y{
        position: relative;
        left: 0;
        /* text-align: center; */
    }
    .w-text{
        height: 30%;
        width: 40%;
        font-size: 2rem;
        text-align: center;
    }
    .w-text p{
        padding: 0;
    }
}
@media screen and (min-width: 769px)  {
    body{
        height: 100vh;
        width: 100vw;
        overflow-x: auto;
    }
    .container{
        height: 100%;
        width: 100%;
        display: flex;
    }
    .Man{
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
    }
    .Man .x{
        width: 100%;
        position: relative;
        left: 0;
        text-align: right;
    }
    .text{
        height: 30%;
        width: 40%;
        font-size: 2rem;
        text-align: center;
    }
    .text p{
        padding: 0;
    }
    .Women{
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
    }
    .Women .y{
        position: relative;
        left: 0;
        /* text-align: center; */
    }
    .w-text{
        height: 30%;
        width: 40%;
        font-size: 2rem;
        text-align: center;
    }
    .w-text p{
        padding: 0;
    }
}