*,::after,::before{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
}
:root{
--soft-range: hsl(35, 77%, 62%); 
--soft-red: hsl(5, 85%, 63%);
--Off-white: hsl(36, 100%, 99%);
--Grayish-blue: hsl(233, 8%, 79%);
--Dark-grayish-blue: hsl(236, 13%, 42%);
--Very-dark-blue: hsl(240, 100%, 5%);
}
@media (min-width:50em){
body{
    background-color: var(--Off-white);
    font-family: 'Inter', sans-serif;
    padding-inline: 10vw;
    padding-block:5vw;
}
.navbar-container{
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding-bottom:3vw;
}

h1{
    font-family: 'Times New Roman', Times, serif;
    font-size: 4vw;
    font-weight:bolder;
}
.nav-links{
    padding-inline:1vw;
    color: var(--Dark-grayish-blue)
}
.nav-links:hover{
color: var(--soft-red);
cursor: pointer;
}
.grid-container{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 2vw;
    grid-row-gap: 2vw;
    height:100vh;
}
.img-container{
width:53vw;
height:min-content;
grid-area: 1 / 1 / 2 / 3;
}
.right-column{
width:25vw;
height:37vw;
grid-area: 1 / 3 / 3 / 4;
background-color: var(--Very-dark-blue);

}
.bottom-left-col{
font-size:2.5vw;
grid-area: 2 / 1 / 3 / 2;
height:min-content;
}
.bottom-right-col{
grid-area: 2 / 2 / 3 / 3;
height: min-content;
}

.main-img{
   width:100%;
   height:100%;
}
.right-col-p{
    margin: 0px;
    line-height:1.3;
    padding-bottom:1.5vw;
    font-size: 1.3vw;
}
button{
    background-color: var(--soft-red);
    color: var(--Off-white);
    width:13vw;
    height:3vw;
    border:0px;
    font-size: 1vw;
}
.column-para{
    padding-inline: 1.4vw;
    font-size:1.2vw;
}
button:hover{
    background-color:var(--Very-dark-blue);
    cursor:pointer;
}
h3{
    font-size:2.5vw;
    margin:1.5vw 0px 1.5vw 1.5vw;
    color: var(--soft-range);
}
h4{
    font-size: 1.4vw;
    margin: 1.5vw 0px 1.2vw 1.5vw;
    color: var(--Off-white);
}
h4:hover{
    color:var(--soft-range);
    cursor: pointer;
}
h5{
color: var(--Grayish-blue);
font-size: 1.4vw;
margin-bottom:0.5vw;
}
h6{
font-size:1.4vw;
padding-bottom:0.7vw;
}
h6:hover{
    color:var(--soft-red);
    cursor: pointer;
}
p{
    color: var(--Dark-grayish-blue);
}
hr{
    margin-block: 2.5vw;
    margin-inline: 1vw;
    border:1px solid var(--Dark-grayish-blue)
}
.bottom-wrapper{
    grid-area: 3/1/4/4;
    display:flex;
    justify-content: center;
    gap: 2vw;
}
.small-img{
    width:8vw;
    height:10vw;
}
.bottom-cont{
    display:flex;
    gap:1vw;
}
.bottom-para{
    font-size:1.1vw;
}

}


@media (max-width:50em){
    body {
            background-color: var(--Off-white);
            font-family: 'Inter', sans-serif;
        }
    
        .navbar-container {
            display: flex;
            justify-content:space-between;
            align-items: center;
            margin-top: 5vw;
            margin-bottom: 2vw;  
        }
    
        h1 {
            margin-left: 3vw;
            font-family: 'Times New Roman', Times, serif;
            font-size: 48px;
            font-weight: bolder;
        }
        .container-btn {
            display: inline-block;
            cursor: pointer;
            margin-right:3vw;
            z-index:2;
        }
                .bar1,
                .bar2,
                .bar3 {
                    width: 35px;
                    height: 5px;
                    background-color: #333;
                    margin: 6px 0;
                    transition: 0.4s;
                }
        
                .change.bar1 {
                    transform: translate(0, 11px) rotate(-45deg);
                }
        
                .change.bar2 {
                    opacity: 0;
                }
        
                .change.bar3 {
                    transform: translate(0, -11px) rotate(45deg);
                }
        .sidebar{
            position:fixed;
            top:0;
            right:0;
            width:70%;
            height:100%;
            background-color: var(--Off-white);
            transform: translate(100%);
        }
        .space-links{
            margin-top:9rem;
        }
        .show{
            transform: translate(0);
        }
        .nav-links {
            color: var(--Dark-grayish-blue);
            display:block;
            margin-top:20px;
            margin-left: 20px;
            margin-bottom:28px; 
        }
        .nav-links:hover {
            color: var(--soft-red);
            cursor: pointer;
        }
    
        .grid-container {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: repeat(7, 1fr);
            grid-column-gap: 0px;
            grid-row-gap:4vw;
            grid-template-rows: 1fr min-content;
            margin-left:3vw;
            margin-right:3vw;
        }
    
        .img-container {
            grid-area: 1 / 1 / 1 / 2;
        }
    
        .right-column {
            grid-area: 4 / 1 / 4 / 2;
            background-color: var(--Very-dark-blue);
        }
    
        .bottom-left-col {
            font-size: 36px;
            grid-area: 2 / 1 / 2 / 2;
        }
    
        .bottom-right-col {
            grid-area: 3 / 1 / 3 / 2;
        }
    
        .bottom-left {
            grid-area: 5 / 1 / 5 / 2;
        }
    
        .bottom-center {
            grid-area: 6 / 1 / 6 / 2;
        }
    
        .bottom-right {
            grid-area: 7 / 1 / 7 / 2;
        }
    
        .main-img {
            width: 100%;
            height: 100%;
        }
    
        .right-col-p {
            margin: 0px;
            margin-bottom:4vw;
        }
    
        button {
            background-color: var(--soft-red);
            color: var(--Off-white);
            width: 12em;
            height: 3em;
            border: 0px;
            margin-bottom:4vw;
        }
    
        button:hover {
            background-color: var(--Very-dark-blue);
            cursor: pointer;
        }
    
        h3 {
            font-size: 40px;
            margin: 35px 0px 35px 25px;
            color: var(--soft-range);
        }
    
        h4 {
            font-size: 22px;
            margin: 35px 0px 20px 25px;
            color: var(--Off-white);
        }
    
        h4:hover {
            color: var(--soft-range);
            cursor: pointer;
        }
    
        h5 {
            color: var(--Grayish-blue);
            font-size: 26px;
            margin-bottom: 13px;
        }
    
        h6 {
            font-size: 15px;
            margin-bottom: 13px;
        }
    
        h6:hover {
            color: var(--soft-red);
            cursor: pointer;
        }
    
        p {
            margin: 0px 10px 35px 25px;
            color: var(--Dark-grayish-blue);
        }
    
        hr {
            margin: 35px 25px 35px 25px;
            border: 1px solid var(--Dark-grayish-blue)
        }
    
        img {
            width: 25%;
            float: left;
            margin-right: 15px;
        }
    
    }