*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}


h1 {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 12px 0;
	
}

h3 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 10px 0;
}


h1, h2, h3 {
    color: #555;
}





.header {
    position: relative;
    background-image: url("/images/survival.png");  
    background-size: cover;       
    background-position: 0% 14%;  
    background-repeat: no-repeat;

    color: #fff;
    text-align: left;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 160%, 0 84%);
    height: 200px;         
    display: flex;         
    align-items: center;    
    box-shadow: 19px 4px 10px 0px rgba(0,0,0,.5);
    transition: background .3s,border .3s,border-radius .3s,box-shadow .3s;
}

.header::before {
    content: "";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;      
    padding-left: 20px;  
}

.header h1 {
    font-size: 28px;
    margin-bottom: 8px;
	color: white;
}

.header p {
    font-size: 16px;
    margin: 0;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

 
.columns {
    display: flex;
    flex-direction: row;  
    gap: 20px;
}

.column-left {
    width: 80%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.column-left img {
    width: 100%;
}

.column-right {
    width: 300px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	height: fit-content;
}



.column-right h3 {
    background-color: #51a551;
	padding: 14px;
	color: white;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

 

.column-left p {
    color: #555;
    margin-bottom: 16px;
	line-height: 1.6em;
}



.column-left h2,
.column-left h3 {
  margin-top: 40px;
}


.column-left ul {
    line-height: 1.7em;
	color: #555;
}

.column-left ol {
    line-height: 1.7em;
}



.column-right ul {
    list-style: none;
    padding: 0;
	line-height: 30px;
}

.column-right ul li {
    margin-bottom: 8px;
    line-height: 1.3;
    padding: 10px;
    border-bottom: solid 1px #e3e3e3;
}

.column-right ul li a {
    color: green;                    
    text-decoration: none;
    font-weight: normal;
    display: inline-block;           
    transition: transform 0.5s ease, font-weight 0.5s ease;
}

.column-right ul li a:hover {
    text-decoration: underline;       
    transform: scale(1.2);          
}


.footer {
    background: #071c29;
    color: #fff;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-content {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;  
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    font-size: 14px;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    line-height: 30px;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

 
@media (max-width: 1024px) {
    .columns {
        flex-direction: column;  
    }

    .column-left {
	  width: 100%;  
    }	
		
    .column-right {
       display: none;  
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content p {
        margin-bottom: 10px;
    }

    .footer-links {
         
        gap: 10px;
    }
}



@media (max-width: 600px) {
    h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
}
