@font-face {
	font-family: ir;
	src: url("font/Inter-Regular.ttf") format("truetype");
}
@font-face {
	font-family: hb;
	src: url("font/HelveticaNeue\ Bold.ttf") format("truetype");
}
@font-face {
	font-family: hlt;
	src: url("font/Helvetica\ Neue\ LTW0697BlkCnObl.ttf") format("truetype");
}
@font-face {
	font-family: rm;
	src: url("font/Roboto-Medium.ttf") format("truetype");
}
@font-face {
	font-family: rr;
	src: url("font/Roboto-Regular.ttf") format("truetype");
}
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #1B1313;
}

::-webkit-scrollbar-thumb {
    background: #0050A0;
}

::-webkit-scrollbar-thumb:hover {
    background: #0050a0be;
}
html, body{
    overflow-x: hidden;
    background-color: #1B1313;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
#head{
    background-color: #0050A0;
    padding-top: 1.2%;
    padding-bottom: .2%;
    padding-left: 1%;
    padding-right: 1%;
}
#mail,#phone{
    display: flex;
    align-items: center;
    text-align: center;
}
#mail{
    justify-content: left;
}
#phone{
    justify-content: right;
}
#mail p,#mail a,#phone p,#phone a{
    text-decoration: none;
    color: white;
    font-family: hb;
}
#mail a:hover,#phone a:hover{
    text-decoration: underline;
}
.navbar{
    background-color: #1B1313;
}
#brandlogoo{
    width: auto;
    height: 100px;
    animation: reduce 1s 3s ease-in-out forwards;
}
@keyframes reduce {
    to {
        height: 85px;
    }
}
.slide-in-top {
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: opacity, transform;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: opacity, transform;
}
.slide-in-right {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: opacity, transform;
}
.slide-in-bottom {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: opacity, transform;
}


.slide-in-animation {
    opacity: 1;
    transform: translateX(0) translateY(0);
}
.navbar-nav{
    margin-left: auto;
}

#atag,#atag-contact-us{
    font-family: ir;
    color: #F7E440;
    transition: .4s;
    font-size: 1.2vw;
    border-radius: 5px;
    padding-top: 2%;
    padding-bottom: 1.2%;
}
#atag:hover,#atag-contact-us{
    background-color: #F7E440;
    color: #1B1313;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#home{
    background-image: url(bg/bg4.png);
	background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 40vw;
    text-align: center;
    padding-left: 10%;
    padding-right: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.container1{
    text-align: left;
}
.container1 h1{
    font-size: 5vw;
    font-weight: 800;
    font-family: hlt;
}
.container1 p{
    font-size: 1.5vw;
    font-weight: 600;
    font-family: hb;
    font-style: italic;
}
#home1{
    background-color: #1B1313;
    padding: 2.5% 5% 2.5% 5%;
}
#home1 h1{
    color: white;
    text-align: center;
    font-size: 3vw;
    font-weight: 700;
    font-family: hb;
}
#form3{
    padding: 5% 3% 5% 3%;
}
#customer,#landlord-agent,#terms{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#customer input,#landlord-agent input{
    width: 100%;
    margin: 1% 0 1% 0;
    background-color: #fbfbfb;
    border: 3px solid #F7E440;
    border-radius: 5px;
}
#product-cover,#payment-details{
    display: flex;
    align-items: top;
    justify-content: end;
    background-color: #0050A0;
    padding: 1% 3% 3% 3%;
    margin-top: 2%;
    border: none;
    border-radius: 20px;
    width: fit-content;
    margin-left: auto;
    color: white;
    height: 100%;
}
#others,#sort_code,#account_no,#price{
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #F7E440;
    color: white;
}
#others:focus,#sort_code:focus,#account_no:focus{
    border: none !important;
}
#product-cover fieldset legend,#payment-details fieldset legend{
    font-size: 2vw;
    text-decoration: underline;
    font-weight: 700;
}
#customer fieldset,#product-cover fieldset,#landlord-agent fieldset,#payment-details fieldset,#terms fieldset{
    display: grid;
    align-items: center;
    justify-content: center;
    padding-bottom: 1%;
}
.container-flex{
    display: flex;
    align-items: center;
    justify-content: start;
    column-gap: 25px;
}
.container-flex2{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 5px;
}
#customer fieldset legend,#landlord-agent fieldset legend,#terms fieldset legend{
    font-size: 3vw;
    color: #F7E440;
    font-family: hlt;
    font-weight: 800;
}
#product-cover label,#product-cover p,#payment-details label{
    font-size: 18px;
    font-weight: 700;
}
#home2{
    background-color: #0050A0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7% 7% 7% 7%;
    border: none;
    border-radius: 35px;
    margin-top: 2.5%;
}
#home2 p{
    font-size: 1.5vw;
    font-weight: 700;
    font-family: hb;
    text-align: left;
}
#sign1,#sign2{
    display: flex;
    align-items: center;
}
#sign1{
    justify-content: flex-start;
}
#sign2{
    justify-content: flex-end;
}
#home2-in{
    display: grid;
    align-items: center;
    justify-content: center;
}
#cont-sign{
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: left;
}

