html,body{
    overflow-x: hidden;
}

body{
    margin: 0;
    padding: 0;
    background-color: #F5F0E1;
    color: black;

}

header{
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    height: 15%;
    display: flex;
    justify-content: space-between;
}


.txt{
    display: flex;
    margin-top: 55px;
    margin-left: 30px;
}


.txt p{
    margin: 0;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 20px;
    color: black;
}

.soulignement_txt hr{
    border: none;
    border-top: 4px solid #FFC13B;
    border-radius: 5%;
    color: #FFC13B;
    height: 5px;
    width: 250px;
    margin-left: 40px;
}

nav{
    float: right;
    text-align: center;
    margin-top: 50px;
    list-style-type: none;
    padding:0;
    display: flex;
    margin-left: 30px;
    margin-right: 30px;
}

nav .btn_nav{
    display: block;
    min-width: 120px;
    height: 20px;
    font-size: 20px;
    color: black;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    padding: 5px;
}

nav .btn_nav:hover{
    padding-bottom: 3px;
	border-color: #FFC13B;
	transition: all 0.3s ease-in-out;
    
}


#dl_btn{
    display: block;
    min-width: 120px;
    height: fit-content;
    font-size: 20px;
    color: #F5F0E1;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
    margin-left: 50px;
    border: 1px solid black;
    background-color: #1E3D59;
    border-radius: 10px;
    padding: 5px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    
}

#dl_btn:hover{
    border: 1px solid #FFC13B;
    background-color: #F5F0E1;
    transition: all 0.3s ease-in-out;
    color: black;
}

.corp{
    width: 90%;
    height: 85%;
    max-height: max-content;
    background-image : linear-gradient(to right, #1E3D59 40%, #F5F0E1 250px);
    background-size : 100% 100%;
    text-align: center;
    display: flex;
    justify-content:space-around;
}

.card {
    width: 23%;
    height: 450px;
    background-color: #1F507C;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    box-shadow: -8px 3px 20px #080808;
    margin-top: 8%;
}

.card:first-child{
    margin-left: 10%;
}


.card:hover {
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    
}

.card:hover img{
    -webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.card:hover p{
    /**font-size: 25px;
    transition: all 0.3s ease-in-out; **/
    -webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.card img{
    width: 300px;
    height: 212px;
    margin-top: 15%;
    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.top {
    width: 100%;
    height: 70%;
}

.bottom{
    width: 100%;
    height: 30%;
    display:inline-block;
    margin: auto;
}

.card p{
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin-top: 3px;
    margin-bottom: 3px;
    vertical-align: bottom;
    color: black;
    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.bottom a{
    text-decoration: none;
    color: black;
}

@media only screen and (max-width: 1600px) and (max-height: 900px){

    .card img{
        width: 250px;
        height: 162px;
    }

    .top{
        height: 50%
    }

    .card:hover {
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        
    }

    .card{
        height: 400px;
    }

    .card p:first-child{
        margin-top: 30px;
    }
}


@media only screen and (max-width: 1600px) and (max-height: 1200px){
    .card {
        width: 25%;
    }

}

@media only screen and (max-width: 1280px) and (max-height: 960px){
    .card img{
        width: 230px;
        height: 150px;
    }

    .top{
        height: 60%;
    }

    .card {
        height: 350px;
    }
}

@media only screen and (max-width: 1440px) and (max-height: 900px){
    
}

@media only screen and (max-width: 1280px) and (max-height: 1024px){
    .card img{
        width: 200px;
        height: 120px;
    }

    .top{
        height: 60%;
    }

    .card {
        height: 350px;
    }
    
}

@media only screen and (max-width: 1366px) and (max-height: 768px){
    
    
}

@media only screen and (max-width: 1280px) and (max-height: 800px){
    
    .top{
        height: 50%;
    }

    .card{
        height: 400px;
    }
    
}

@media only screen and (max-width: 1024px) and (max-height: 768px){
  
    
}

@media only screen and (max-width: 1442px){
    .txt p{
        font-size: 15px;
    }
    
    nav .btn_nav{
        font-size: 15px;
    }
}

@media only screen and (max-width: 1287px){
    
    #dl_btn{
        font-size: 15px;
    }

    nav{
        margin-left: 0;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 1228px){
    
    .txt p{
        font-size: 12px;
    }

    nav .btn_nav{
        font-size: 12px;
    }

    #dl_btn{
        font-size: 12px;
    }
}

@media only screen and (max-width: 1143px){
    
    nav .btn_nav{
        padding-left: 0;
        padding-right: 0;
    }

}

@media only screen and (max-width: 1103px){
    
    .txt p:first-child{
        margin: 0;
    }

    .txt p:last-child{
        margin: 0;
    }
}

@media only screen and (max-width: 1280px) {
    .card{
        height: 400px;
    }

    .top{
        height: 50%;
    }
}

@media only screen and (max-width: 1072px) {
    .top{
        height: 40%;
    }

    .card{
        height: 350px;
    }
}

