@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

body {
	color: #fff;
	height: 100%;
	overflow: hidden;
	background: #fafafa;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#root {
	display: flex;
	align-items: center;
	justify-content: center;
    flex-wrap: wrap;
    position: relative;
    height: 100vh;
    width: 100vw;
}
h3 {
    max-width: 100%;
    flex: 0 0 100%;
    text-align: center;
	color: #fff;
	font-size: 50px;
    font-family: "Raleway", sans-serif;
    position: absolute;
    top: 90px;
    z-index: 50;
    margin: 0;
}


.investments, .properties {
    max-width: 50%;
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all ease-in-out 400ms;
}

.properties .background-image, .investments .background-image{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-position: center;
    filter: blur(5px) grayscale(0.3);
    z-index: -1;
    transition: all ease-in-out 400ms;
}

.properties .background-image {
    background-image: url('./assets/img/uruguay-bg.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.investments .background-image {
    background-image: url('./assets/img/arg-bg.jpeg');
    background-size: cover;
}

.investments:hover, .properties:hover {
    background-color: rgba(0, 0, 0, 0);
}

.investments:hover .background-image, .properties:hover .background-image {
    filter: blur(0) grayscale(0);
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border-radius: 10px;
}


.properties .landing-img, .investments .landing-img {
    width: 460px;
    margin-top: 40px;
}

.landing-link {
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #fff;
    background-color: rgba(0, 0, 0, 0.3);
    text-decoration: none;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: "Raleway", sans-serif;
}

.landing-link:hover {
    background-color: #fff;
    color: #000;
    transition: all ease-in-out 200ms;
}

.landing-link i {
    transition: all ease-in-out 200ms;
}

.landing-link:hover i {
    transform: rotate(-45deg);
}

.landing-text-container {
    overflow: hidden;
}

.landing-text {
    font-family: "Raleway", sans-serif;
    margin-bottom: 0px;
    position: relative;
    font-size: 32px;
    text-align: center;
    transform: translateY(80px);
    transition: all ease-in-out 400ms;
    opacity: 0;
    max-width: 80%;
    margin: 0 auto;
    min-height: 160px;
}

.investments:hover .landing-text, .properties:hover .landing-text {
    margin: 30px auto 60px;
    opacity: 1;
    transform: translateY(0);
}

@media(max-width: 992px){
    body {
        overflow: scroll;
    }
    #root {
        height: auto;
        width: 100%;
    }
    h3 {
        position: static;
        background-color: #000;
        padding: 30px 0;
        font-size: 48px;
    }
    .investments, .properties {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 80vh;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .properties .background-image, .investments .background-image {
        filter: blur(0);
    }

    .landing-text {
        font-size: 24px;
    }

    .landing-link {
        font-size: 22px;
        background-color: rgba(0, 0, 0, 0.6);
    }

    .properties .landing-img, .investments .landing-img {
        width: 80%
    }
}

@media(max-width: 768px){
    h3 {
        font-size: 24px
    }
    .landing-text {
        font-size: 18px;
    }

    .landing-link {
        font-size: 16px;
    }
}