#toggleLandlordButton {
  all: unset;
  width: 100px;
  margin-top: 1%;
  margin-bottom: 2%;
  height: 30px;
  font-size: 16px;
  background: transparent;
  border: none;
  position: relative;
  color: #1B1313;
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#toggleLandlordButton::after,
#toggleLandlordButton::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

#toggleLandlordButton::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: #F7E440;
  border-radius: 10px;
}

#toggleLandlordButton::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

#toggleLandlordButton:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

#toggleLandlordButton:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

#toggleLandlordButton:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}
#home5{
    background-image: url(bg/bg2.png);
	background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 40vw;
    padding-top: 10%;
    padding-left: 6%;
    padding-right: 6%;
    color: white;
    font-family: rr;
}

#contact-part{
    border-bottom: 3px solid white;
    padding-bottom: 5%;
}
#home5 a{
    text-decoration: none;
    color: white;
}
#home5 a:hover{
    color: #1B1313;
}
#landlord-fields{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.7s ease-in-out, opacity 0.7s ease-in-out;
}
#info,#links,#mini-form{
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.info-in{
    display: grid;
    align-items: center;
    justify-content: center;
}
.links-in{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    column-gap: 100px;
}
.index,.details,.mini-form-in{
    display: grid;
    align-items: center;
    justify-content: center;
}
.fflex{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 5px;
}
#name{
    width: 120%;
    background-color: #e6f2ff;
    border: none;
    border-radius: 2px;
}
#email{
    width: 100%;
    background-color: #e6f2ff;
    border: none;
    border-radius: 2px;
}
#message{
    width: 100%;
    margin: 2% 0 2% 0;
    background-color: #e6f2ff;
    border: none;
    resize: none !important;
    border-radius: 2px;
}
#submit{
    width: 100%;
    background-color: #F7E440;
    color: #1B1313;
    border: none;
    padding: 2%;
    border-radius: 2px;
    transition: .4s;
}
#submit:hover{
    background-color: #1B1313;
    color: white;
    transform: scale(.95);
}
#foot{
    text-align: center;
    font-size: 12px;
}
#foot a:hover{
    color: #1B1313;
}
.scroll-to-top {
    position: fixed;
    bottom: 10px;
    right: 20px;    
    z-index: 1000;
    opacity: 0;
    animation: appear 2s 2s forwards;
}  
.scroll-to-top img {
    width: 40px;
    height: 40px;
    transition: .4s;
}
.scroll-to-top img:hover {
    transform: scale(.95);
}
@keyframes appear {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
@media screen and (max-width:992px) {
    #atag,#atag-contact-us{
        padding-left: 2%;
    }
    #home5{
        text-align: center;
    }
    .info-in img{
        margin: auto;
    }
    .links-in{
        display: grid;
        justify-content: center;
        text-align: center;
        row-gap: 50px;
    }
    .fflex{
        display: grid;
        justify-content: center;
        text-align: center;
    }
    #links{
        margin-top: 8%;
        margin-bottom: 5%;
    }
    .fflex img{
        margin: auto;
    }
    #name{
        width: 100%;
        margin-bottom: 2%;
    }
    #head{
        padding-bottom: 0;
        padding-top: 2%;
    }
    #mail,#phone{
        justify-content: center;
    }
    #mail p,#phone p{
        font-size: 14px;
    }
}
@media screen and (max-width:768px) {
    #product-cover,#payment-details{
        padding: 3% 6% 3% 6%;
    }
    #atag,#atag-contact-us,.container1 p,#home2 p{
        font-size: 3.2vw;
    }
    .container1 h1{
        font-size: 6.6vw;
    }
    #product-cover fieldset legend,#payment-details fieldset legend{
        font-size: 5.8vw;
    }
    #home1 h1,#customer fieldset legend,#landlord-agent fieldset legend,#terms fieldset legend{
        font-size: 5.8vw;
    }
    #product-cover label,#product-cover p,#payment-details label{
        font-size: 15px;
    }
    #brandlogoo{
        height: 80px;
    }
    @keyframes reduce {
        to {
            height: 60px;
        }
    }
    .scroll-to-top {
        right: 10px;
    }  
    .scroll-to-top img {
        width: 25px;
        height: 25px;
    }
}
