diff --git a/src/sections/Adventures-Callout/discuss.style.js b/src/sections/Adventures-Callout/discuss.style.js
index a543dd9070dc1b..15231d76fa1af3 100644
--- a/src/sections/Adventures-Callout/discuss.style.js
+++ b/src/sections/Adventures-Callout/discuss.style.js
@@ -1,167 +1,157 @@
import styled from "styled-components";
const AdventuresWrapper = styled.div`
- background-color:none;
- padding: 1.5rem 0.625rem 1rem;
- overflow: hidden;
- h2{
- font-weight: 500;
+ background-color: none;
+ padding: 1.5rem 0.625rem 1rem;
+ overflow: hidden;
+ h2 {
+ font-weight: 500;
+ }
+ h2 span {
+ color: ${(props) => props.theme.secondaryColor};
+ }
+ .logo {
+ width: 100%;
+ }
+ .explain {
+ padding-top: 0rem;
+ text-align: center;
+ p {
+ text-align: center;
+ color: ${(props) => props.theme.white};
+ padding: 0px 3.125rem;
}
- h2 span{
- color:${(props) => props.theme.secondaryColor};
+ h2 {
+ color: ${(props) => props.theme.white};
+ line-height: 1.2;
}
- .logo{
- width: 100%;
+ h1 {
+ padding: 1.25rem 0px;
}
- .explain {
- padding-top: 0rem;
- text-align: center;
- p {
- text-align: center;
- color: ${(props) => props.theme.white};
- padding: 0px 3.125rem;
+ .cards {
+ margin: 0.15rem auto 0;
+ max-width: 50rem;
+ padding: 1.5rem 2rem 0rem 2rem;
+ background-color: none;
+ border-radius: 25px;
+ .card {
+ height: 20rem;
+ max-width: 100%;
+ -webkit-transition: 450ms all;
+ transition: 450ms all;
+ margin: auto;
+ padding: 1.25rem;
+ background-color: #1e2117;
+ border-radius: 25px;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ p {
+ text-align: center;
+ padding: 0px 0px 1px 0px;
+ letter-spacing: 0;
+ font-size: 16px;
}
h2 {
- color: ${(props) => props.theme.white};
- line-height: 1.2;
+ text-align: center;
+ font-size: 28px;
+ text-transform: uppercase;
+ clear: both;
+ margin-bottom: 0rem;
+ margin-top: 1rem;
}
- h1 {
- padding: 1.25rem 0px;
+ &:hover,
+ &:focus:not(:focus-visible) {
+ outline: none;
}
- .cards {
- margin: 0.15rem auto 0 ;
- max-width: 50rem;
- padding: 1.5rem 2rem 0rem 2rem;
- background-color: none;
- border-radius: 25px;
- .card {
- -webkit-transition: 450ms all;
- transition: 450ms all;
- margin: auto;
- padding: 1.25rem;
- background-color: #1E2117;
- border-radius: 25px;
- overflow: hidden;
- p {
- text-align: center;
- padding: 0px 0px 1px 0px;
- letter-spacing: 0;
- font-size: 16px;
- }
- h2 {
- text-align: center;
- font-size: 28px;
- text-transform:uppercase;
- clear: both;
- margin-bottom: 0rem;
- margin-top: 1rem;
- }
- &:hover,
- &:focus:not(:focus-visible) {
- outline: none;
- }
- &:hover{
- transform: translateY(0.03rem);
- box-shadow: 0 2px 10px #00d3a9;
- }
- }
- }
+ &:hover {
+ transform: translateY(0.03rem);
+ box-shadow: 0 2px 10px #00d3a9;
}
+ }
}
+ }
- button{
- color: #1E2117;
- padding: 0;
- border: 0;
- background: none;
- transition: color 0.25s,border-color 0.25s,transform 0.25s,box-shadow 0.25s;
- cursor: pointer;
+ @media only screen and (min-width: 768px) {
+ @media only screen and (min-width: 1211px) {
+ .explain {
+ .cards {
+ padding: 0;
+ .card {
+ height: 20rem;
+ width: 23.8rem;
+ }
+ }
+ }
}
- @media only screen and (min-width: 768px){
- @media only screen and (min-width: 1211px){
- .explain {
- .cards {
- padding: 0;
- .card {
- height:20rem;
- width: 23.8rem;
- }
- }
- }
+ @media only screen and (max-width: 1211px) {
+ .explain {
+ .cards {
+ padding: 0;
+ h2 {
+ font-size: 25px;
+ line-height: 35px;
+ }
+ p {
+ font-size: 15px;
+ }
+ .card {
+ width: 23rem;
+ height: 20rem;
+ }
}
- @media only screen and (max-width: 1211px){
- .explain {
- .cards {
- padding: 0;
- h2 {
- font-size: 25px;
- line-height: 35px;
- }
- p {
- font-size: 15px
- }
- .card{
- width:23rem;
- height:20rem;
- }
- }
- }
+ }
+ }
+ @media only screen and (max-width: 992px) {
+ .explain {
+ .cards {
+ padding: 0;
+ .card {
+ h2 {
+ font-size: 22px;
+ line-height: 32px;
}
- }
-
- @media only screen and (max-width: 992px){
-
- .explain {
- .cards {
- padding: 0;
- .card {
- h2 {
- font-size: 22px;
- line-height: 32px;
- }
- p {
- font-size: 13px;
- line-height: 23px;
- }
- width:18rem;
- height:18rem;
- }
- }
- button {
- padding: 0;
- }
+ p {
+ font-size: 13px;
+ line-height: 23px;
}
+ width: 18rem;
+ height: 18rem;
+ }
}
+ }
}
- @media only screen and (max-width: 450px){
- .explain {
- .cards {
- padding: 1rem 1rem 1rem 1rem;
- .card {
- padding: 0.5rem;
- h2 {
- font-size: 25px;
- }
- p{
- font-size: 15px;
- }
- }
- }
+ }
+ @media only screen and (max-width: 450px) {
+ .explain {
+ .cards {
+ padding: 1rem 1rem 1rem 1rem;
+ .card {
+ padding: 0.5rem;
+ h2 {
+ font-size: 25px;
+ }
+ p {
+ font-size: 15px;
+ }
}
+ }
}
- @media only screen and (max-width: 375px){
- .explain {
- .cards {
- padding: 1rem .5rem 1rem .5rem;
- h2 {
- font-size: 22px;
- }
- p{
- font-size: 13px;
- }
- }
+ }
+ @media only screen and (max-width: 375px) {
+ .explain {
+ .cards {
+ padding: 1rem 0.5rem 1rem 0.5rem;
+ h2 {
+ font-size: 22px;
}
- }
+ p {
+ font-size: 13px;
+ }
+ }
+ }
+ }
`;
export default AdventuresWrapper;
diff --git a/src/sections/Adventures-Callout/index.js b/src/sections/Adventures-Callout/index.js
index df195b9779e72a..7afcbfed2a4169 100644
--- a/src/sections/Adventures-Callout/index.js
+++ b/src/sections/Adventures-Callout/index.js
@@ -11,7 +11,7 @@ const AdventuresCallout = () => {