body {
background: #fcf6e5;
}
#find-hero {
padding: 227px 0 200px;
background-image: url(//tamatanga.com/wp-content/uploads/2024/01/locations-hero.png);
background-position: bottom center;
background-repeat: no-repeat;
background-size: cover;
}
.locations-tab .text p {
font-size: 1.8em;
font-weight: 400;
}
.find-hero {
text-align: center;
}
.find-hero h1 {
font-size: 5rem;
margin: 0;
height: fit-content;
line-height: 1;
color: #fffcf4;
}
.find-navs {
text-align: center;
}
.find-navs .location-nav:not(:last-of-type) {
margin-right: 50px;
}
.location-nav {
position: relative;
transition: none;
}
.location-nav {
color: #f39200;
}
.location-nav .mask {
background: #fcf6e5;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
height: auto;
width: auto;
}
.location-nav.active {
color: #fffcf4;
}
.location-nav.active .mask {
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
background-size: cover;
background-image: url(//tamatanga.com/wp-content/uploads/2023/09/nav-active-bg-2.png);
}
.location-nav .mask-border {
background: #f39200;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
-webkit-mask-image: url(//tamatanga.com/wp-content/uploads/2023/09/send-mask-1.png);
mask-image: url(//tamatanga.com/wp-content/uploads/2023/09/send-mask-1.png);
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
mask-size: 100% 100%;
-webkit-mask-size: 100% 100%;
z-index: -2;
}
.location-nav::after {
content: "";
position: absolute;
bottom: 100%;
left: 75%;
transform: rotate(-3deg);
transform-origin: bottom left;
pointer-events: none;
width: 75px;
height: 30px;
background-image: url(//tamatanga.com/wp-content/uploads/2023/10/ay-up.png);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
opacity: 0%;
transition: 0.5s ease-in-out;
}
.location-nav.leeds::after {
}
.location-nav.birmingham::after {
}
.location-nav.active::after {
opacity: 100%;
}
#find-tabs {
padding-bottom: 200px;
margin-top: 75px;
position: relative;
}
.locations-tab .image .fussy {
padding: 50px;
background-image: url(//tamatanga.com/wp-content/uploads/2023/09/rock-02-teal.png);
background-size: contain;
background-position: center;
background-repeat: no-repeat;
z-index: 10;
position: relative;
width: fit-content;
position: absolute;
right: 5%;
top: 0;
}
#find-tabs > .left-image {
position: absolute;
bottom: 0;
left: 0;
width: 20%;
}
.find-tabs {
display: grid;
grid-template-columns: 1fr;
}
.locations-tab {
align-items: flex-start;
justify-content: space-between;
display: flex;
grid-row-start: 1;
grid-column-start: 1;
transition: 0.1s ease-in-out;
opacity: 0%;
pointer-events: none;
position: relative;
}
.locations-tab > .bg {
width: 90%;
position: absolute;
top: 0;
right: 0;
transform: scale(0);
transform-origin: bottom left;
transition: 1s ease-in-out;
z-index: -1;
}
.locations-tab.active > .bg {
transform: scale(1);
}
.locations-tab.active {
transition: 0.1s ease-in-out;
background-size: 90%;
opacity: 100%;
pointer-events: all;
}
.locations-tab .text {
width: 30%;
display: inline;
transform: translateY(200px);
opacity: 0%;
transition: 0.5s ease-in-out;
}
.locations-tab.active .text {
transform: translateY(0px);
opacity: 100%;
}
.locations-tab .text .buttons {
display: flex;
align-items: center;
transform: translateY(50px);
transition: 0.5s 0.25s ease-in-out;
}
.locations-tab.active .text .buttons {
transform: translateY(0px);
}
.locations-tab .text .buttons a:first-of-type {
margin-right: 25px;
}
.locations-tab .image {
width: calc(70% - 100px);
display: inline;
transform: scale(0);
transform-origin: bottom right;
transition: 1s ease-in-out;
position: relative;
}
.locations-tab .image .btn-orange {
position: absolute;
bottom: 75px;
left: 25%;
transform: rotate(4deg);
}
.locations-tab.active .image {
transform: scale(1);
}
.locations-tab .image > img {
max-width: 100%;
} @media screen and (max-width: 1900px) {
#find-tabs > .fussy {
right: 10%;
}
} @media screen and (max-width: 1200px) {
#find-tabs > .fussy > img {
max-width: 100px;
}
#find-tabs > .fussy {
padding: 35px;
}
}
@media screen and (max-width: 1112px) {
} @media screen and (max-width: 992px) {
.locations-tab .image .btn-orange {
bottom: 0px;
left: 10%;
}
.locations-tab .text .buttons {
display: block;
}
.locations-tab .text .buttons a:first-of-type {
margin-right: 0;
margin-bottom: 20px;
display: block;
}
#find-tabs > .left-image {
width: 25%;
}
.locations-tab.active > .bg {
display: none;
}
.locations-tab .text {
width: 50%;
padding-right: 25px;
}
.locations-tab .image {
width: 50%;
}
.locations-tab .image .fussy {
display: none;
}
} @media screen and (max-width: 768px) {
} @media screen and (max-width: 767px) {
.find-navs .location-nav {
width: 80%;
margin: 0 auto;
margin-bottom: 25px;
}
.find-navs {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.locations-tab .image {
width: 100%;
display: block;
margin-top: 20px;
}
.locations-tab {
display: block;
}
.find-tabs {
background-position: bottom right;
}
.locations-tab .text {
width: 60%;
display: block;
}
.find-navs .location-nav:not(:last-of-type) {
margin-right: auto;
}
#find-tabs {
margin-top: 25px;
}
.locations-tab .image .btn-orange {
left: 35%;
transform: translateX(-50%) rotate(4deg);
}
#find-tabs > .left-image {
width: 45%;
}
.locations-tab .text .buttons {
display: flex;
gap: 20px;
}
.locations-tab .text .buttons a:first-of-type {
margin-bottom: 0;
}
}
@media screen and (max-width: 576px) {
#find-hero {
padding: 175px 0 100px;
}
.find-hero h1 {
font-size: 4rem;
}
.locations-tab .text {
width: 100%;
}
#find-tabs > .fussy {
top: 20%;
}
} @media screen and (max-width: 375px) {
.find-hero h1 {
font-size: 3.5rem;
}
.find-navs .location-nav {
font-size: 1.5rem;
}
#find-tabs > .fussy {
right: 0;
}
.locations-tab .image .btn-orange {
white-space: nowrap;
}
.location-nav::after {
bottom: 90%;
left: 40%;
width: 60px;
height: 24px;
}
#find-tabs > .fussy {
top: 25%;
}
#find-tabs > .fussy > img {
max-width: 80px;
}
}